blob: 7f3788f95b66769aedc7719c6d205f8ee75a930f [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
Ilya Biryukovaf351da2017-06-30 09:46:45 +000094 Docker
Sean Silva12159ff2013-01-20 02:19:36 +000095
Sean Silva9d0eb942013-01-20 02:19:42 +000096:doc:`GettingStarted`
Sean Silva12159ff2013-01-20 02:19:36 +000097 Discusses how to get up and running quickly with the LLVM infrastructure.
98 Everything from unpacking and compilation of the distribution to execution
99 of some tools.
100
Sean Silva9d0eb942013-01-20 02:19:42 +0000101:doc:`CMake`
Sean Silva12159ff2013-01-20 02:19:36 +0000102 An addendum to the main Getting Started guide for those using the `CMake
103 build system <http://www.cmake.org>`_.
104
Sean Silva9d0eb942013-01-20 02:19:42 +0000105:doc:`HowToBuildOnARM`
Sean Silva12159ff2013-01-20 02:19:36 +0000106 Notes on building and testing LLVM/Clang on ARM.
107
Renato Golind24899b2013-09-08 20:44:48 +0000108:doc:`HowToCrossCompileLLVM`
109 Notes on cross-building and testing LLVM/Clang.
110
Sean Silva9d0eb942013-01-20 02:19:42 +0000111:doc:`GettingStartedVS`
Sean Silva12159ff2013-01-20 02:19:36 +0000112 An addendum to the main Getting Started guide for those using Visual Studio
113 on Windows.
114
Sean Silva9d0eb942013-01-20 02:19:42 +0000115:doc:`tutorial/index`
Sean Silva12159ff2013-01-20 02:19:36 +0000116 Tutorials about using LLVM. Includes a tutorial about making a custom
117 language with LLVM.
118
Sean Silva9d0eb942013-01-20 02:19:42 +0000119:doc:`LLVM Command Guide <CommandGuide/index>`
Sean Silva12159ff2013-01-20 02:19:36 +0000120 A reference manual for the LLVM command line utilities ("man" pages for LLVM
121 tools).
122
Sean Silva9d0eb942013-01-20 02:19:42 +0000123:doc:`Passes`
Sean Silva12159ff2013-01-20 02:19:36 +0000124 A list of optimizations and analyses implemented in LLVM.
125
Sean Silva9d0eb942013-01-20 02:19:42 +0000126:doc:`FAQ`
Sean Silva12159ff2013-01-20 02:19:36 +0000127 A list of common questions and problems and their solutions.
128
Sean Silva9d0eb942013-01-20 02:19:42 +0000129:doc:`Release notes for the current release <ReleaseNotes>`
Sean Silva12159ff2013-01-20 02:19:36 +0000130 This describes new features, known bugs, and other limitations.
131
Sean Silva9d0eb942013-01-20 02:19:42 +0000132:doc:`HowToSubmitABug`
Sean Silva12159ff2013-01-20 02:19:36 +0000133 Instructions for properly submitting information about any bugs you run into
134 in the LLVM system.
Sean Silva12159ff2013-01-20 02:19:36 +0000135
Sean Silva9d0eb942013-01-20 02:19:42 +0000136:doc:`SphinxQuickstartTemplate`
Sean Silva12159ff2013-01-20 02:19:36 +0000137 A template + tutorial for writing new Sphinx documentation. It is meant
138 to be read in source form.
139
Sean Silva9d0eb942013-01-20 02:19:42 +0000140:doc:`LLVM Testing Infrastructure Guide <TestingGuide>`
Sean Silva12159ff2013-01-20 02:19:36 +0000141 A reference manual for using the LLVM testing infrastructure.
142
Sean Silva9d0eb942013-01-20 02:19:42 +0000143`How to build the C, C++, ObjC, and ObjC++ front end`__
Sean Silva12159ff2013-01-20 02:19:36 +0000144 Instructions for building the clang front-end from source.
145
Sean Silva9d0eb942013-01-20 02:19:42 +0000146 .. __: http://clang.llvm.org/get_started.html
Sean Silva12159ff2013-01-20 02:19:36 +0000147
Sean Silva9d0eb942013-01-20 02:19:42 +0000148:doc:`Lexicon`
Sean Silva12159ff2013-01-20 02:19:36 +0000149 Definition of acronyms, terms and concepts used in LLVM.
150
Sean Silva9d0eb942013-01-20 02:19:42 +0000151:doc:`HowToAddABuilder`
Sean Silva12159ff2013-01-20 02:19:36 +0000152 Instructions for adding new builder to LLVM buildbot master.
153
Sean Silva9d0eb942013-01-20 02:19:42 +0000154:doc:`YamlIO`
Sean Silva12159ff2013-01-20 02:19:36 +0000155 A reference guide for using LLVM's YAML I/O library.
156
Sean Silva163b5c42013-03-30 15:32:50 +0000157:doc:`GetElementPtr`
158 Answers to some very frequent questions about LLVM's most frequently
159 misunderstood instruction.
160
Philip Reamesf8bf9dd2015-02-27 23:14:50 +0000161:doc:`Frontend/PerformanceTips`
162 A collection of tips for frontend authors on how to generate IR
163 which LLVM is able to effectively optimize.
164
Ilya Biryukovaf351da2017-06-30 09:46:45 +0000165:doc:`Docker`
166 A reference for using Dockerfiles provided with LLVM.
167
Philip Reamesf8bf9dd2015-02-27 23:14:50 +0000168
Sean Silva12159ff2013-01-20 02:19:36 +0000169Programming Documentation
170=========================
171
172For developers of applications which use LLVM as a library.
173
174.. toctree::
175 :hidden:
176
177 Atomics
178 CodingStandards
179 CommandLine
180 CompilerWriterInfo
181 ExtendingLLVM
182 HowToSetUpLLVMStyleRTTI
183 ProgrammersManual
Nico Rieck1da45292013-04-10 23:28:17 +0000184 Extensions
Kostya Serebryany35ce8632015-03-30 23:05:30 +0000185 LibFuzzer
Kostya Serebryany9a293ca2016-06-07 23:13:54 +0000186 ScudoHardenedAllocator
Andrew Kaylor3aeda4f2016-08-26 23:11:48 +0000187 OptBisect
Sean Silva12159ff2013-01-20 02:19:36 +0000188
Sean Silva9d0eb942013-01-20 02:19:42 +0000189:doc:`LLVM Language Reference Manual <LangRef>`
Sean Silva12159ff2013-01-20 02:19:36 +0000190 Defines the LLVM intermediate representation and the assembly form of the
191 different nodes.
192
Sean Silva9d0eb942013-01-20 02:19:42 +0000193:doc:`Atomics`
Sean Silva12159ff2013-01-20 02:19:36 +0000194 Information about LLVM's concurrency model.
195
Sean Silva9d0eb942013-01-20 02:19:42 +0000196:doc:`ProgrammersManual`
Sean Silva12159ff2013-01-20 02:19:36 +0000197 Introduction to the general layout of the LLVM sourcebase, important classes
198 and APIs, and some tips & tricks.
199
Nico Rieck1da45292013-04-10 23:28:17 +0000200:doc:`Extensions`
201 LLVM-specific extensions to tools and formats LLVM seeks compatibility with.
202
Sean Silva9d0eb942013-01-20 02:19:42 +0000203:doc:`CommandLine`
Sean Silva12159ff2013-01-20 02:19:36 +0000204 Provides information on using the command line parsing library.
205
Sean Silva9d0eb942013-01-20 02:19:42 +0000206:doc:`CodingStandards`
Sean Silva12159ff2013-01-20 02:19:36 +0000207 Details the LLVM coding standards and provides useful information on writing
208 efficient C++ code.
209
Sean Silva9d0eb942013-01-20 02:19:42 +0000210:doc:`HowToSetUpLLVMStyleRTTI`
Sean Silva12159ff2013-01-20 02:19:36 +0000211 How to make ``isa<>``, ``dyn_cast<>``, etc. available for clients of your
212 class hierarchy.
213
Sean Silva9d0eb942013-01-20 02:19:42 +0000214:doc:`ExtendingLLVM`
Sean Silva12159ff2013-01-20 02:19:36 +0000215 Look here to see how to add instructions and intrinsics to LLVM.
216
Sean Silva9d0eb942013-01-20 02:19:42 +0000217`Doxygen generated documentation <http://llvm.org/doxygen/>`_
Sean Silva12159ff2013-01-20 02:19:36 +0000218 (`classes <http://llvm.org/doxygen/inherits.html>`_)
219 (`tarball <http://llvm.org/doxygen/doxygen.tar.gz>`_)
220
Peter Collingbourne943d2702015-01-13 18:49:42 +0000221`Documentation for Go bindings <http://godoc.org/llvm.org/llvm/bindings/go/llvm>`_
222
Sean Silva9d0eb942013-01-20 02:19:42 +0000223`ViewVC Repository Browser <http://llvm.org/viewvc/>`_
224 ..
Sean Silva12159ff2013-01-20 02:19:36 +0000225
Sean Silva9d0eb942013-01-20 02:19:42 +0000226:doc:`CompilerWriterInfo`
Sean Silva12159ff2013-01-20 02:19:36 +0000227 A list of helpful links for compiler writers.
228
Kostya Serebryany35ce8632015-03-30 23:05:30 +0000229:doc:`LibFuzzer`
230 A library for writing in-process guided fuzzers.
231
Kostya Serebryany9a293ca2016-06-07 23:13:54 +0000232:doc:`ScudoHardenedAllocator`
233 A library that implements a security-hardened `malloc()`.
234
Andrew Kaylor3aeda4f2016-08-26 23:11:48 +0000235:doc:`OptBisect`
236 A command line option for debugging optimization-induced failures.
237
Sean Silva12159ff2013-01-20 02:19:36 +0000238Subsystem Documentation
239=======================
240
241For API clients and LLVM developers.
242
243.. toctree::
244 :hidden:
245
246 AliasAnalysis
George Burgess IV3bbeb732016-08-17 00:17:29 +0000247 MemorySSA
Sean Silva12159ff2013-01-20 02:19:36 +0000248 BitCodeFormat
Duncan P. N. Exon Smith6e40cec2014-04-11 23:21:07 +0000249 BlockFrequencyTerminology
Sean Silva12159ff2013-01-20 02:19:36 +0000250 BranchWeightMetadata
251 Bugpoint
252 CodeGenerator
253 ExceptionHandling
254 LinkTimeOptimization
255 SegmentedStacks
256 TableGenFundamentals
Renato Golinca105642014-03-20 16:08:34 +0000257 TableGen/index
Sean Silva12159ff2013-01-20 02:19:36 +0000258 DebuggingJITedCode
259 GoldPlugin
260 MarkedUpDisassembly
261 SystemLibrary
262 SourceLevelDebugging
263 Vectorizers
264 WritingAnLLVMBackend
265 GarbageCollection
266 WritingAnLLVMPass
Joe Abbeyba3e9012013-02-12 11:45:22 +0000267 HowToUseAttributes
Justin Holewinski45df8822013-03-30 16:41:14 +0000268 NVPTXUsage
Tom Stellard45bb48e2015-06-13 03:28:10 +0000269 AMDGPUUsage
Andrew Trick5e029ce2013-12-24 02:57:25 +0000270 StackMaps
Sean Silva216f1ee2014-03-02 00:21:42 +0000271 InAlloca
James Molloy3f7878a2014-05-12 15:13:39 +0000272 BigEndianNEON
Alex Lorenz6a128332014-08-19 17:05:58 +0000273 CoverageMappingFormat
Matt Arsenault03f0e832014-12-03 18:35:11 +0000274 Statepoints
Stepan Dyatkovskiyf0c3a342014-12-10 17:42:01 +0000275 MergeFunctions
Peter Collingbourne7efd7502016-06-24 21:21:32 +0000276 TypeMetadata
Sanjoy Das5553bc82015-06-15 19:38:15 +0000277 FaultMaps
Alex Lorenz3d311772015-08-06 22:55:19 +0000278 MIRLangRef
David Majnemera6539272016-07-23 04:05:08 +0000279 Coroutines
Ahmed Bougacha29d9da12016-11-04 17:57:34 +0000280 GlobalISel
Dean Michael Berrisf3da16b2016-11-09 00:24:58 +0000281 XRay
Dean Michael Berris46979b42017-03-31 02:51:19 +0000282 XRayExample
Zachary Turner218ce832016-11-10 19:24:21 +0000283 PDB/index
Sean Silva12159ff2013-01-20 02:19:36 +0000284
Sean Silva9d0eb942013-01-20 02:19:42 +0000285:doc:`WritingAnLLVMPass`
Sean Silva12159ff2013-01-20 02:19:36 +0000286 Information on how to write LLVM transformations and analyses.
287
Sean Silva9d0eb942013-01-20 02:19:42 +0000288:doc:`WritingAnLLVMBackend`
Sean Silva12159ff2013-01-20 02:19:36 +0000289 Information on how to write LLVM backends for machine targets.
290
Sean Silva9d0eb942013-01-20 02:19:42 +0000291:doc:`CodeGenerator`
Sean Silva12159ff2013-01-20 02:19:36 +0000292 The design and implementation of the LLVM code generator. Useful if you are
293 working on retargetting LLVM to a new architecture, designing a new codegen
294 pass, or enhancing existing components.
295
Alex Lorenz3d311772015-08-06 22:55:19 +0000296:doc:`Machine IR (MIR) Format Reference Manual <MIRLangRef>`
297 A reference manual for the MIR serialization format, which is used to test
298 LLVM's code generation passes.
299
Sean Silva0b4df9b2014-04-07 22:42:53 +0000300:doc:`TableGen <TableGen/index>`
Sean Silva12159ff2013-01-20 02:19:36 +0000301 Describes the TableGen tool, which is used heavily by the LLVM code
302 generator.
303
Sean Silva9d0eb942013-01-20 02:19:42 +0000304:doc:`AliasAnalysis`
Sean Silva12159ff2013-01-20 02:19:36 +0000305 Information on how to write a new alias analysis implementation or how to
306 use existing analyses.
307
George Burgess IV3bbeb732016-08-17 00:17:29 +0000308:doc:`MemorySSA`
309 Information about the MemorySSA utility in LLVM, as well as how to use it.
310
Sean Silva9d0eb942013-01-20 02:19:42 +0000311:doc:`GarbageCollection`
Sean Silva12159ff2013-01-20 02:19:36 +0000312 The interfaces source-language compilers should use for compiling GC'd
313 programs.
314
Sean Silva9d0eb942013-01-20 02:19:42 +0000315:doc:`Source Level Debugging with LLVM <SourceLevelDebugging>`
Sean Silva12159ff2013-01-20 02:19:36 +0000316 This document describes the design and philosophy behind the LLVM
317 source-level debugger.
318
Sean Silva9d0eb942013-01-20 02:19:42 +0000319:doc:`Vectorizers`
Sean Silva12159ff2013-01-20 02:19:36 +0000320 This document describes the current status of vectorization in LLVM.
321
Sean Silva9d0eb942013-01-20 02:19:42 +0000322:doc:`ExceptionHandling`
Sean Silva12159ff2013-01-20 02:19:36 +0000323 This document describes the design and implementation of exception handling
324 in LLVM.
325
Sean Silva9d0eb942013-01-20 02:19:42 +0000326:doc:`Bugpoint`
Sean Silva12159ff2013-01-20 02:19:36 +0000327 Automatic bug finder and test-case reducer description and usage
328 information.
329
Sean Silva9d0eb942013-01-20 02:19:42 +0000330:doc:`BitCodeFormat`
Sean Silva12159ff2013-01-20 02:19:36 +0000331 This describes the file format and encoding used for LLVM "bc" files.
332
Sean Silva9d0eb942013-01-20 02:19:42 +0000333:doc:`System Library <SystemLibrary>`
Sean Silva12159ff2013-01-20 02:19:36 +0000334 This document describes the LLVM System Library (``lib/System``) and
335 how to keep LLVM source code portable
336
Sean Silva9d0eb942013-01-20 02:19:42 +0000337:doc:`LinkTimeOptimization`
Sean Silva12159ff2013-01-20 02:19:36 +0000338 This document describes the interface between LLVM intermodular optimizer
339 and the linker and its design
340
Sean Silva9d0eb942013-01-20 02:19:42 +0000341:doc:`GoldPlugin`
Sean Silva12159ff2013-01-20 02:19:36 +0000342 How to build your programs with link-time optimization on Linux.
343
Sean Silva9d0eb942013-01-20 02:19:42 +0000344:doc:`DebuggingJITedCode`
Sean Silva12159ff2013-01-20 02:19:36 +0000345 How to debug JITed code with GDB.
346
Andrew Kaylor27299c32013-08-21 22:15:09 +0000347:doc:`MCJITDesignAndImplementation`
348 Describes the inner workings of MCJIT execution engine.
349
Sean Silva9d0eb942013-01-20 02:19:42 +0000350:doc:`BranchWeightMetadata`
Sean Silva12159ff2013-01-20 02:19:36 +0000351 Provides information about Branch Prediction Information.
352
Duncan P. N. Exon Smith6e40cec2014-04-11 23:21:07 +0000353:doc:`BlockFrequencyTerminology`
354 Provides information about terminology used in the ``BlockFrequencyInfo``
355 analysis pass.
356
Sean Silva9d0eb942013-01-20 02:19:42 +0000357:doc:`SegmentedStacks`
Sean Silva12159ff2013-01-20 02:19:36 +0000358 This document describes segmented stacks and how they are used in LLVM.
359
Sean Silva9d0eb942013-01-20 02:19:42 +0000360:doc:`MarkedUpDisassembly`
Sean Silva12159ff2013-01-20 02:19:36 +0000361 This document describes the optional rich disassembly output syntax.
362
Joe Abbeyba3e9012013-02-12 11:45:22 +0000363:doc:`HowToUseAttributes`
364 Answers some questions about the new Attributes infrastructure.
Sean Silva12159ff2013-01-20 02:19:36 +0000365
Justin Holewinski45df8822013-03-30 16:41:14 +0000366:doc:`NVPTXUsage`
Tony Tyef16a45e2017-06-06 20:31:59 +0000367 This document describes using the NVPTX backend to compile GPU kernels.
Justin Holewinski45df8822013-03-30 16:41:14 +0000368
Tom Stellard45bb48e2015-06-13 03:28:10 +0000369:doc:`AMDGPUUsage`
Tony Tyef16a45e2017-06-06 20:31:59 +0000370 This document describes using the AMDGPU backend to compile GPU kernels.
Tom Stellard9d7ddd52014-11-14 14:08:00 +0000371
Andrew Trick5e029ce2013-12-24 02:57:25 +0000372:doc:`StackMaps`
373 LLVM support for mapping instruction addresses to the location of
374 values and allowing code to be patched.
Justin Holewinski45df8822013-03-30 16:41:14 +0000375
James Molloy3f7878a2014-05-12 15:13:39 +0000376:doc:`BigEndianNEON`
377 LLVM's support for generating NEON instructions on big endian ARM targets is
378 somewhat nonintuitive. This document explains the implementation and rationale.
379
Alex Lorenz6a128332014-08-19 17:05:58 +0000380:doc:`CoverageMappingFormat`
381 This describes the format and encoding used for LLVM’s code coverage mapping.
James Molloy3f7878a2014-05-12 15:13:39 +0000382
Matt Arsenault03f0e832014-12-03 18:35:11 +0000383:doc:`Statepoints`
384 This describes a set of experimental extensions for garbage
385 collection support.
386
Stepan Dyatkovskiyf0c3a342014-12-10 17:42:01 +0000387:doc:`MergeFunctions`
388 Describes functions merging optimization.
389
Sean Silvab6472fe2015-02-04 20:51:19 +0000390:doc:`InAlloca`
391 Description of the ``inalloca`` argument attribute.
392
Sanjoy Das5553bc82015-06-15 19:38:15 +0000393:doc:`FaultMaps`
394 LLVM support for folding control flow into faulting machine instructions.
395
Jingyue Wu4f2a6cb2015-11-10 22:35:47 +0000396:doc:`CompileCudaWithLLVM`
397 LLVM support for CUDA.
398
David Majnemera6539272016-07-23 04:05:08 +0000399:doc:`Coroutines`
400 LLVM support for coroutines.
401
Ahmed Bougacha29d9da12016-11-04 17:57:34 +0000402:doc:`GlobalISel`
403 This describes the prototype instruction selection replacement, GlobalISel.
404
Dean Michael Berrisf3da16b2016-11-09 00:24:58 +0000405:doc:`XRay`
406 High-level documentation of how to use XRay in LLVM.
407
Dean Michael Berris38daca62017-03-30 23:46:36 +0000408:doc:`XRayExample`
409 An example of how to debug an application with XRay.
410
Zachary Turner218ce832016-11-10 19:24:21 +0000411:doc:`The Microsoft PDB File Format <PDB/index>`
412 A detailed description of the Microsoft PDB (Program Database) file format.
413
Sean Silva12159ff2013-01-20 02:19:36 +0000414Development Process Documentation
415=================================
416
Sean Silva12159ff2013-01-20 02:19:36 +0000417Information about LLVM's development process.
418
419.. toctree::
420 :hidden:
421
Sean Silva9d205c82013-03-30 15:32:47 +0000422 DeveloperPolicy
Sean Silva12159ff2013-01-20 02:19:36 +0000423 Projects
424 LLVMBuild
425 HowToReleaseLLVM
Sean Silvabdb940f2013-01-28 21:28:10 +0000426 Packaging
Sean Silva3f93a612013-09-09 19:09:00 +0000427 ReleaseProcess
Adrian Prantladc41ca2014-10-03 20:17:32 +0000428 Phabricator
Sean Silva12159ff2013-01-20 02:19:36 +0000429
Sean Silva9d205c82013-03-30 15:32:47 +0000430:doc:`DeveloperPolicy`
431 The LLVM project's policy towards developers and their contributions.
432
Sean Silva9d0eb942013-01-20 02:19:42 +0000433:doc:`Projects`
Sean Silva12159ff2013-01-20 02:19:36 +0000434 How-to guide and templates for new projects that *use* the LLVM
435 infrastructure. The templates (directory organization, Makefiles, and test
436 tree) allow the project code to be located outside (or inside) the ``llvm/``
437 tree, while using LLVM header files and libraries.
438
Sean Silva9d0eb942013-01-20 02:19:42 +0000439:doc:`LLVMBuild`
Sean Silva12159ff2013-01-20 02:19:36 +0000440 Describes the LLVMBuild organization and files used by LLVM to specify
441 component descriptions.
442
Sean Silva9d0eb942013-01-20 02:19:42 +0000443:doc:`HowToReleaseLLVM`
Sean Silva12159ff2013-01-20 02:19:36 +0000444 This is a guide to preparing LLVM releases. Most developers can ignore it.
445
Renato Golinc08f2182013-05-28 10:32:55 +0000446:doc:`ReleaseProcess`
Jyoti Allur223602d2014-09-26 06:59:15 +0000447 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 +0000448
Sean Silvabdb940f2013-01-28 21:28:10 +0000449:doc:`Packaging`
450 Advice on packaging LLVM into a distribution.
451
Adrian Prantladc41ca2014-10-03 20:17:32 +0000452:doc:`Phabricator`
453 Describes how to use the Phabricator code review tool hosted on
454 http://reviews.llvm.org/ and its command line interface, Arcanist.
455
Sean Silva01299242013-03-30 15:32:51 +0000456Community
457=========
458
459LLVM has a thriving community of friendly and helpful developers.
460The two primary communication mechanisms in the LLVM community are mailing
461lists and IRC.
462
Sean Silva12159ff2013-01-20 02:19:36 +0000463Mailing Lists
Sean Silva01299242013-03-30 15:32:51 +0000464-------------
Sean Silva12159ff2013-01-20 02:19:36 +0000465
466If you can't find what you need in these docs, try consulting the mailing
467lists.
468
Tanya Lattner0d28f802015-08-05 03:51:17 +0000469`Developer's List (llvm-dev)`__
Sean Silva12159ff2013-01-20 02:19:36 +0000470 This list is for people who want to be included in technical discussions of
471 LLVM. People post to this list when they have questions about writing code
472 for or using the LLVM tools. It is relatively low volume.
473
Tanya Lattner0d28f802015-08-05 03:51:17 +0000474 .. __: http://lists.llvm.org/mailman/listinfo/llvm-dev
Sean Silva12159ff2013-01-20 02:19:36 +0000475
Sean Silvaab4997d2013-03-30 15:33:01 +0000476`Commits Archive (llvm-commits)`__
Sean Silva12159ff2013-01-20 02:19:36 +0000477 This list contains all commit messages that are made when LLVM developers
Sean Silva2a746992013-03-30 15:33:02 +0000478 commit code changes to the repository. It also serves as a forum for
479 patch review (i.e. send patches here). It is useful for those who want to
480 stay on the bleeding edge of LLVM development. This list is very high
481 volume.
Sean Silva12159ff2013-01-20 02:19:36 +0000482
Tanya Lattner0d28f802015-08-05 03:51:17 +0000483 .. __: http://lists.llvm.org/pipermail/llvm-commits/
Sean Silva12159ff2013-01-20 02:19:36 +0000484
Tanya Lattner0d28f802015-08-05 03:51:17 +0000485`Bugs & Patches Archive (llvm-bugs)`__
Sean Silva2a746992013-03-30 15:33:02 +0000486 This list gets emailed every time a bug is opened and closed. It is
Tanya Lattner0d28f802015-08-05 03:51:17 +0000487 higher volume than the LLVM-dev list.
Sean Silva84b296c2013-03-30 15:32:54 +0000488
Tanya Lattner0d28f802015-08-05 03:51:17 +0000489 .. __: http://lists.llvm.org/pipermail/llvm-bugs/
Sean Silva84b296c2013-03-30 15:32:54 +0000490
Sean Silvaab4997d2013-03-30 15:33:01 +0000491`Test Results Archive (llvm-testresults)`__
Sean Silva12159ff2013-01-20 02:19:36 +0000492 A message is automatically sent to this list by every active nightly tester
493 when it completes. As such, this list gets email several times each day,
494 making it a high volume list.
495
Tanya Lattner0d28f802015-08-05 03:51:17 +0000496 .. __: http://lists.llvm.org/pipermail/llvm-testresults/
Sean Silva9d0eb942013-01-20 02:19:42 +0000497
Sean Silvaab4997d2013-03-30 15:33:01 +0000498`LLVM Announcements List (llvm-announce)`__
Sean Silva84b296c2013-03-30 15:32:54 +0000499 This is a low volume list that provides important announcements regarding
500 LLVM. It gets email about once a month.
501
Tanya Lattner0d28f802015-08-05 03:51:17 +0000502 .. __: http://lists.llvm.org/mailman/listinfo/llvm-announce
Sean Silva84b296c2013-03-30 15:32:54 +0000503
Sean Silva01299242013-03-30 15:32:51 +0000504IRC
505---
506
507Users and developers of the LLVM project (including subprojects such as Clang)
508can be found in #llvm on `irc.oftc.net <irc://irc.oftc.net/llvm>`_.
509
510This channel has several bots.
511
512* Buildbot reporters
513
514 * llvmbb - Bot for the main LLVM buildbot master.
515 http://lab.llvm.org:8011/console
516 * bb-chapuni - An individually run buildbot master. http://bb.pgr.jp/console
517 * smooshlab - Apple's internal buildbot master.
518
519* robot - Bugzilla linker. %bug <number>
520
521* clang-bot - A `geordi <http://www.eelis.net/geordi/>`_ instance running
522 near-trunk clang instead of gcc.
523
Renato Goline433cf72016-07-20 09:38:04 +0000524Community wide proposals
525------------------------
526
527Proposals for massive changes in how the community behaves and how the work flow
528can be better.
529
530.. toctree::
531 :hidden:
532
533 CodeOfConduct
Mehdi Amini647deb82016-10-12 23:02:02 +0000534 Proposals/GitHubMove
Ayal Zaks4c4baf52017-05-29 15:36:23 +0000535 Proposals/VectorizationPlan
Renato Goline433cf72016-07-20 09:38:04 +0000536
537:doc:`CodeOfConduct`
538 Proposal to adopt a code of conduct on the LLVM social spaces (lists, events,
539 IRC, etc).
540
Mehdi Amini647deb82016-10-12 23:02:02 +0000541:doc:`Proposals/GitHubMove`
Renato Goline433cf72016-07-20 09:38:04 +0000542 Proposal to move from SVN/Git to GitHub.
543
Ayal Zaks4c4baf52017-05-29 15:36:23 +0000544:doc:`Proposals/VectorizationPlan`
545 Proposal to model the process and upgrade the infrastructure of LLVM's Loop Vectorizer.
Sean Silva01299242013-03-30 15:32:51 +0000546
Daniel Dunbarfbb80412012-04-19 16:31:37 +0000547Indices and tables
548==================
549
550* :ref:`genindex`
551* :ref:`search`