blob: d40188fc58b4a4e464ec938c5053c3f13a534eb3 [file] [log] [blame]
Misha Brukman8e33fed2004-05-12 18:00:48 +00001<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
John Criswellf531f312003-10-27 18:18:16 +00003<html>
Misha Brukmanad3e28c2004-04-06 04:22:43 +00004<head>
Chris Lattner0fc190f2004-07-09 05:05:39 +00005 <title>Documentation for the LLVM System</title>
Misha Brukman8e33fed2004-05-12 18:00:48 +00006 <link rel="stylesheet" href="llvm.css" type="text/css">
Misha Brukmanad3e28c2004-04-06 04:22:43 +00007</head>
John Criswellf531f312003-10-27 18:18:16 +00008<body>
9
Chris Lattner0fc190f2004-07-09 05:05:39 +000010<div class="doc_title">Documentation for the LLVM System</div>
John Criswellf531f312003-10-27 18:18:16 +000011
Misha Brukman8e33fed2004-05-12 18:00:48 +000012<div class="doc_text">
Chris Lattnerc5ad1ca2005-04-23 15:55:18 +000013<table class="layout" width="95%"><tr class="layout"><td class="left">
Misha Brukman8e33fed2004-05-12 18:00:48 +000014<ul>
Chris Lattnerfcc76882004-08-02 21:29:20 +000015 <li><a href="#llvmdesign">LLVM Design</a></li>
Reid Spencer99dedf42006-09-17 23:05:15 +000016 <li><a href="/pubs/">LLVM Publications</a></li>
Chris Lattnerfcc76882004-08-02 21:29:20 +000017 <li><a href="#userguide">LLVM User Guides</a></li>
18 <li><a href="#llvmprog">General LLVM Programming Documentation</a></li>
19 <li><a href="#subsystems">LLVM Subsystem Documentation</a></li>
Chris Lattner07414cb2004-08-02 21:32:08 +000020 <li><a href="#maillist">LLVM Mailing Lists</a></li>
Misha Brukman8e33fed2004-05-12 18:00:48 +000021</ul>
Chris Lattnerc5ad1ca2005-04-23 15:55:18 +000022</td><td class="right">
23 <form action="http://www.google.com/search" method=get>
Reid Spencerca058542006-03-14 05:39:39 +000024 <input type="hidden" name="sitesearch" value="llvm.org/docs">
Chris Lattnerc5ad1ca2005-04-23 15:55:18 +000025 <input type=text name=q size=25><br>
26 <input type=submit value="Search the LLVM Docs" name="submit">
Chris Lattnerfdfb25a2005-04-23 17:27:36 +000027 </form>
Chris Lattnerc5ad1ca2005-04-23 15:55:18 +000028</td></tr></table>
Misha Brukman8e33fed2004-05-12 18:00:48 +000029</div>
John Criswellf531f312003-10-27 18:18:16 +000030
Chris Lattnere1972b12004-08-02 21:33:45 +000031<div class="doc_author">
Reid Spencerca058542006-03-14 05:39:39 +000032 <p>Written by <a href="http://llvm.org">The LLVM Team</a></p>
Chris Lattnere1972b12004-08-02 21:33:45 +000033</div>
34
Chris Lattnerfcc76882004-08-02 21:29:20 +000035<!--=======================================================================-->
Chris Lattner4c65c0e2006-06-20 20:54:47 +000036<div class="doc_section"><a name="llvmdesign">LLVM Design &amp; Overview</a></div>
Chris Lattnerfcc76882004-08-02 21:29:20 +000037<!--=======================================================================-->
Misha Brukmanad3e28c2004-04-06 04:22:43 +000038
Misha Brukman8e33fed2004-05-12 18:00:48 +000039<ul>
Chris Lattner4c65c0e2006-06-20 20:54:47 +000040<li><a href="LangRef.html">LLVM Language Reference Manual</a> - Defines the LLVM
41intermediate representation.</li>
Chris Lattner9fa620e2006-06-20 20:56:03 +000042<li><a href="http://llvm.org/pubs/2006-04-25-GelatoLLVMIntro.html">Introduction to the LLVM Compiler Infrastructure</a> - Presentation describing LLVM.</li>
43<li><a href="http://llvm.org/pubs/2004-09-22-LCPCLLVMTutorial.html">The LLVM Compiler Framework and
44Infrastructure Tutorial</a> - Tutorial for writing passes, exploring the system.</li>
45<li><a href="http://llvm.org/pubs/2004-01-30-CGO-LLVM.html">LLVM: A Compilation Framework for
46Lifelong Program Analysis &amp; Transformation</a> - Design overview.</li>
47<li><a href="http://llvm.org/pubs/2002-12-LattnerMSThesis.html">LLVM: An Infrastructure for
48Multi-Stage Optimization</a> - More details (somewhat old now).</li>
Reid Spencere473e412006-11-13 08:03:59 +000049<li><a href="GetElementPtr.html">GetElementPtr FAQ</a> - Answers to some very
50frequent questions about LLVM's most frequently misunderstood instruction.</li>
John Criswellac8b8c52006-06-20 18:21:31 +000051</ul>
52
53<!--=======================================================================-->
Chris Lattnerfcc76882004-08-02 21:29:20 +000054<div class="doc_section"><a name="userguide">LLVM User Guides</a></div>
55<!--=======================================================================-->
Misha Brukman8e33fed2004-05-12 18:00:48 +000056
Misha Brukman8e33fed2004-05-12 18:00:48 +000057<ul>
Chris Lattnerfcc76882004-08-02 21:29:20 +000058<li><a href="GettingStarted.html">The LLVM Getting Started Guide</a> -
59Discusses how to get up and running quickly with the LLVM infrastructure.
60Everything from unpacking and compilation of the distribution to execution of
61some tools.</li>
62
Jeff Cohenc04c0db2005-02-01 15:59:28 +000063<li><a href="GettingStartedVS.html">Getting Started with the LLVM System using
64Microsoft Visual Studio</a> - An addendum to the main Getting Started guide for
65those using Visual Studio on Windows.</li>
66
Chris Lattnerda043b62007-11-09 19:24:54 +000067<li><a href="tutorial/">LLVM Tutorial</a> - A walk through the process of using
Nick Lewycky70248c92007-11-09 05:45:51 +000068LLVM for a custom language, and the facilities LLVM offers in tutorial form.</li>
Reid Spencerd35e3642007-02-13 09:08:27 +000069<li><a href="DeveloperPolicy.html">Developer Policy</a> - The LLVM project's
70policy towards developers and their contributions.</li>
71
Reid Spencerade052e52007-08-05 23:43:44 +000072<li><a href="/docs/CommandGuide/index.html">LLVM Command Guide</a> - A reference
Reid Spencer9df63b42004-11-01 21:57:35 +000073manual for the LLVM command line utilities ("man" pages for LLVM tools).<br/>
74Current tools:
Reid Spencerade052e52007-08-05 23:43:44 +000075 <a href="/cmds/llvm-ar.html">llvm-ar</a>,
76 <a href="/cmds/llvm-as.html">llvm-as</a>,
77 <a href="/cmds/llvm-dis.html">llvm-dis</a>,
78 <a href="/cmds/llvm-extract.html">llvm-extract</a>,
79 <a href="/cmds/llvm-ld.html">llvm-ld</a>,
80 <a href="/cmds/llvm-link.html">llvm-link</a>,
81 <a href="/cmds/llvm-nm.html">llvm-nm</a>,
82 <a href="/cmds/llvm-prof.html">llvm-prof</a>,
83 <a href="/cmds/llvm-ranlib.html">llvm-ranlib</a>,
84 <a href="/cmds/opt.html">opt</a>,
85 <a href="/cmds/llc.html">llc</a>,
86 <a href="/cmds/lli.html">lli</a>,
87 <a href="/cmds/llvmc.html">llvmc</a>
88 <a href="/cmds/llvmgcc.html">llvm-gcc</a>,
89 <a href="/cmds/llvmgxx.html">llvm-g++</a>,
90 <a href="/cmds/stkrc.html">stkrc</a>,
91 <a href="/cmds/bugpoint.html">bugpoint</a>,
92 <a href="/cmds/llvm-bcanalyzer.html">llvm-bcanalyzer</a>,
Reid Spencer9df63b42004-11-01 21:57:35 +000093</li>
Chris Lattnerfcc76882004-08-02 21:29:20 +000094
Tanya Lattnera863cca2008-03-24 18:29:32 +000095<li><a href="Passes.html">LLVM's Analysis and Transform Passes</a> - A list of
96optimizations and analyses implemented in LLVM.</li>
97
Chris Lattner07414cb2004-08-02 21:32:08 +000098<li><a href="FAQ.html">Frequently Asked Questions</a> - A list of common
99questions and problems and their solutions.</li>
100
Chris Lattnerfcc76882004-08-02 21:29:20 +0000101<li><a href="ReleaseNotes.html">Release notes for the current release</a>
102- This describes new features, known bugs, and other limitations.</li>
103
104<li><a href="HowToSubmitABug.html">How to Submit A Bug Report</a> -
105Instructions for properly submitting information about any bugs you run into in
106the LLVM system.</li>
107
Matthijs Kooijmana5d95542008-07-02 13:54:58 +0000108<li><a href="TestingGuide.html">LLVM Testing Infrastructure Guide</a> - A reference
109manual for using the LLVM testing infrastructure.</li>
Chris Lattnerfcc76882004-08-02 21:29:20 +0000110
Duncan Sands8aace1f2008-12-10 10:50:58 +0000111<li><a href="GCCFEBuildInstrs.html">How to build the Ada/C/C++/Fortran front-ends</a> -
112Instructions for building gcc front-ends from source.</li>
Chris Lattner07414cb2004-08-02 21:32:08 +0000113
Chris Lattner85927a62004-09-19 23:15:47 +0000114<li><a href="Lexicon.html">The LLVM Lexicon</a> - Definition of acronyms, terms
115and concepts used in LLVM.</li>
116
Chris Lattnerbaf2b6e2004-08-02 21:37:11 +0000117<li><a name="irc">You can probably find help on the unofficial LLVM IRC
118channel</a>. We often are on irc.oftc.net in the #llvm channel. If you are
Misha Brukmana196c682004-09-06 20:58:44 +0000119using the mozilla browser, and have chatzilla installed, you can <a
120href="irc://irc.oftc.net/llvm">join #llvm on irc.oftc.net</a> directly.</li>
Chris Lattner07414cb2004-08-02 21:32:08 +0000121
Misha Brukman8e33fed2004-05-12 18:00:48 +0000122</ul>
Misha Brukman8e33fed2004-05-12 18:00:48 +0000123
Misha Brukman8e33fed2004-05-12 18:00:48 +0000124
Chris Lattnerfcc76882004-08-02 21:29:20 +0000125<!--=======================================================================-->
126<div class="doc_section"><a name="llvmprog">General LLVM Programming Documentation</a></div>
127<!--=======================================================================-->
Misha Brukman8e33fed2004-05-12 18:00:48 +0000128
Chris Lattnerfcc76882004-08-02 21:29:20 +0000129<ul>
Chris Lattner4c65c0e2006-06-20 20:54:47 +0000130<li><a href="LangRef.html">LLVM Language Reference Manual</a> - Defines the LLVM
131intermediate representation and the assembly form of the different nodes.</li>
132
Chris Lattnerfcc76882004-08-02 21:29:20 +0000133<li><a href="ProgrammersManual.html">The LLVM Programmers Manual</a> -
134Introduction to the general layout of the LLVM sourcebase, important classes
135and APIs, and some tips &amp; tricks.</li>
John Criswellf531f312003-10-27 18:18:16 +0000136
Chris Lattnerfcc76882004-08-02 21:29:20 +0000137<li><a href="Projects.html">LLVM Project Guide</a> - How-to guide and
138templates for new projects that <em>use</em> the LLVM infrastructure. The
139templates (directory organization, Makefiles, and test tree) allow the project
140code to be located outside (or inside) the <tt>llvm/</tt> tree, while using LLVM
141header files and libraries.</li>
John Criswellf531f312003-10-27 18:18:16 +0000142
Chris Lattner024627b2004-10-25 19:39:46 +0000143<li><a href="MakefileGuide.html">LLVM Makefile Guide</a> - Describes how the
144LLVM makefiles work and how to use them.</li>
145
Chris Lattnerfcc76882004-08-02 21:29:20 +0000146<li><a href="CommandLine.html">CommandLine library Reference Manual</a> -
147Provides information on using the command line parsing library.</li>
John Criswellf531f312003-10-27 18:18:16 +0000148
Chris Lattner024627b2004-10-25 19:39:46 +0000149<li><a href="CodingStandards.html">LLVM Coding standards</a> -
Chris Lattnerfcc76882004-08-02 21:29:20 +0000150Details the LLVM coding standards and provides useful information on writing
151efficient C++ code.</li>
Misha Brukman8e33fed2004-05-12 18:00:48 +0000152
Chris Lattnerfcc76882004-08-02 21:29:20 +0000153<li><a href="ExtendingLLVM.html">Extending LLVM</a> - Look here to see how
154to add instructions and intrinsics to LLVM.</li>
Misha Brukman8e33fed2004-05-12 18:00:48 +0000155
Reid Spencer0b40fdb2004-10-31 23:02:38 +0000156<li><a href="UsingLibraries.html">Using LLVM Libraries</a> - Look here to
157understand how to use the libraries produced when LLVM is compiled.</li>
158
Reid Spencer7c5df342006-03-23 06:53:38 +0000159<li><a href="HowToReleaseLLVM.html">How To Release LLVM To The Public</a> - This
160is a guide to preparing LLVM releases. Most developers can ignore it.</li>
161
Reid Spencerca058542006-03-14 05:39:39 +0000162<li><a href="http://llvm.org/doxygen/">Doxygen generated
Misha Brukman9976d342004-12-03 23:26:23 +0000163documentation</a> (<a
Reid Spencerca058542006-03-14 05:39:39 +0000164href="http://llvm.org/doxygen/inherits.html">classes</a>)
Chris Lattnerb2d8f042005-11-30 06:35:34 +0000165
Reid Spencerca058542006-03-14 05:39:39 +0000166(<a href="http://llvm.org/doxygen/doxygen.tar.gz">tarball</a>)
Chris Lattnerb2d8f042005-11-30 06:35:34 +0000167</li>
Misha Brukman8e33fed2004-05-12 18:00:48 +0000168
Reid Spencerc7f87f22007-07-09 08:04:31 +0000169<li><a href="http://llvm.org/viewvc/">ViewVC Repository Browser</a></li>
John Criswellf531f312003-10-27 18:18:16 +0000170
Chris Lattnerfcc76882004-08-02 21:29:20 +0000171</ul>
172
173<!--=======================================================================-->
174<div class="doc_section"><a name="subsystems">LLVM Subsystem Documentation</a></div>
175<!--=======================================================================-->
176
177<ul>
178
179<li><a href="WritingAnLLVMPass.html">Writing an LLVM Pass</a> - Information
180on how to write LLVM transformations and analyses.</li>
181
Misha Brukmana0194212004-09-06 23:00:01 +0000182<li><a href="WritingAnLLVMBackend.html">Writing an LLVM Backend</a> - Information
183on how to write LLVM backends for machine targets.</li>
184
Chris Lattnerfcc76882004-08-02 21:29:20 +0000185<li><a href="CodeGenerator.html">The LLVM Target-Independent Code
186Generator</a> - The design and implementation of the LLVM code generator.
187Useful if you are working on retargetting LLVM to a new architecture, designing
188a new codegen pass, or enhancing existing components.</li>
189
190<li><a href="TableGenFundamentals.html">TableGen Fundamentals</a> -
191Describes the TableGen tool, which is used heavily by the LLVM code
192generator.</li>
193
194<li><a href="AliasAnalysis.html">Alias Analysis in LLVM</a> - Information
195on how to write a new alias analysis implementation or how to use existing
196analyses.</li>
197
Chris Lattnerfcc76882004-08-02 21:29:20 +0000198<li><a href="GarbageCollection.html">Accurate Garbage Collection with
199LLVM</a> - The interfaces source-language compilers should use for compiling
200GC'd programs.</li>
201
202<li><a href="SourceLevelDebugging.html">Source Level Debugging with
203LLVM</a> - This document describes the design and philosophy behind the LLVM
204source-level debugger.</li>
205
Chris Lattner79c2c382007-05-13 23:38:44 +0000206<li><a href="ExceptionHandling.html">Zero Cost Exception handling in LLVM</a>
207- This document describes the design and implementation of exception handling
208in LLVM.</li>
209
Misha Brukmana9ade832005-01-07 17:00:44 +0000210<li><a href="Bugpoint.html">Bugpoint</a> - automatic bug finder and test-case
Misha Brukmanf4315372004-12-09 20:26:53 +0000211reducer description and usage information.</li>
Chris Lattnerfcc76882004-08-02 21:29:20 +0000212
Reid Spencercde8a13a2004-08-17 08:01:57 +0000213<li><a href="CompilerDriver.html">Compiler Driver (llvmc)</a> - This document
214describes the design and configuration of the LLVM compiler driver tool,
215<tt>llvmc</tt>.</li>
216
Chris Lattner8afd2f32008-07-13 21:27:36 +0000217<li><a href="BitCodeFormat.html">LLVM Bitcode File Format</a> - This describes
218the file format and encoding used for LLVM "bc" files.</li>
Chris Lattner4c65c0e2006-06-20 20:54:47 +0000219
Reid Spencer1d183c42005-01-05 19:01:20 +0000220<li><a href="SystemLibrary.html">System Library</a> - This document describes
221the LLVM System Library (<tt>lib/System</tt>) and how to keep LLVM source code
222portable</li>
223
Devang Patelb1ebbee2006-08-14 18:21:53 +0000224<li><a href="LinkTimeOptimization.html">Link Time Optimization</a> - This
225document describes the interface between LLVM intermodular optimizer and
226the linker and its design</li>
227
Chris Lattnerfcc76882004-08-02 21:29:20 +0000228</ul>
229
Reid Spencer7c5df342006-03-23 06:53:38 +0000230
Chris Lattnerfcc76882004-08-02 21:29:20 +0000231<!--=======================================================================-->
Chris Lattner07414cb2004-08-02 21:32:08 +0000232<div class="doc_section"><a name="maillist">LLVM Mailing Lists</a></div>
Chris Lattnerfcc76882004-08-02 21:29:20 +0000233<!--=======================================================================-->
234
235<ul>
Duncan Sandsd85a1662008-11-12 10:10:25 +0000236<li>The <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-announce">
Chris Lattnerfcc76882004-08-02 21:29:20 +0000237LLVM Announcements List</a>: This is a low volume list that provides important
238announcements regarding LLVM. It gets email about once a month.</li>
239
Duncan Sandsd85a1662008-11-12 10:10:25 +0000240<li>The <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">Developer's
Chris Lattnerfcc76882004-08-02 21:29:20 +0000241List</a>: This list is for people who want to be included in technical
242discussions of LLVM. People post to this list when they have questions about
243writing code for or using the LLVM tools. It is relatively low volume.</li>
244
Duncan Sandsd85a1662008-11-12 10:10:25 +0000245<li>The <a href="http://lists.cs.uiuc.edu/pipermail/llvmbugs/">Bugs &amp;
Chris Lattnerfcc76882004-08-02 21:29:20 +0000246Patches Archive</a>: This list gets emailed every time a bug is opened and
247closed, and when people submit patches to be included in LLVM. It is higher
248volume than the LLVMdev list.</li>
249
Duncan Sandsd85a1662008-11-12 10:10:25 +0000250<li>The <a href="http://lists.cs.uiuc.edu/pipermail/llvm-commits/">Commits
Chris Lattnerfcc76882004-08-02 21:29:20 +0000251Archive</a>: This list contains all commit messages that are made when LLVM
Reid Spencerc7f87f22007-07-09 08:04:31 +0000252developers commit code changes to the repository. It is useful for those who
Chris Lattnerfcc76882004-08-02 21:29:20 +0000253want to stay on the bleeding edge of LLVM development. This list is very high
254volume.</li>
255
Duncan Sandsd85a1662008-11-12 10:10:25 +0000256<li>The <a href="http://lists.cs.uiuc.edu/pipermail/llvm-testresults/">
Chris Lattner47b8bb02006-02-23 16:18:29 +0000257Test Results Archive</a>: A message is automatically sent to this list by every
Chris Lattner411f0df2006-02-23 16:14:22 +0000258active nightly tester when it completes. As such, this list gets email several
259times each day, making it a high volume list.</li>
260
Chris Lattnerfcc76882004-08-02 21:29:20 +0000261</ul>
John Criswellf531f312003-10-27 18:18:16 +0000262
Misha Brukman8e33fed2004-05-12 18:00:48 +0000263<!-- *********************************************************************** -->
John Criswellf531f312003-10-27 18:18:16 +0000264
265<hr>
Misha Brukman8e33fed2004-05-12 18:00:48 +0000266<address>
267 <a href="http://jigsaw.w3.org/css-validator/check/referer"><img
Misha Brukman86242e12008-12-11 17:34:48 +0000268 src="http://jigsaw.w3.org/css-validator/images/vcss-blue" alt="Valid CSS"></a>
Misha Brukman8e33fed2004-05-12 18:00:48 +0000269 <a href="http://validator.w3.org/check/referer"><img
Misha Brukman86242e12008-12-11 17:34:48 +0000270 src="http://www.w3.org/Icons/valid-html401-blue" alt="Valid HTML 4.01"></a>
John Criswellf531f312003-10-27 18:18:16 +0000271
Reid Spencerca058542006-03-14 05:39:39 +0000272 <a href="http://llvm.org">LLVM Compiler Infrastructure</a><br>
Misha Brukman8e33fed2004-05-12 18:00:48 +0000273 Last modified: $Date$
274</address>
Reid Spencer0b67f662007-07-01 17:02:22 +0000275</body></html>
Chris Lattner12477732007-09-21 17:30:40 +0000276