blob: 220df1566bd5dcb6e07d75b0fe684b8c354978fd [file] [log] [blame]
Daniel Dunbarfbb80412012-04-19 16:31:37 +00001Overview
2========
3
4.. warning::
5
6 If you are using a released version of LLVM, see `the download page
7 <http://llvm.org/releases/>`_ to find your documentation.
8
9The LLVM compiler infrastructure supports a wide range of projects, from
10industrial strength compilers to specialized JIT applications to small
11research projects.
12
13Similarly, documentation is broken down into several high-level groupings
Benjamin Kramerbde91762012-06-02 10:20:22 +000014targeted at different audiences:
Daniel Dunbarfbb80412012-04-19 16:31:37 +000015
Sean Silva12159ff2013-01-20 02:19:36 +000016LLVM Design & Overview
17======================
Daniel Dunbarfbb80412012-04-19 16:31:37 +000018
Sean Silva12159ff2013-01-20 02:19:36 +000019Several introductory papers and presentations.
Daniel Dunbarfbb80412012-04-19 16:31:37 +000020
21.. toctree::
Sean Silva12159ff2013-01-20 02:19:36 +000022 :hidden:
Daniel Dunbarfbb80412012-04-19 16:31:37 +000023
Sean Silva12159ff2013-01-20 02:19:36 +000024 LangRef
Sean Silva12159ff2013-01-20 02:19:36 +000025
Sean Silva9d0eb942013-01-20 02:19:42 +000026:doc:`LangRef`
Sean Silva12159ff2013-01-20 02:19:36 +000027 Defines the LLVM intermediate representation.
28
Sean Silva9d0eb942013-01-20 02:19:42 +000029`Introduction to the LLVM Compiler`__
Sean Silva12159ff2013-01-20 02:19:36 +000030 Presentation providing a users introduction to LLVM.
31
Sean Silva9d0eb942013-01-20 02:19:42 +000032 .. __: http://llvm.org/pubs/2008-10-04-ACAT-LLVM-Intro.html
Sean Silva12159ff2013-01-20 02:19:36 +000033
Sean Silva9d0eb942013-01-20 02:19:42 +000034`Intro to LLVM`__
Sean Silva12159ff2013-01-20 02:19:36 +000035 Book chapter providing a compiler hacker's introduction to LLVM.
36
Sean Silva9d0eb942013-01-20 02:19:42 +000037 .. __: http://www.aosabook.org/en/llvm.html
Sean Silva12159ff2013-01-20 02:19:36 +000038
Sean Silva9d0eb942013-01-20 02:19:42 +000039
40`LLVM: A Compilation Framework for Lifelong Program Analysis & Transformation`__
Sean Silva12159ff2013-01-20 02:19:36 +000041 Design overview.
42
Sean Silva9d0eb942013-01-20 02:19:42 +000043 .. __: http://llvm.org/pubs/2004-01-30-CGO-LLVM.html
Sean Silva12159ff2013-01-20 02:19:36 +000044
Sean Silva9d0eb942013-01-20 02:19:42 +000045`LLVM: An Infrastructure for Multi-Stage Optimization`__
Sean Silva12159ff2013-01-20 02:19:36 +000046 More details (quite old now).
47
Sean Silva9d0eb942013-01-20 02:19:42 +000048 .. __: http://llvm.org/pubs/2002-12-LattnerMSThesis.html
Sean Silva12159ff2013-01-20 02:19:36 +000049
Sean Silva9d0eb942013-01-20 02:19:42 +000050`Publications mentioning LLVM <http://llvm.org/pubs>`_
51 ..
Sean Silva12159ff2013-01-20 02:19:36 +000052
53User Guides
54===========
55
56For those new to the LLVM system.
57
58NOTE: If you are a user who is only interested in using LLVM-based
59compilers, you should look into `Clang <http://clang.llvm.org>`_ or
60`DragonEgg <http://dragonegg.llvm.org>`_ instead. The documentation here is
61intended for users who have a need to work with the intermediate LLVM
62representation.
63
64.. toctree::
65 :hidden:
66
67 CMake
Chris Bieneman9debb982016-04-29 20:34:54 +000068 CMakePrimer
Chris Bienemanebb1dd92016-03-18 21:57:51 +000069 AdvancedBuilds
Sean Silva12159ff2013-01-20 02:19:36 +000070 HowToBuildOnARM
Renato Golind24899b2013-09-08 20:44:48 +000071 HowToCrossCompileLLVM
Sean Silva12159ff2013-01-20 02:19:36 +000072 CommandGuide/index
Sean Silva12159ff2013-01-20 02:19:36 +000073 GettingStarted
74 GettingStartedVS
75 FAQ
76 Lexicon
Sean Silva12159ff2013-01-20 02:19:36 +000077 HowToAddABuilder
78 yaml2obj
79 HowToSubmitABug
80 SphinxQuickstartTemplate
81 Phabricator
82 TestingGuide
83 tutorial/index
84 ReleaseNotes
85 Passes
86 YamlIO
Sean Silva163b5c42013-03-30 15:32:50 +000087 GetElementPtr
Philip Reamesf8bf9dd2015-02-27 23:14:50 +000088 Frontend/PerformanceTips
Sean Silva3f93a612013-09-09 19:09:00 +000089 MCJITDesignAndImplementation
Chandler Carruth36293432016-06-30 20:27:54 +000090 CodeOfConduct
Jingyue Wu4f2a6cb2015-11-10 22:35:47 +000091 CompileCudaWithLLVM
Chandler Carruth36293432016-06-30 20:27:54 +000092 ReportingGuide
Rafael Espindola50a17392017-05-24 16:39:12 +000093 Benchmarking
Sean Silva12159ff2013-01-20 02:19:36 +000094
Sean Silva9d0eb942013-01-20 02:19:42 +000095:doc:`GettingStarted`
Sean Silva12159ff2013-01-20 02:19:36 +000096 Discusses how to get up and running quickly with the LLVM infrastructure.
97 Everything from unpacking and compilation of the distribution to execution
98 of some tools.
99
Sean Silva9d0eb942013-01-20 02:19:42 +0000100:doc:`CMake`
Sean Silva12159ff2013-01-20 02:19:36 +0000101 An addendum to the main Getting Started guide for those using the `CMake
102 build system <http://www.cmake.org>`_.
103
Sean Silva9d0eb942013-01-20 02:19:42 +0000104:doc:`HowToBuildOnARM`
Sean Silva12159ff2013-01-20 02:19:36 +0000105 Notes on building and testing LLVM/Clang on ARM.
106
Renato Golind24899b2013-09-08 20:44:48 +0000107:doc:`HowToCrossCompileLLVM`
108 Notes on cross-building and testing LLVM/Clang.
109
Sean Silva9d0eb942013-01-20 02:19:42 +0000110:doc:`GettingStartedVS`
Sean Silva12159ff2013-01-20 02:19:36 +0000111 An addendum to the main Getting Started guide for those using Visual Studio
112 on Windows.
113
Sean Silva9d0eb942013-01-20 02:19:42 +0000114:doc:`tutorial/index`
Sean Silva12159ff2013-01-20 02:19:36 +0000115 Tutorials about using LLVM. Includes a tutorial about making a custom
116 language with LLVM.
117
Sean Silva9d0eb942013-01-20 02:19:42 +0000118:doc:`LLVM Command Guide <CommandGuide/index>`
Sean Silva12159ff2013-01-20 02:19:36 +0000119 A reference manual for the LLVM command line utilities ("man" pages for LLVM
120 tools).
121
Sean Silva9d0eb942013-01-20 02:19:42 +0000122:doc:`Passes`
Sean Silva12159ff2013-01-20 02:19:36 +0000123 A list of optimizations and analyses implemented in LLVM.
124
Sean Silva9d0eb942013-01-20 02:19:42 +0000125:doc:`FAQ`
Sean Silva12159ff2013-01-20 02:19:36 +0000126 A list of common questions and problems and their solutions.
127
Sean Silva9d0eb942013-01-20 02:19:42 +0000128:doc:`Release notes for the current release <ReleaseNotes>`
Sean Silva12159ff2013-01-20 02:19:36 +0000129 This describes new features, known bugs, and other limitations.
130
Sean Silva9d0eb942013-01-20 02:19:42 +0000131:doc:`HowToSubmitABug`
Sean Silva12159ff2013-01-20 02:19:36 +0000132 Instructions for properly submitting information about any bugs you run into
133 in the LLVM system.
Sean Silva12159ff2013-01-20 02:19:36 +0000134
Sean Silva9d0eb942013-01-20 02:19:42 +0000135:doc:`SphinxQuickstartTemplate`
Sean Silva12159ff2013-01-20 02:19:36 +0000136 A template + tutorial for writing new Sphinx documentation. It is meant
137 to be read in source form.
138
Sean Silva9d0eb942013-01-20 02:19:42 +0000139:doc:`LLVM Testing Infrastructure Guide <TestingGuide>`
Sean Silva12159ff2013-01-20 02:19:36 +0000140 A reference manual for using the LLVM testing infrastructure.
141
Sean Silva9d0eb942013-01-20 02:19:42 +0000142`How to build the C, C++, ObjC, and ObjC++ front end`__
Sean Silva12159ff2013-01-20 02:19:36 +0000143 Instructions for building the clang front-end from source.
144
Sean Silva9d0eb942013-01-20 02:19:42 +0000145 .. __: http://clang.llvm.org/get_started.html
Sean Silva12159ff2013-01-20 02:19:36 +0000146
Sean Silva9d0eb942013-01-20 02:19:42 +0000147:doc:`Lexicon`
Sean Silva12159ff2013-01-20 02:19:36 +0000148 Definition of acronyms, terms and concepts used in LLVM.
149
Sean Silva9d0eb942013-01-20 02:19:42 +0000150:doc:`HowToAddABuilder`
Sean Silva12159ff2013-01-20 02:19:36 +0000151 Instructions for adding new builder to LLVM buildbot master.
152
Sean Silva9d0eb942013-01-20 02:19:42 +0000153:doc:`YamlIO`
Sean Silva12159ff2013-01-20 02:19:36 +0000154 A reference guide for using LLVM's YAML I/O library.
155
Sean Silva163b5c42013-03-30 15:32:50 +0000156:doc:`GetElementPtr`
157 Answers to some very frequent questions about LLVM's most frequently
158 misunderstood instruction.
159
Philip Reamesf8bf9dd2015-02-27 23:14:50 +0000160:doc:`Frontend/PerformanceTips`
161 A collection of tips for frontend authors on how to generate IR
162 which LLVM is able to effectively optimize.
163
164
Sean Silva12159ff2013-01-20 02:19:36 +0000165Programming Documentation
166=========================
167
168For developers of applications which use LLVM as a library.
169
170.. toctree::
171 :hidden:
172
173 Atomics
174 CodingStandards
175 CommandLine
176 CompilerWriterInfo
177 ExtendingLLVM
178 HowToSetUpLLVMStyleRTTI
179 ProgrammersManual
Nico Rieck1da45292013-04-10 23:28:17 +0000180 Extensions
Kostya Serebryany35ce8632015-03-30 23:05:30 +0000181 LibFuzzer
Kostya Serebryany9a293ca2016-06-07 23:13:54 +0000182 ScudoHardenedAllocator
Andrew Kaylor3aeda4f2016-08-26 23:11:48 +0000183 OptBisect
Sean Silva12159ff2013-01-20 02:19:36 +0000184
Sean Silva9d0eb942013-01-20 02:19:42 +0000185:doc:`LLVM Language Reference Manual <LangRef>`
Sean Silva12159ff2013-01-20 02:19:36 +0000186 Defines the LLVM intermediate representation and the assembly form of the
187 different nodes.
188
Sean Silva9d0eb942013-01-20 02:19:42 +0000189:doc:`Atomics`
Sean Silva12159ff2013-01-20 02:19:36 +0000190 Information about LLVM's concurrency model.
191
Sean Silva9d0eb942013-01-20 02:19:42 +0000192:doc:`ProgrammersManual`
Sean Silva12159ff2013-01-20 02:19:36 +0000193 Introduction to the general layout of the LLVM sourcebase, important classes
194 and APIs, and some tips & tricks.
195
Nico Rieck1da45292013-04-10 23:28:17 +0000196:doc:`Extensions`
197 LLVM-specific extensions to tools and formats LLVM seeks compatibility with.
198
Sean Silva9d0eb942013-01-20 02:19:42 +0000199:doc:`CommandLine`
Sean Silva12159ff2013-01-20 02:19:36 +0000200 Provides information on using the command line parsing library.
201
Sean Silva9d0eb942013-01-20 02:19:42 +0000202:doc:`CodingStandards`
Sean Silva12159ff2013-01-20 02:19:36 +0000203 Details the LLVM coding standards and provides useful information on writing
204 efficient C++ code.
205
Sean Silva9d0eb942013-01-20 02:19:42 +0000206:doc:`HowToSetUpLLVMStyleRTTI`
Sean Silva12159ff2013-01-20 02:19:36 +0000207 How to make ``isa<>``, ``dyn_cast<>``, etc. available for clients of your
208 class hierarchy.
209
Sean Silva9d0eb942013-01-20 02:19:42 +0000210:doc:`ExtendingLLVM`
Sean Silva12159ff2013-01-20 02:19:36 +0000211 Look here to see how to add instructions and intrinsics to LLVM.
212
Sean Silva9d0eb942013-01-20 02:19:42 +0000213`Doxygen generated documentation <http://llvm.org/doxygen/>`_
Sean Silva12159ff2013-01-20 02:19:36 +0000214 (`classes <http://llvm.org/doxygen/inherits.html>`_)
215 (`tarball <http://llvm.org/doxygen/doxygen.tar.gz>`_)
216
Peter Collingbourne943d2702015-01-13 18:49:42 +0000217`Documentation for Go bindings <http://godoc.org/llvm.org/llvm/bindings/go/llvm>`_
218
Sean Silva9d0eb942013-01-20 02:19:42 +0000219`ViewVC Repository Browser <http://llvm.org/viewvc/>`_
220 ..
Sean Silva12159ff2013-01-20 02:19:36 +0000221
Sean Silva9d0eb942013-01-20 02:19:42 +0000222:doc:`CompilerWriterInfo`
Sean Silva12159ff2013-01-20 02:19:36 +0000223 A list of helpful links for compiler writers.
224
Kostya Serebryany35ce8632015-03-30 23:05:30 +0000225:doc:`LibFuzzer`
226 A library for writing in-process guided fuzzers.
227
Kostya Serebryany9a293ca2016-06-07 23:13:54 +0000228:doc:`ScudoHardenedAllocator`
229 A library that implements a security-hardened `malloc()`.
230
Andrew Kaylor3aeda4f2016-08-26 23:11:48 +0000231:doc:`OptBisect`
232 A command line option for debugging optimization-induced failures.
233
Sean Silva12159ff2013-01-20 02:19:36 +0000234Subsystem Documentation
235=======================
236
237For API clients and LLVM developers.
238
239.. toctree::
240 :hidden:
241
242 AliasAnalysis
George Burgess IV3bbeb732016-08-17 00:17:29 +0000243 MemorySSA
Sean Silva12159ff2013-01-20 02:19:36 +0000244 BitCodeFormat
Duncan P. N. Exon Smith6e40cec2014-04-11 23:21:07 +0000245 BlockFrequencyTerminology
Sean Silva12159ff2013-01-20 02:19:36 +0000246 BranchWeightMetadata
247 Bugpoint
248 CodeGenerator
249 ExceptionHandling
250 LinkTimeOptimization
251 SegmentedStacks
252 TableGenFundamentals
Renato Golinca105642014-03-20 16:08:34 +0000253 TableGen/index
Sean Silva12159ff2013-01-20 02:19:36 +0000254 DebuggingJITedCode
255 GoldPlugin
256 MarkedUpDisassembly
257 SystemLibrary
258 SourceLevelDebugging
259 Vectorizers
260 WritingAnLLVMBackend
261 GarbageCollection
262 WritingAnLLVMPass
Joe Abbeyba3e9012013-02-12 11:45:22 +0000263 HowToUseAttributes
Justin Holewinski45df8822013-03-30 16:41:14 +0000264 NVPTXUsage
Tom Stellard45bb48e2015-06-13 03:28:10 +0000265 AMDGPUUsage
Andrew Trick5e029ce2013-12-24 02:57:25 +0000266 StackMaps
Sean Silva216f1ee2014-03-02 00:21:42 +0000267 InAlloca
James Molloy3f7878a2014-05-12 15:13:39 +0000268 BigEndianNEON
Alex Lorenz6a128332014-08-19 17:05:58 +0000269 CoverageMappingFormat
Matt Arsenault03f0e832014-12-03 18:35:11 +0000270 Statepoints
Stepan Dyatkovskiyf0c3a342014-12-10 17:42:01 +0000271 MergeFunctions
Peter Collingbourne7efd7502016-06-24 21:21:32 +0000272 TypeMetadata
Sanjoy Das5553bc82015-06-15 19:38:15 +0000273 FaultMaps
Alex Lorenz3d311772015-08-06 22:55:19 +0000274 MIRLangRef
David Majnemera6539272016-07-23 04:05:08 +0000275 Coroutines
Ahmed Bougacha29d9da12016-11-04 17:57:34 +0000276 GlobalISel
Dean Michael Berrisf3da16b2016-11-09 00:24:58 +0000277 XRay
Dean Michael Berris46979b42017-03-31 02:51:19 +0000278 XRayExample
Zachary Turner218ce832016-11-10 19:24:21 +0000279 PDB/index
Sean Silva12159ff2013-01-20 02:19:36 +0000280
Sean Silva9d0eb942013-01-20 02:19:42 +0000281:doc:`WritingAnLLVMPass`
Sean Silva12159ff2013-01-20 02:19:36 +0000282 Information on how to write LLVM transformations and analyses.
283
Sean Silva9d0eb942013-01-20 02:19:42 +0000284:doc:`WritingAnLLVMBackend`
Sean Silva12159ff2013-01-20 02:19:36 +0000285 Information on how to write LLVM backends for machine targets.
286
Sean Silva9d0eb942013-01-20 02:19:42 +0000287:doc:`CodeGenerator`
Sean Silva12159ff2013-01-20 02:19:36 +0000288 The design and implementation of the LLVM code generator. Useful if you are
289 working on retargetting LLVM to a new architecture, designing a new codegen
290 pass, or enhancing existing components.
291
Alex Lorenz3d311772015-08-06 22:55:19 +0000292:doc:`Machine IR (MIR) Format Reference Manual <MIRLangRef>`
293 A reference manual for the MIR serialization format, which is used to test
294 LLVM's code generation passes.
295
Sean Silva0b4df9b2014-04-07 22:42:53 +0000296:doc:`TableGen <TableGen/index>`
Sean Silva12159ff2013-01-20 02:19:36 +0000297 Describes the TableGen tool, which is used heavily by the LLVM code
298 generator.
299
Sean Silva9d0eb942013-01-20 02:19:42 +0000300:doc:`AliasAnalysis`
Sean Silva12159ff2013-01-20 02:19:36 +0000301 Information on how to write a new alias analysis implementation or how to
302 use existing analyses.
303
George Burgess IV3bbeb732016-08-17 00:17:29 +0000304:doc:`MemorySSA`
305 Information about the MemorySSA utility in LLVM, as well as how to use it.
306
Sean Silva9d0eb942013-01-20 02:19:42 +0000307:doc:`GarbageCollection`
Sean Silva12159ff2013-01-20 02:19:36 +0000308 The interfaces source-language compilers should use for compiling GC'd
309 programs.
310
Sean Silva9d0eb942013-01-20 02:19:42 +0000311:doc:`Source Level Debugging with LLVM <SourceLevelDebugging>`
Sean Silva12159ff2013-01-20 02:19:36 +0000312 This document describes the design and philosophy behind the LLVM
313 source-level debugger.
314
Sean Silva9d0eb942013-01-20 02:19:42 +0000315:doc:`Vectorizers`
Sean Silva12159ff2013-01-20 02:19:36 +0000316 This document describes the current status of vectorization in LLVM.
317
Sean Silva9d0eb942013-01-20 02:19:42 +0000318:doc:`ExceptionHandling`
Sean Silva12159ff2013-01-20 02:19:36 +0000319 This document describes the design and implementation of exception handling
320 in LLVM.
321
Sean Silva9d0eb942013-01-20 02:19:42 +0000322:doc:`Bugpoint`
Sean Silva12159ff2013-01-20 02:19:36 +0000323 Automatic bug finder and test-case reducer description and usage
324 information.
325
Sean Silva9d0eb942013-01-20 02:19:42 +0000326:doc:`BitCodeFormat`
Sean Silva12159ff2013-01-20 02:19:36 +0000327 This describes the file format and encoding used for LLVM "bc" files.
328
Sean Silva9d0eb942013-01-20 02:19:42 +0000329:doc:`System Library <SystemLibrary>`
Sean Silva12159ff2013-01-20 02:19:36 +0000330 This document describes the LLVM System Library (``lib/System``) and
331 how to keep LLVM source code portable
332
Sean Silva9d0eb942013-01-20 02:19:42 +0000333:doc:`LinkTimeOptimization`
Sean Silva12159ff2013-01-20 02:19:36 +0000334 This document describes the interface between LLVM intermodular optimizer
335 and the linker and its design
336
Sean Silva9d0eb942013-01-20 02:19:42 +0000337:doc:`GoldPlugin`
Sean Silva12159ff2013-01-20 02:19:36 +0000338 How to build your programs with link-time optimization on Linux.
339
Sean Silva9d0eb942013-01-20 02:19:42 +0000340:doc:`DebuggingJITedCode`
Sean Silva12159ff2013-01-20 02:19:36 +0000341 How to debug JITed code with GDB.
342
Andrew Kaylor27299c32013-08-21 22:15:09 +0000343:doc:`MCJITDesignAndImplementation`
344 Describes the inner workings of MCJIT execution engine.
345
Sean Silva9d0eb942013-01-20 02:19:42 +0000346:doc:`BranchWeightMetadata`
Sean Silva12159ff2013-01-20 02:19:36 +0000347 Provides information about Branch Prediction Information.
348
Duncan P. N. Exon Smith6e40cec2014-04-11 23:21:07 +0000349:doc:`BlockFrequencyTerminology`
350 Provides information about terminology used in the ``BlockFrequencyInfo``
351 analysis pass.
352
Sean Silva9d0eb942013-01-20 02:19:42 +0000353:doc:`SegmentedStacks`
Sean Silva12159ff2013-01-20 02:19:36 +0000354 This document describes segmented stacks and how they are used in LLVM.
355
Sean Silva9d0eb942013-01-20 02:19:42 +0000356:doc:`MarkedUpDisassembly`
Sean Silva12159ff2013-01-20 02:19:36 +0000357 This document describes the optional rich disassembly output syntax.
358
Joe Abbeyba3e9012013-02-12 11:45:22 +0000359:doc:`HowToUseAttributes`
360 Answers some questions about the new Attributes infrastructure.
Sean Silva12159ff2013-01-20 02:19:36 +0000361
Justin Holewinski45df8822013-03-30 16:41:14 +0000362:doc:`NVPTXUsage`
363 This document describes using the NVPTX back-end to compile GPU kernels.
364
Tom Stellard45bb48e2015-06-13 03:28:10 +0000365:doc:`AMDGPUUsage`
366 This document describes how to use the AMDGPU back-end.
Tom Stellard9d7ddd52014-11-14 14:08:00 +0000367
Andrew Trick5e029ce2013-12-24 02:57:25 +0000368:doc:`StackMaps`
369 LLVM support for mapping instruction addresses to the location of
370 values and allowing code to be patched.
Justin Holewinski45df8822013-03-30 16:41:14 +0000371
James Molloy3f7878a2014-05-12 15:13:39 +0000372:doc:`BigEndianNEON`
373 LLVM's support for generating NEON instructions on big endian ARM targets is
374 somewhat nonintuitive. This document explains the implementation and rationale.
375
Alex Lorenz6a128332014-08-19 17:05:58 +0000376:doc:`CoverageMappingFormat`
377 This describes the format and encoding used for LLVM’s code coverage mapping.
James Molloy3f7878a2014-05-12 15:13:39 +0000378
Matt Arsenault03f0e832014-12-03 18:35:11 +0000379:doc:`Statepoints`
380 This describes a set of experimental extensions for garbage
381 collection support.
382
Stepan Dyatkovskiyf0c3a342014-12-10 17:42:01 +0000383:doc:`MergeFunctions`
384 Describes functions merging optimization.
385
Sean Silvab6472fe2015-02-04 20:51:19 +0000386:doc:`InAlloca`
387 Description of the ``inalloca`` argument attribute.
388
Sanjoy Das5553bc82015-06-15 19:38:15 +0000389:doc:`FaultMaps`
390 LLVM support for folding control flow into faulting machine instructions.
391
Jingyue Wu4f2a6cb2015-11-10 22:35:47 +0000392:doc:`CompileCudaWithLLVM`
393 LLVM support for CUDA.
394
David Majnemera6539272016-07-23 04:05:08 +0000395:doc:`Coroutines`
396 LLVM support for coroutines.
397
Ahmed Bougacha29d9da12016-11-04 17:57:34 +0000398:doc:`GlobalISel`
399 This describes the prototype instruction selection replacement, GlobalISel.
400
Dean Michael Berrisf3da16b2016-11-09 00:24:58 +0000401:doc:`XRay`
402 High-level documentation of how to use XRay in LLVM.
403
Dean Michael Berris38daca62017-03-30 23:46:36 +0000404:doc:`XRayExample`
405 An example of how to debug an application with XRay.
406
Zachary Turner218ce832016-11-10 19:24:21 +0000407:doc:`The Microsoft PDB File Format <PDB/index>`
408 A detailed description of the Microsoft PDB (Program Database) file format.
409
Sean Silva12159ff2013-01-20 02:19:36 +0000410Development Process Documentation
411=================================
412
Sean Silva12159ff2013-01-20 02:19:36 +0000413Information about LLVM's development process.
414
415.. toctree::
416 :hidden:
417
Sean Silva9d205c82013-03-30 15:32:47 +0000418 DeveloperPolicy
Sean Silva12159ff2013-01-20 02:19:36 +0000419 Projects
420 LLVMBuild
421 HowToReleaseLLVM
Sean Silvabdb940f2013-01-28 21:28:10 +0000422 Packaging
Sean Silva3f93a612013-09-09 19:09:00 +0000423 ReleaseProcess
Adrian Prantladc41ca2014-10-03 20:17:32 +0000424 Phabricator
Sean Silva12159ff2013-01-20 02:19:36 +0000425
Sean Silva9d205c82013-03-30 15:32:47 +0000426:doc:`DeveloperPolicy`
427 The LLVM project's policy towards developers and their contributions.
428
Sean Silva9d0eb942013-01-20 02:19:42 +0000429:doc:`Projects`
Sean Silva12159ff2013-01-20 02:19:36 +0000430 How-to guide and templates for new projects that *use* the LLVM
431 infrastructure. The templates (directory organization, Makefiles, and test
432 tree) allow the project code to be located outside (or inside) the ``llvm/``
433 tree, while using LLVM header files and libraries.
434
Sean Silva9d0eb942013-01-20 02:19:42 +0000435:doc:`LLVMBuild`
Sean Silva12159ff2013-01-20 02:19:36 +0000436 Describes the LLVMBuild organization and files used by LLVM to specify
437 component descriptions.
438
Sean Silva9d0eb942013-01-20 02:19:42 +0000439:doc:`HowToReleaseLLVM`
Sean Silva12159ff2013-01-20 02:19:36 +0000440 This is a guide to preparing LLVM releases. Most developers can ignore it.
441
Renato Golinc08f2182013-05-28 10:32:55 +0000442:doc:`ReleaseProcess`
Jyoti Allur223602d2014-09-26 06:59:15 +0000443 This is a guide to validate a new release, during the release process. Most developers can ignore it.
Renato Golinc08f2182013-05-28 10:32:55 +0000444
Sean Silvabdb940f2013-01-28 21:28:10 +0000445:doc:`Packaging`
446 Advice on packaging LLVM into a distribution.
447
Adrian Prantladc41ca2014-10-03 20:17:32 +0000448:doc:`Phabricator`
449 Describes how to use the Phabricator code review tool hosted on
450 http://reviews.llvm.org/ and its command line interface, Arcanist.
451
Sean Silva01299242013-03-30 15:32:51 +0000452Community
453=========
454
455LLVM has a thriving community of friendly and helpful developers.
456The two primary communication mechanisms in the LLVM community are mailing
457lists and IRC.
458
Sean Silva12159ff2013-01-20 02:19:36 +0000459Mailing Lists
Sean Silva01299242013-03-30 15:32:51 +0000460-------------
Sean Silva12159ff2013-01-20 02:19:36 +0000461
462If you can't find what you need in these docs, try consulting the mailing
463lists.
464
Tanya Lattner0d28f802015-08-05 03:51:17 +0000465`Developer's List (llvm-dev)`__
Sean Silva12159ff2013-01-20 02:19:36 +0000466 This list is for people who want to be included in technical discussions of
467 LLVM. People post to this list when they have questions about writing code
468 for or using the LLVM tools. It is relatively low volume.
469
Tanya Lattner0d28f802015-08-05 03:51:17 +0000470 .. __: http://lists.llvm.org/mailman/listinfo/llvm-dev
Sean Silva12159ff2013-01-20 02:19:36 +0000471
Sean Silvaab4997d2013-03-30 15:33:01 +0000472`Commits Archive (llvm-commits)`__
Sean Silva12159ff2013-01-20 02:19:36 +0000473 This list contains all commit messages that are made when LLVM developers
Sean Silva2a746992013-03-30 15:33:02 +0000474 commit code changes to the repository. It also serves as a forum for
475 patch review (i.e. send patches here). It is useful for those who want to
476 stay on the bleeding edge of LLVM development. This list is very high
477 volume.
Sean Silva12159ff2013-01-20 02:19:36 +0000478
Tanya Lattner0d28f802015-08-05 03:51:17 +0000479 .. __: http://lists.llvm.org/pipermail/llvm-commits/
Sean Silva12159ff2013-01-20 02:19:36 +0000480
Tanya Lattner0d28f802015-08-05 03:51:17 +0000481`Bugs & Patches Archive (llvm-bugs)`__
Sean Silva2a746992013-03-30 15:33:02 +0000482 This list gets emailed every time a bug is opened and closed. It is
Tanya Lattner0d28f802015-08-05 03:51:17 +0000483 higher volume than the LLVM-dev list.
Sean Silva84b296c2013-03-30 15:32:54 +0000484
Tanya Lattner0d28f802015-08-05 03:51:17 +0000485 .. __: http://lists.llvm.org/pipermail/llvm-bugs/
Sean Silva84b296c2013-03-30 15:32:54 +0000486
Sean Silvaab4997d2013-03-30 15:33:01 +0000487`Test Results Archive (llvm-testresults)`__
Sean Silva12159ff2013-01-20 02:19:36 +0000488 A message is automatically sent to this list by every active nightly tester
489 when it completes. As such, this list gets email several times each day,
490 making it a high volume list.
491
Tanya Lattner0d28f802015-08-05 03:51:17 +0000492 .. __: http://lists.llvm.org/pipermail/llvm-testresults/
Sean Silva9d0eb942013-01-20 02:19:42 +0000493
Sean Silvaab4997d2013-03-30 15:33:01 +0000494`LLVM Announcements List (llvm-announce)`__
Sean Silva84b296c2013-03-30 15:32:54 +0000495 This is a low volume list that provides important announcements regarding
496 LLVM. It gets email about once a month.
497
Tanya Lattner0d28f802015-08-05 03:51:17 +0000498 .. __: http://lists.llvm.org/mailman/listinfo/llvm-announce
Sean Silva84b296c2013-03-30 15:32:54 +0000499
Sean Silva01299242013-03-30 15:32:51 +0000500IRC
501---
502
503Users and developers of the LLVM project (including subprojects such as Clang)
504can be found in #llvm on `irc.oftc.net <irc://irc.oftc.net/llvm>`_.
505
506This channel has several bots.
507
508* Buildbot reporters
509
510 * llvmbb - Bot for the main LLVM buildbot master.
511 http://lab.llvm.org:8011/console
512 * bb-chapuni - An individually run buildbot master. http://bb.pgr.jp/console
513 * smooshlab - Apple's internal buildbot master.
514
515* robot - Bugzilla linker. %bug <number>
516
517* clang-bot - A `geordi <http://www.eelis.net/geordi/>`_ instance running
518 near-trunk clang instead of gcc.
519
Renato Goline433cf72016-07-20 09:38:04 +0000520Community wide proposals
521------------------------
522
523Proposals for massive changes in how the community behaves and how the work flow
524can be better.
525
526.. toctree::
527 :hidden:
528
529 CodeOfConduct
Mehdi Amini647deb82016-10-12 23:02:02 +0000530 Proposals/GitHubMove
Ayal Zaks4c4baf52017-05-29 15:36:23 +0000531 Proposals/VectorizationPlan
Renato Goline433cf72016-07-20 09:38:04 +0000532
533:doc:`CodeOfConduct`
534 Proposal to adopt a code of conduct on the LLVM social spaces (lists, events,
535 IRC, etc).
536
Mehdi Amini647deb82016-10-12 23:02:02 +0000537:doc:`Proposals/GitHubMove`
Renato Goline433cf72016-07-20 09:38:04 +0000538 Proposal to move from SVN/Git to GitHub.
539
Ayal Zaks4c4baf52017-05-29 15:36:23 +0000540:doc:`Proposals/VectorizationPlan`
541 Proposal to model the process and upgrade the infrastructure of LLVM's Loop Vectorizer.
Sean Silva01299242013-03-30 15:32:51 +0000542
Daniel Dunbarfbb80412012-04-19 16:31:37 +0000543Indices and tables
544==================
545
546* :ref:`genindex`
547* :ref:`search`