4 NOTE: If you are a user who is only interested in using an LLVM-based compiler,
\r
5 you should look into `Clang <https://clang.llvm.org>`_ instead. The
\r
6 documentation here is intended for users who have a need to work with the
\r
7 intermediate LLVM representation.
\r
16 AddingConstrainedIntrinsics
\r
22 BuildingADistribution
\r
30 CoverageMappingFormat
\r
39 HowToBuildWindowsItaniumPrograms
\r
40 HowToCrossCompileBuiltinsOnArm
\r
41 HowToCrossCompileLLVM
\r
42 HowToUpdateDebugInfo
\r
44 LinkTimeOptimization
\r
46 MarkdownQuickstartTemplate
\r
49 MCJITDesignAndImplementation
\r
62 SourceLevelDebugging
\r
67 TableGenFundamentals
\r
70 WritingAnLLVMNewPMPass
\r
71 WritingAnLLVMBackend
\r
77 :doc:`HowToBuildOnARM`
\r
78 Notes on building and testing LLVM/Clang on ARM.
\r
80 :doc:`HowToBuildWithPGO`
\r
81 Notes on building LLVM/Clang with PGO.
\r
83 :doc:`HowToCrossCompileLLVM`
\r
84 Notes on cross-building and testing LLVM/Clang.
\r
86 `How to build the C, C++, ObjC, and ObjC++ front end`__
\r
87 Instructions for building the clang front-end from source.
\r
89 .. __: https://clang.llvm.org/get_started.html
\r
91 :doc:`CoverageMappingFormat`
\r
92 This describes the format and encoding used for LLVM’s code coverage mapping.
\r
95 A description of the verification tool for Control Flow Integrity.
\r
97 LLVM Builds and Distributions
\r
98 -----------------------------
\r
100 :doc:`BuildingADistribution`
\r
101 A best-practices guide for using LLVM's CMake build system to package and
\r
102 distribute LLVM-based tools.
\r
105 An addendum to the main Getting Started guide for those using the `CMake
\r
106 build system <http://www.cmake.org>`_.
\r
109 A reference for using Dockerfiles provided with LLVM.
\r
111 :doc:`Support Library <SupportLibrary>`
\r
112 This document describes the LLVM Support Library (``lib/Support``) and
\r
113 how to keep LLVM source code portable.
\r
115 :doc:`AdvancedBuilds`
\r
116 This document describes more advanced build configurations.
\r
121 :doc:`WritingAnLLVMPass`
\r
122 Information on how to write LLVM transformations and analyses.
\r
124 :doc:`WritingAnLLVMNewPMPass`
\r
125 Information on how to write LLVM transformations under the new pass
\r
129 A list of optimizations and analyses implemented in LLVM.
\r
131 :doc:`StackSafetyAnalysis`
\r
132 This document describes the design of the stack safety analysis of local
\r
135 :doc:`MergeFunctions`
\r
136 Describes functions merging optimization.
\r
138 :doc:`AliasAnalysis`
\r
139 Information on how to write a new alias analysis implementation or how to
\r
140 use existing analyses.
\r
143 Information about the MemorySSA utility in LLVM, as well as how to use it.
\r
145 :doc:`LoopTerminology`
\r
146 A document describing Loops and associated terms as used in LLVM.
\r
148 :doc:`CycleTerminology`
\r
149 A document describing cycles as a generalization of loops.
\r
152 This document describes the current status of vectorization in LLVM.
\r
154 :doc:`LinkTimeOptimization`
\r
155 This document describes the interface between LLVM intermodular optimizer
\r
156 and the linker and its design
\r
159 How to build your programs with link-time optimization on Linux.
\r
162 A reference on the implementation of remarks in LLVM.
\r
164 :doc:`Source Level Debugging with LLVM <SourceLevelDebugging>`
\r
165 This document describes the design and philosophy behind the LLVM
\r
166 source-level debugger.
\r
168 :doc:`How to Update Debug Info <HowToUpdateDebugInfo>`
\r
169 This document specifies how to correctly update debug info in various kinds
\r
170 of code transformations.
\r
172 :doc:`InstrRefDebugInfo`
\r
173 This document explains how LLVM uses value tracking, or instruction
\r
174 referencing, to determine variable locations for debug info in the final
\r
175 stages of compilation.
\r
180 :doc:`WritingAnLLVMBackend`
\r
181 Information on how to write LLVM backends for machine targets.
\r
183 :doc:`CodeGenerator`
\r
184 The design and implementation of the LLVM code generator. Useful if you are
\r
185 working on retargetting LLVM to a new architecture, designing a new codegen
\r
186 pass, or enhancing existing components.
\r
188 :doc:`TableGen <TableGen/index>`
\r
189 Describes the TableGen tool, which is used heavily by the LLVM code
\r
196 :doc:`MCJITDesignAndImplementation`
\r
197 Describes the inner workings of MCJIT execution engine.
\r
200 Describes the design and implementation of the ORC APIs, including some
\r
201 usage examples, and a guide for users transitioning from ORCv1 to ORCv2.
\r
204 Describes the design and APIs for the JITLink library, ORC's new JIT
\r
207 :doc:`DebuggingJITedCode`
\r
208 How to debug JITed code with GDB.
\r
214 Provides information on using the command line parsing library.
\r
216 :doc:`ExtendingLLVM`
\r
217 Look here to see how to add instructions and intrinsics to LLVM.
\r
219 :doc:`AddingConstrainedIntrinsics`
\r
220 Gives the steps necessary when adding a new constrained math intrinsic
\r
223 :doc:`HowToBuildWindowsItaniumPrograms`
\r
224 Notes on assembling a Windows Itanium environment.
\r
226 :doc:`HowToCrossCompileBuiltinsOnArm`
\r
227 Notes on cross-building and testing the compiler-rt builtins for Arm.
\r
229 :doc:`BigEndianNEON`
\r
230 LLVM's support for generating NEON instructions on big endian ARM targets is
\r
231 somewhat nonintuitive. This document explains the implementation and rationale.
\r
234 LLVM's support for AArch64 SME ACLE and ABI.
\r
236 :doc:`CompileCudaWithLLVM`
\r
237 LLVM support for CUDA.
\r
240 This document describes using the NVPTX backend to compile GPU kernels.
\r
243 This document describes using the AMDGPU backend to compile GPU kernels.
\r
245 :doc:`AMDGPUDwarfExtensionsForHeterogeneousDebugging`
\r
246 This document describes DWARF extensions to support heterogeneous debugging
\r
247 for targets such as the AMDGPU backend.
\r
249 :doc:`AMDGPUDwarfExtensionAllowLocationDescriptionOnTheDwarfExpressionStack/AMDGPUDwarfExtensionAllowLocationDescriptionOnTheDwarfExpressionStack`
\r
250 This document describes a DWARF extension to allow location descriptions on
\r
251 the DWARF expression stack. It is part of
\r
252 :doc:`AMDGPUDwarfExtensionsForHeterogeneousDebugging`.
\r
255 This document describes using the SPIR-V target to compile GPU kernels.
\r
257 :doc:`DirectXUsage`
\r
258 This document describes using the DirectX target to compile GPU code for the
\r
262 This document describes using the RISCV-V target.
\r