blob: 2173f94459dd4b8ee7ab0302b2bb37633c0d443e [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
Peter Smith7411da52017-11-07 09:40:05 +000071 HowToCrossCompileBuiltinsOnArm
Renato Golind24899b2013-09-08 20:44:48 +000072 HowToCrossCompileLLVM
Sean Silva12159ff2013-01-20 02:19:36 +000073 CommandGuide/index
Sean Silva12159ff2013-01-20 02:19:36 +000074 GettingStarted
75 GettingStartedVS
76 FAQ
77 Lexicon
Sean Silva12159ff2013-01-20 02:19:36 +000078 HowToAddABuilder
79 yaml2obj
80 HowToSubmitABug
81 SphinxQuickstartTemplate
82 Phabricator
83 TestingGuide
84 tutorial/index
85 ReleaseNotes
86 Passes
87 YamlIO
Sean Silva163b5c42013-03-30 15:32:50 +000088 GetElementPtr
Philip Reamesf8bf9dd2015-02-27 23:14:50 +000089 Frontend/PerformanceTips
Sean Silva3f93a612013-09-09 19:09:00 +000090 MCJITDesignAndImplementation
Chandler Carruth36293432016-06-30 20:27:54 +000091 CodeOfConduct
Jingyue Wu4f2a6cb2015-11-10 22:35:47 +000092 CompileCudaWithLLVM
Chandler Carruth36293432016-06-30 20:27:54 +000093 ReportingGuide
Rafael Espindola50a17392017-05-24 16:39:12 +000094 Benchmarking
Ilya Biryukovaf351da2017-06-30 09:46:45 +000095 Docker
Sean Silva12159ff2013-01-20 02:19:36 +000096
Sean Silva9d0eb942013-01-20 02:19:42 +000097:doc:`GettingStarted`
Sean Silva12159ff2013-01-20 02:19:36 +000098 Discusses how to get up and running quickly with the LLVM infrastructure.
99 Everything from unpacking and compilation of the distribution to execution
100 of some tools.
101
Sean Silva9d0eb942013-01-20 02:19:42 +0000102:doc:`CMake`
Sean Silva12159ff2013-01-20 02:19:36 +0000103 An addendum to the main Getting Started guide for those using the `CMake
104 build system <http://www.cmake.org>`_.
105
Sean Silva9d0eb942013-01-20 02:19:42 +0000106:doc:`HowToBuildOnARM`
Sean Silva12159ff2013-01-20 02:19:36 +0000107 Notes on building and testing LLVM/Clang on ARM.
108
Peter Smith7411da52017-11-07 09:40:05 +0000109:doc:`HowToCrossCompileBuiltinsOnArm`
110 Notes on cross-building and testing the compiler-rt builtins for Arm.
111
Renato Golind24899b2013-09-08 20:44:48 +0000112:doc:`HowToCrossCompileLLVM`
113 Notes on cross-building and testing LLVM/Clang.
114
Sean Silva9d0eb942013-01-20 02:19:42 +0000115:doc:`GettingStartedVS`
Sean Silva12159ff2013-01-20 02:19:36 +0000116 An addendum to the main Getting Started guide for those using Visual Studio
117 on Windows.
118
Sean Silva9d0eb942013-01-20 02:19:42 +0000119:doc:`tutorial/index`
Sean Silva12159ff2013-01-20 02:19:36 +0000120 Tutorials about using LLVM. Includes a tutorial about making a custom
121 language with LLVM.
122
Sean Silva9d0eb942013-01-20 02:19:42 +0000123:doc:`LLVM Command Guide <CommandGuide/index>`
Sean Silva12159ff2013-01-20 02:19:36 +0000124 A reference manual for the LLVM command line utilities ("man" pages for LLVM
125 tools).
126
Sean Silva9d0eb942013-01-20 02:19:42 +0000127:doc:`Passes`
Sean Silva12159ff2013-01-20 02:19:36 +0000128 A list of optimizations and analyses implemented in LLVM.
129
Sean Silva9d0eb942013-01-20 02:19:42 +0000130:doc:`FAQ`
Sean Silva12159ff2013-01-20 02:19:36 +0000131 A list of common questions and problems and their solutions.
132
Sean Silva9d0eb942013-01-20 02:19:42 +0000133:doc:`Release notes for the current release <ReleaseNotes>`
Sean Silva12159ff2013-01-20 02:19:36 +0000134 This describes new features, known bugs, and other limitations.
135
Sean Silva9d0eb942013-01-20 02:19:42 +0000136:doc:`HowToSubmitABug`
Sean Silva12159ff2013-01-20 02:19:36 +0000137 Instructions for properly submitting information about any bugs you run into
138 in the LLVM system.
Sean Silva12159ff2013-01-20 02:19:36 +0000139
Sean Silva9d0eb942013-01-20 02:19:42 +0000140:doc:`SphinxQuickstartTemplate`
Sean Silva12159ff2013-01-20 02:19:36 +0000141 A template + tutorial for writing new Sphinx documentation. It is meant
142 to be read in source form.
143
Sean Silva9d0eb942013-01-20 02:19:42 +0000144:doc:`LLVM Testing Infrastructure Guide <TestingGuide>`
Sean Silva12159ff2013-01-20 02:19:36 +0000145 A reference manual for using the LLVM testing infrastructure.
146
Sean Silva9d0eb942013-01-20 02:19:42 +0000147`How to build the C, C++, ObjC, and ObjC++ front end`__
Sean Silva12159ff2013-01-20 02:19:36 +0000148 Instructions for building the clang front-end from source.
149
Sean Silva9d0eb942013-01-20 02:19:42 +0000150 .. __: http://clang.llvm.org/get_started.html
Sean Silva12159ff2013-01-20 02:19:36 +0000151
Sean Silva9d0eb942013-01-20 02:19:42 +0000152:doc:`Lexicon`
Sean Silva12159ff2013-01-20 02:19:36 +0000153 Definition of acronyms, terms and concepts used in LLVM.
154
Sean Silva9d0eb942013-01-20 02:19:42 +0000155:doc:`HowToAddABuilder`
Sean Silva12159ff2013-01-20 02:19:36 +0000156 Instructions for adding new builder to LLVM buildbot master.
157
Sean Silva9d0eb942013-01-20 02:19:42 +0000158:doc:`YamlIO`
Sean Silva12159ff2013-01-20 02:19:36 +0000159 A reference guide for using LLVM's YAML I/O library.
160
Sean Silva163b5c42013-03-30 15:32:50 +0000161:doc:`GetElementPtr`
162 Answers to some very frequent questions about LLVM's most frequently
163 misunderstood instruction.
164
Philip Reamesf8bf9dd2015-02-27 23:14:50 +0000165:doc:`Frontend/PerformanceTips`
Vlad Tsyrklevich31b45312017-09-20 20:38:14 +0000166 A collection of tips for frontend authors on how to generate IR
Philip Reamesf8bf9dd2015-02-27 23:14:50 +0000167 which LLVM is able to effectively optimize.
168
Ilya Biryukovaf351da2017-06-30 09:46:45 +0000169:doc:`Docker`
170 A reference for using Dockerfiles provided with LLVM.
171
Philip Reamesf8bf9dd2015-02-27 23:14:50 +0000172
Sean Silva12159ff2013-01-20 02:19:36 +0000173Programming Documentation
174=========================
175
176For developers of applications which use LLVM as a library.
177
178.. toctree::
179 :hidden:
180
181 Atomics
182 CodingStandards
183 CommandLine
184 CompilerWriterInfo
185 ExtendingLLVM
186 HowToSetUpLLVMStyleRTTI
187 ProgrammersManual
Nico Rieck1da45292013-04-10 23:28:17 +0000188 Extensions
Kostya Serebryany35ce8632015-03-30 23:05:30 +0000189 LibFuzzer
Justin Bognerfd5b2a02017-10-12 01:44:24 +0000190 FuzzingLLVM
Kostya Serebryany9a293ca2016-06-07 23:13:54 +0000191 ScudoHardenedAllocator
Andrew Kaylor3aeda4f2016-08-26 23:11:48 +0000192 OptBisect
Sean Silva12159ff2013-01-20 02:19:36 +0000193
Sean Silva9d0eb942013-01-20 02:19:42 +0000194:doc:`LLVM Language Reference Manual <LangRef>`
Sean Silva12159ff2013-01-20 02:19:36 +0000195 Defines the LLVM intermediate representation and the assembly form of the
196 different nodes.
197
Sean Silva9d0eb942013-01-20 02:19:42 +0000198:doc:`Atomics`
Sean Silva12159ff2013-01-20 02:19:36 +0000199 Information about LLVM's concurrency model.
200
Sean Silva9d0eb942013-01-20 02:19:42 +0000201:doc:`ProgrammersManual`
Sean Silva12159ff2013-01-20 02:19:36 +0000202 Introduction to the general layout of the LLVM sourcebase, important classes
203 and APIs, and some tips & tricks.
204
Nico Rieck1da45292013-04-10 23:28:17 +0000205:doc:`Extensions`
206 LLVM-specific extensions to tools and formats LLVM seeks compatibility with.
207
Sean Silva9d0eb942013-01-20 02:19:42 +0000208:doc:`CommandLine`
Sean Silva12159ff2013-01-20 02:19:36 +0000209 Provides information on using the command line parsing library.
210
Sean Silva9d0eb942013-01-20 02:19:42 +0000211:doc:`CodingStandards`
Sean Silva12159ff2013-01-20 02:19:36 +0000212 Details the LLVM coding standards and provides useful information on writing
213 efficient C++ code.
214
Sean Silva9d0eb942013-01-20 02:19:42 +0000215:doc:`HowToSetUpLLVMStyleRTTI`
Sean Silva12159ff2013-01-20 02:19:36 +0000216 How to make ``isa<>``, ``dyn_cast<>``, etc. available for clients of your
217 class hierarchy.
218
Sean Silva9d0eb942013-01-20 02:19:42 +0000219:doc:`ExtendingLLVM`
Sean Silva12159ff2013-01-20 02:19:36 +0000220 Look here to see how to add instructions and intrinsics to LLVM.
221
Sean Silva9d0eb942013-01-20 02:19:42 +0000222`Doxygen generated documentation <http://llvm.org/doxygen/>`_
Sean Silva12159ff2013-01-20 02:19:36 +0000223 (`classes <http://llvm.org/doxygen/inherits.html>`_)
Sean Silva12159ff2013-01-20 02:19:36 +0000224
Peter Collingbourne943d2702015-01-13 18:49:42 +0000225`Documentation for Go bindings <http://godoc.org/llvm.org/llvm/bindings/go/llvm>`_
226
Sean Silva9d0eb942013-01-20 02:19:42 +0000227`ViewVC Repository Browser <http://llvm.org/viewvc/>`_
228 ..
Sean Silva12159ff2013-01-20 02:19:36 +0000229
Sean Silva9d0eb942013-01-20 02:19:42 +0000230:doc:`CompilerWriterInfo`
Sean Silva12159ff2013-01-20 02:19:36 +0000231 A list of helpful links for compiler writers.
232
Kostya Serebryany35ce8632015-03-30 23:05:30 +0000233:doc:`LibFuzzer`
234 A library for writing in-process guided fuzzers.
235
Justin Bognerfd5b2a02017-10-12 01:44:24 +0000236:doc:`FuzzingLLVM`
237 Information on writing and using Fuzzers to find bugs in LLVM.
238
Kostya Serebryany9a293ca2016-06-07 23:13:54 +0000239:doc:`ScudoHardenedAllocator`
240 A library that implements a security-hardened `malloc()`.
241
Andrew Kaylor3aeda4f2016-08-26 23:11:48 +0000242:doc:`OptBisect`
243 A command line option for debugging optimization-induced failures.
244
Florian Hahn57edaa42018-01-04 17:12:21 +0000245.. _index-subsystem-docs:
246
Sean Silva12159ff2013-01-20 02:19:36 +0000247Subsystem Documentation
248=======================
249
250For API clients and LLVM developers.
251
252.. toctree::
253 :hidden:
254
255 AliasAnalysis
George Burgess IV3bbeb732016-08-17 00:17:29 +0000256 MemorySSA
Sean Silva12159ff2013-01-20 02:19:36 +0000257 BitCodeFormat
Duncan P. N. Exon Smith6e40cec2014-04-11 23:21:07 +0000258 BlockFrequencyTerminology
Sean Silva12159ff2013-01-20 02:19:36 +0000259 BranchWeightMetadata
260 Bugpoint
261 CodeGenerator
262 ExceptionHandling
263 LinkTimeOptimization
264 SegmentedStacks
265 TableGenFundamentals
Renato Golinca105642014-03-20 16:08:34 +0000266 TableGen/index
Sean Silva12159ff2013-01-20 02:19:36 +0000267 DebuggingJITedCode
268 GoldPlugin
269 MarkedUpDisassembly
270 SystemLibrary
271 SourceLevelDebugging
272 Vectorizers
273 WritingAnLLVMBackend
274 GarbageCollection
275 WritingAnLLVMPass
Joe Abbeyba3e9012013-02-12 11:45:22 +0000276 HowToUseAttributes
Justin Holewinski45df8822013-03-30 16:41:14 +0000277 NVPTXUsage
Tom Stellard45bb48e2015-06-13 03:28:10 +0000278 AMDGPUUsage
Andrew Trick5e029ce2013-12-24 02:57:25 +0000279 StackMaps
Sean Silva216f1ee2014-03-02 00:21:42 +0000280 InAlloca
James Molloy3f7878a2014-05-12 15:13:39 +0000281 BigEndianNEON
Alex Lorenz6a128332014-08-19 17:05:58 +0000282 CoverageMappingFormat
Matt Arsenault03f0e832014-12-03 18:35:11 +0000283 Statepoints
Stepan Dyatkovskiyf0c3a342014-12-10 17:42:01 +0000284 MergeFunctions
Peter Collingbourne7efd7502016-06-24 21:21:32 +0000285 TypeMetadata
Sanjoy Das5553bc82015-06-15 19:38:15 +0000286 FaultMaps
Alex Lorenz3d311772015-08-06 22:55:19 +0000287 MIRLangRef
David Majnemera6539272016-07-23 04:05:08 +0000288 Coroutines
Ahmed Bougacha29d9da12016-11-04 17:57:34 +0000289 GlobalISel
Dean Michael Berrisf3da16b2016-11-09 00:24:58 +0000290 XRay
Dean Michael Berris46979b42017-03-31 02:51:19 +0000291 XRayExample
Keith Wyss3d0bc9e2017-08-02 21:47:27 +0000292 XRayFDRFormat
Zachary Turner218ce832016-11-10 19:24:21 +0000293 PDB/index
Vlad Tsyrklevich31b45312017-09-20 20:38:14 +0000294 CFIVerify
Sean Silva12159ff2013-01-20 02:19:36 +0000295
Sean Silva9d0eb942013-01-20 02:19:42 +0000296:doc:`WritingAnLLVMPass`
Sean Silva12159ff2013-01-20 02:19:36 +0000297 Information on how to write LLVM transformations and analyses.
298
Sean Silva9d0eb942013-01-20 02:19:42 +0000299:doc:`WritingAnLLVMBackend`
Sean Silva12159ff2013-01-20 02:19:36 +0000300 Information on how to write LLVM backends for machine targets.
301
Sean Silva9d0eb942013-01-20 02:19:42 +0000302:doc:`CodeGenerator`
Sean Silva12159ff2013-01-20 02:19:36 +0000303 The design and implementation of the LLVM code generator. Useful if you are
304 working on retargetting LLVM to a new architecture, designing a new codegen
305 pass, or enhancing existing components.
306
Alex Lorenz3d311772015-08-06 22:55:19 +0000307:doc:`Machine IR (MIR) Format Reference Manual <MIRLangRef>`
308 A reference manual for the MIR serialization format, which is used to test
309 LLVM's code generation passes.
310
Sean Silva0b4df9b2014-04-07 22:42:53 +0000311:doc:`TableGen <TableGen/index>`
Sean Silva12159ff2013-01-20 02:19:36 +0000312 Describes the TableGen tool, which is used heavily by the LLVM code
313 generator.
314
Sean Silva9d0eb942013-01-20 02:19:42 +0000315:doc:`AliasAnalysis`
Sean Silva12159ff2013-01-20 02:19:36 +0000316 Information on how to write a new alias analysis implementation or how to
317 use existing analyses.
318
George Burgess IV3bbeb732016-08-17 00:17:29 +0000319:doc:`MemorySSA`
320 Information about the MemorySSA utility in LLVM, as well as how to use it.
321
Sean Silva9d0eb942013-01-20 02:19:42 +0000322:doc:`GarbageCollection`
Sean Silva12159ff2013-01-20 02:19:36 +0000323 The interfaces source-language compilers should use for compiling GC'd
324 programs.
325
Sean Silva9d0eb942013-01-20 02:19:42 +0000326:doc:`Source Level Debugging with LLVM <SourceLevelDebugging>`
Sean Silva12159ff2013-01-20 02:19:36 +0000327 This document describes the design and philosophy behind the LLVM
328 source-level debugger.
329
Sean Silva9d0eb942013-01-20 02:19:42 +0000330:doc:`Vectorizers`
Sean Silva12159ff2013-01-20 02:19:36 +0000331 This document describes the current status of vectorization in LLVM.
332
Sean Silva9d0eb942013-01-20 02:19:42 +0000333:doc:`ExceptionHandling`
Sean Silva12159ff2013-01-20 02:19:36 +0000334 This document describes the design and implementation of exception handling
335 in LLVM.
336
Sean Silva9d0eb942013-01-20 02:19:42 +0000337:doc:`Bugpoint`
Sean Silva12159ff2013-01-20 02:19:36 +0000338 Automatic bug finder and test-case reducer description and usage
339 information.
340
Sean Silva9d0eb942013-01-20 02:19:42 +0000341:doc:`BitCodeFormat`
Sean Silva12159ff2013-01-20 02:19:36 +0000342 This describes the file format and encoding used for LLVM "bc" files.
343
Sean Silva9d0eb942013-01-20 02:19:42 +0000344:doc:`System Library <SystemLibrary>`
Sean Silva12159ff2013-01-20 02:19:36 +0000345 This document describes the LLVM System Library (``lib/System``) and
346 how to keep LLVM source code portable
347
Sean Silva9d0eb942013-01-20 02:19:42 +0000348:doc:`LinkTimeOptimization`
Sean Silva12159ff2013-01-20 02:19:36 +0000349 This document describes the interface between LLVM intermodular optimizer
350 and the linker and its design
351
Sean Silva9d0eb942013-01-20 02:19:42 +0000352:doc:`GoldPlugin`
Sean Silva12159ff2013-01-20 02:19:36 +0000353 How to build your programs with link-time optimization on Linux.
354
Sean Silva9d0eb942013-01-20 02:19:42 +0000355:doc:`DebuggingJITedCode`
Sean Silva12159ff2013-01-20 02:19:36 +0000356 How to debug JITed code with GDB.
357
Andrew Kaylor27299c32013-08-21 22:15:09 +0000358:doc:`MCJITDesignAndImplementation`
359 Describes the inner workings of MCJIT execution engine.
360
Sean Silva9d0eb942013-01-20 02:19:42 +0000361:doc:`BranchWeightMetadata`
Sean Silva12159ff2013-01-20 02:19:36 +0000362 Provides information about Branch Prediction Information.
363
Duncan P. N. Exon Smith6e40cec2014-04-11 23:21:07 +0000364:doc:`BlockFrequencyTerminology`
365 Provides information about terminology used in the ``BlockFrequencyInfo``
366 analysis pass.
367
Sean Silva9d0eb942013-01-20 02:19:42 +0000368:doc:`SegmentedStacks`
Sean Silva12159ff2013-01-20 02:19:36 +0000369 This document describes segmented stacks and how they are used in LLVM.
370
Sean Silva9d0eb942013-01-20 02:19:42 +0000371:doc:`MarkedUpDisassembly`
Sean Silva12159ff2013-01-20 02:19:36 +0000372 This document describes the optional rich disassembly output syntax.
373
Joe Abbeyba3e9012013-02-12 11:45:22 +0000374:doc:`HowToUseAttributes`
375 Answers some questions about the new Attributes infrastructure.
Sean Silva12159ff2013-01-20 02:19:36 +0000376
Justin Holewinski45df8822013-03-30 16:41:14 +0000377:doc:`NVPTXUsage`
Tony Tyef16a45e2017-06-06 20:31:59 +0000378 This document describes using the NVPTX backend to compile GPU kernels.
Justin Holewinski45df8822013-03-30 16:41:14 +0000379
Tom Stellard45bb48e2015-06-13 03:28:10 +0000380:doc:`AMDGPUUsage`
Tony Tyef16a45e2017-06-06 20:31:59 +0000381 This document describes using the AMDGPU backend to compile GPU kernels.
Tom Stellard9d7ddd52014-11-14 14:08:00 +0000382
Andrew Trick5e029ce2013-12-24 02:57:25 +0000383:doc:`StackMaps`
384 LLVM support for mapping instruction addresses to the location of
385 values and allowing code to be patched.
Justin Holewinski45df8822013-03-30 16:41:14 +0000386
James Molloy3f7878a2014-05-12 15:13:39 +0000387:doc:`BigEndianNEON`
388 LLVM's support for generating NEON instructions on big endian ARM targets is
389 somewhat nonintuitive. This document explains the implementation and rationale.
390
Alex Lorenz6a128332014-08-19 17:05:58 +0000391:doc:`CoverageMappingFormat`
392 This describes the format and encoding used for LLVM’s code coverage mapping.
James Molloy3f7878a2014-05-12 15:13:39 +0000393
Matt Arsenault03f0e832014-12-03 18:35:11 +0000394:doc:`Statepoints`
395 This describes a set of experimental extensions for garbage
396 collection support.
397
Stepan Dyatkovskiyf0c3a342014-12-10 17:42:01 +0000398:doc:`MergeFunctions`
399 Describes functions merging optimization.
400
Sean Silvab6472fe2015-02-04 20:51:19 +0000401:doc:`InAlloca`
402 Description of the ``inalloca`` argument attribute.
403
Sanjoy Das5553bc82015-06-15 19:38:15 +0000404:doc:`FaultMaps`
405 LLVM support for folding control flow into faulting machine instructions.
406
Jingyue Wu4f2a6cb2015-11-10 22:35:47 +0000407:doc:`CompileCudaWithLLVM`
408 LLVM support for CUDA.
409
David Majnemera6539272016-07-23 04:05:08 +0000410:doc:`Coroutines`
411 LLVM support for coroutines.
412
Ahmed Bougacha29d9da12016-11-04 17:57:34 +0000413:doc:`GlobalISel`
414 This describes the prototype instruction selection replacement, GlobalISel.
415
Dean Michael Berrisf3da16b2016-11-09 00:24:58 +0000416:doc:`XRay`
417 High-level documentation of how to use XRay in LLVM.
418
Dean Michael Berris38daca62017-03-30 23:46:36 +0000419:doc:`XRayExample`
420 An example of how to debug an application with XRay.
421
Zachary Turner218ce832016-11-10 19:24:21 +0000422:doc:`The Microsoft PDB File Format <PDB/index>`
423 A detailed description of the Microsoft PDB (Program Database) file format.
424
Vlad Tsyrklevich31b45312017-09-20 20:38:14 +0000425:doc:`CFIVerify`
426 A description of the verification tool for Control Flow Integrity.
427
Sean Silva12159ff2013-01-20 02:19:36 +0000428Development Process Documentation
429=================================
430
Sean Silva12159ff2013-01-20 02:19:36 +0000431Information about LLVM's development process.
432
433.. toctree::
434 :hidden:
435
Florian Hahn57edaa42018-01-04 17:12:21 +0000436 Contributing
Sean Silva9d205c82013-03-30 15:32:47 +0000437 DeveloperPolicy
Sean Silva12159ff2013-01-20 02:19:36 +0000438 Projects
439 LLVMBuild
440 HowToReleaseLLVM
Sean Silvabdb940f2013-01-28 21:28:10 +0000441 Packaging
Sean Silva3f93a612013-09-09 19:09:00 +0000442 ReleaseProcess
Adrian Prantladc41ca2014-10-03 20:17:32 +0000443 Phabricator
Sean Silva12159ff2013-01-20 02:19:36 +0000444
Florian Hahn57edaa42018-01-04 17:12:21 +0000445:doc:`Contributing`
446 An overview on how to contribute to LLVM.
447
Sean Silva9d205c82013-03-30 15:32:47 +0000448:doc:`DeveloperPolicy`
449 The LLVM project's policy towards developers and their contributions.
450
Sean Silva9d0eb942013-01-20 02:19:42 +0000451:doc:`Projects`
Sean Silva12159ff2013-01-20 02:19:36 +0000452 How-to guide and templates for new projects that *use* the LLVM
453 infrastructure. The templates (directory organization, Makefiles, and test
454 tree) allow the project code to be located outside (or inside) the ``llvm/``
455 tree, while using LLVM header files and libraries.
456
Sean Silva9d0eb942013-01-20 02:19:42 +0000457:doc:`LLVMBuild`
Sean Silva12159ff2013-01-20 02:19:36 +0000458 Describes the LLVMBuild organization and files used by LLVM to specify
459 component descriptions.
460
Sean Silva9d0eb942013-01-20 02:19:42 +0000461:doc:`HowToReleaseLLVM`
Sean Silva12159ff2013-01-20 02:19:36 +0000462 This is a guide to preparing LLVM releases. Most developers can ignore it.
463
Renato Golinc08f2182013-05-28 10:32:55 +0000464:doc:`ReleaseProcess`
Jyoti Allur223602d2014-09-26 06:59:15 +0000465 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 +0000466
Sean Silvabdb940f2013-01-28 21:28:10 +0000467:doc:`Packaging`
468 Advice on packaging LLVM into a distribution.
469
Adrian Prantladc41ca2014-10-03 20:17:32 +0000470:doc:`Phabricator`
471 Describes how to use the Phabricator code review tool hosted on
472 http://reviews.llvm.org/ and its command line interface, Arcanist.
473
Sean Silva01299242013-03-30 15:32:51 +0000474Community
475=========
476
477LLVM has a thriving community of friendly and helpful developers.
478The two primary communication mechanisms in the LLVM community are mailing
479lists and IRC.
480
Sean Silva12159ff2013-01-20 02:19:36 +0000481Mailing Lists
Sean Silva01299242013-03-30 15:32:51 +0000482-------------
Sean Silva12159ff2013-01-20 02:19:36 +0000483
484If you can't find what you need in these docs, try consulting the mailing
485lists.
486
Tanya Lattner0d28f802015-08-05 03:51:17 +0000487`Developer's List (llvm-dev)`__
Sean Silva12159ff2013-01-20 02:19:36 +0000488 This list is for people who want to be included in technical discussions of
489 LLVM. People post to this list when they have questions about writing code
490 for or using the LLVM tools. It is relatively low volume.
491
Tanya Lattner0d28f802015-08-05 03:51:17 +0000492 .. __: http://lists.llvm.org/mailman/listinfo/llvm-dev
Sean Silva12159ff2013-01-20 02:19:36 +0000493
Sean Silvaab4997d2013-03-30 15:33:01 +0000494`Commits Archive (llvm-commits)`__
Sean Silva12159ff2013-01-20 02:19:36 +0000495 This list contains all commit messages that are made when LLVM developers
Sean Silva2a746992013-03-30 15:33:02 +0000496 commit code changes to the repository. It also serves as a forum for
497 patch review (i.e. send patches here). It is useful for those who want to
498 stay on the bleeding edge of LLVM development. This list is very high
499 volume.
Sean Silva12159ff2013-01-20 02:19:36 +0000500
Tanya Lattner0d28f802015-08-05 03:51:17 +0000501 .. __: http://lists.llvm.org/pipermail/llvm-commits/
Sean Silva12159ff2013-01-20 02:19:36 +0000502
Tanya Lattner0d28f802015-08-05 03:51:17 +0000503`Bugs & Patches Archive (llvm-bugs)`__
Sean Silva2a746992013-03-30 15:33:02 +0000504 This list gets emailed every time a bug is opened and closed. It is
Tanya Lattner0d28f802015-08-05 03:51:17 +0000505 higher volume than the LLVM-dev list.
Sean Silva84b296c2013-03-30 15:32:54 +0000506
Tanya Lattner0d28f802015-08-05 03:51:17 +0000507 .. __: http://lists.llvm.org/pipermail/llvm-bugs/
Sean Silva84b296c2013-03-30 15:32:54 +0000508
Sean Silvaab4997d2013-03-30 15:33:01 +0000509`Test Results Archive (llvm-testresults)`__
Sean Silva12159ff2013-01-20 02:19:36 +0000510 A message is automatically sent to this list by every active nightly tester
511 when it completes. As such, this list gets email several times each day,
512 making it a high volume list.
513
Tanya Lattner0d28f802015-08-05 03:51:17 +0000514 .. __: http://lists.llvm.org/pipermail/llvm-testresults/
Sean Silva9d0eb942013-01-20 02:19:42 +0000515
Sean Silvaab4997d2013-03-30 15:33:01 +0000516`LLVM Announcements List (llvm-announce)`__
Sean Silva84b296c2013-03-30 15:32:54 +0000517 This is a low volume list that provides important announcements regarding
518 LLVM. It gets email about once a month.
519
Tanya Lattner0d28f802015-08-05 03:51:17 +0000520 .. __: http://lists.llvm.org/mailman/listinfo/llvm-announce
Sean Silva84b296c2013-03-30 15:32:54 +0000521
Sean Silva01299242013-03-30 15:32:51 +0000522IRC
523---
524
525Users and developers of the LLVM project (including subprojects such as Clang)
526can be found in #llvm on `irc.oftc.net <irc://irc.oftc.net/llvm>`_.
527
528This channel has several bots.
529
530* Buildbot reporters
531
532 * llvmbb - Bot for the main LLVM buildbot master.
533 http://lab.llvm.org:8011/console
534 * bb-chapuni - An individually run buildbot master. http://bb.pgr.jp/console
535 * smooshlab - Apple's internal buildbot master.
536
537* robot - Bugzilla linker. %bug <number>
538
539* clang-bot - A `geordi <http://www.eelis.net/geordi/>`_ instance running
540 near-trunk clang instead of gcc.
541
Renato Goline433cf72016-07-20 09:38:04 +0000542Community wide proposals
543------------------------
544
545Proposals for massive changes in how the community behaves and how the work flow
546can be better.
547
548.. toctree::
549 :hidden:
550
551 CodeOfConduct
Mehdi Amini647deb82016-10-12 23:02:02 +0000552 Proposals/GitHubMove
Ayal Zaks4c4baf52017-05-29 15:36:23 +0000553 Proposals/VectorizationPlan
Renato Goline433cf72016-07-20 09:38:04 +0000554
555:doc:`CodeOfConduct`
556 Proposal to adopt a code of conduct on the LLVM social spaces (lists, events,
557 IRC, etc).
558
Mehdi Amini647deb82016-10-12 23:02:02 +0000559:doc:`Proposals/GitHubMove`
Renato Goline433cf72016-07-20 09:38:04 +0000560 Proposal to move from SVN/Git to GitHub.
561
Ayal Zaks4c4baf52017-05-29 15:36:23 +0000562:doc:`Proposals/VectorizationPlan`
563 Proposal to model the process and upgrade the infrastructure of LLVM's Loop Vectorizer.
Sean Silva01299242013-03-30 15:32:51 +0000564
Daniel Dunbarfbb80412012-04-19 16:31:37 +0000565Indices and tables
566==================
567
568* :ref:`genindex`
569* :ref:`search`