SubsystemDocumentation.rst 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. .. _index-subsystem-docs:
  2. Subsystem Documentation
  3. =======================
  4. For API clients and LLVM developers.
  5. .. toctree::
  6. :hidden:
  7. AliasAnalysis
  8. MemorySSA
  9. BitCodeFormat
  10. BlockFrequencyTerminology
  11. BranchWeightMetadata
  12. Bugpoint
  13. BugpointRedesign
  14. CodeGenerator
  15. ExceptionHandling
  16. AddingConstrainedIntrinsics
  17. LinkTimeOptimization
  18. SegmentedStacks
  19. TableGenFundamentals
  20. TableGen/index
  21. DebuggingJITedCode
  22. GoldPlugin
  23. MarkedUpDisassembly
  24. SystemLibrary
  25. SupportLibrary
  26. SourceLevelDebugging
  27. Vectorizers
  28. WritingAnLLVMBackend
  29. GarbageCollection
  30. WritingAnLLVMPass
  31. HowToUseAttributes
  32. NVPTXUsage
  33. AMDGPUUsage
  34. StackMaps
  35. InAlloca
  36. BigEndianNEON
  37. CoverageMappingFormat
  38. Statepoints
  39. MergeFunctions
  40. TypeMetadata
  41. TransformMetadata
  42. FaultMaps
  43. MIRLangRef
  44. Coroutines
  45. GlobalISel
  46. XRay
  47. XRayExample
  48. XRayFDRFormat
  49. PDB/index
  50. CFIVerify
  51. SpeculativeLoadHardening
  52. StackSafetyAnalysis
  53. LoopTerminology
  54. DependenceGraphs/index
  55. :doc:`WritingAnLLVMPass`
  56. Information on how to write LLVM transformations and analyses.
  57. :doc:`WritingAnLLVMBackend`
  58. Information on how to write LLVM backends for machine targets.
  59. :doc:`CodeGenerator`
  60. The design and implementation of the LLVM code generator. Useful if you are
  61. working on retargetting LLVM to a new architecture, designing a new codegen
  62. pass, or enhancing existing components.
  63. :doc:`Machine IR (MIR) Format Reference Manual <MIRLangRef>`
  64. A reference manual for the MIR serialization format, which is used to test
  65. LLVM's code generation passes.
  66. :doc:`TableGen <TableGen/index>`
  67. Describes the TableGen tool, which is used heavily by the LLVM code
  68. generator.
  69. :doc:`AliasAnalysis`
  70. Information on how to write a new alias analysis implementation or how to
  71. use existing analyses.
  72. :doc:`MemorySSA`
  73. Information about the MemorySSA utility in LLVM, as well as how to use it.
  74. :doc:`GarbageCollection`
  75. The interfaces source-language compilers should use for compiling GC'd
  76. programs.
  77. :doc:`Source Level Debugging with LLVM <SourceLevelDebugging>`
  78. This document describes the design and philosophy behind the LLVM
  79. source-level debugger.
  80. :doc:`Vectorizers`
  81. This document describes the current status of vectorization in LLVM.
  82. :doc:`ExceptionHandling`
  83. This document describes the design and implementation of exception handling
  84. in LLVM.
  85. :doc:`AddingConstrainedIntrinsics`
  86. Gives the steps necessary when adding a new constrained math intrinsic
  87. to LLVM.
  88. :doc:`Bugpoint`
  89. Automatic bug finder and test-case reducer description and usage
  90. information.
  91. :doc:`BugpointRedesign`
  92. Design doc for a redesign of the Bugpoint tool.
  93. :doc:`BitCodeFormat`
  94. This describes the file format and encoding used for LLVM "bc" files.
  95. :doc:`Support Library <SupportLibrary>`
  96. This document describes the LLVM Support Library (``lib/Support``) and
  97. how to keep LLVM source code portable
  98. :doc:`LinkTimeOptimization`
  99. This document describes the interface between LLVM intermodular optimizer
  100. and the linker and its design
  101. :doc:`GoldPlugin`
  102. How to build your programs with link-time optimization on Linux.
  103. :doc:`DebuggingJITedCode`
  104. How to debug JITed code with GDB.
  105. :doc:`MCJITDesignAndImplementation`
  106. Describes the inner workings of MCJIT execution engine.
  107. :doc:`ORCv2`
  108. Describes the design and implementation of the ORC APIs, including some
  109. usage examples, and a guide for users transitioning from ORCv1 to ORCv2.
  110. :doc:`BranchWeightMetadata`
  111. Provides information about Branch Prediction Information.
  112. :doc:`BlockFrequencyTerminology`
  113. Provides information about terminology used in the ``BlockFrequencyInfo``
  114. analysis pass.
  115. :doc:`SegmentedStacks`
  116. This document describes segmented stacks and how they are used in LLVM.
  117. :doc:`MarkedUpDisassembly`
  118. This document describes the optional rich disassembly output syntax.
  119. :doc:`HowToUseAttributes`
  120. Answers some questions about the new Attributes infrastructure.
  121. :doc:`NVPTXUsage`
  122. This document describes using the NVPTX backend to compile GPU kernels.
  123. :doc:`AMDGPUUsage`
  124. This document describes using the AMDGPU backend to compile GPU kernels.
  125. :doc:`StackMaps`
  126. LLVM support for mapping instruction addresses to the location of
  127. values and allowing code to be patched.
  128. :doc:`BigEndianNEON`
  129. LLVM's support for generating NEON instructions on big endian ARM targets is
  130. somewhat nonintuitive. This document explains the implementation and rationale.
  131. :doc:`CoverageMappingFormat`
  132. This describes the format and encoding used for LLVM’s code coverage mapping.
  133. :doc:`Statepoints`
  134. This describes a set of experimental extensions for garbage
  135. collection support.
  136. :doc:`MergeFunctions`
  137. Describes functions merging optimization.
  138. :doc:`InAlloca`
  139. Description of the ``inalloca`` argument attribute.
  140. :doc:`FaultMaps`
  141. LLVM support for folding control flow into faulting machine instructions.
  142. :doc:`CompileCudaWithLLVM`
  143. LLVM support for CUDA.
  144. :doc:`Coroutines`
  145. LLVM support for coroutines.
  146. :doc:`GlobalISel`
  147. This describes the prototype instruction selection replacement, GlobalISel.
  148. :doc:`XRay`
  149. High-level documentation of how to use XRay in LLVM.
  150. :doc:`XRayExample`
  151. An example of how to debug an application with XRay.
  152. :doc:`The Microsoft PDB File Format <PDB/index>`
  153. A detailed description of the Microsoft PDB (Program Database) file format.
  154. :doc:`CFIVerify`
  155. A description of the verification tool for Control Flow Integrity.
  156. :doc:`SpeculativeLoadHardening`
  157. A description of the Speculative Load Hardening mitigation for Spectre v1.
  158. :doc:`StackSafetyAnalysis`
  159. This document describes the design of the stack safety analysis of local
  160. variables.
  161. :doc:`LoopTerminology`
  162. A document describing Loops and associated terms as used in LLVM.
  163. :doc:`Dependence Graphs <DependenceGraphs/index>`
  164. A description of the design of the various dependence graphs such as
  165. the DDG (Data Dependence Graph).