LLVM 文档
来源:互联网 发布:淘宝代销一月能赚多少 编辑:程序博客网 时间:2024/05/22 03:04
综述
警告
If you are using a released version of LLVM, see the download page to find your documentation.
如果你正在用llvm的相关版本,在下载
The LLVM compiler infrastructure supports a wide range of projects, from industrial strength compilers to specialized JIT applications to small research projects.
Similarly, documentation is broken down into several high-level groupings targeted at different audiences:
LLVM Design & Overview
Several introductory papers and presentations.
- LLVM Language Reference Manual
- Defines the LLVM intermediate representation.
- Introduction to the LLVM Compiler
- Presentation providing a users introduction to LLVM.
- Intro to LLVM
- Book chapter providing a compiler hacker’s introduction to LLVM.
- LLVM: A Compilation Framework for Lifelong Program Analysis & Transformation
- Design overview.
- LLVM: An Infrastructure for Multi-Stage Optimization
- More details (quite old now).
- Publications mentioning LLVM
User Guides
For those new to the LLVM system.
NOTE: If you are a user who is only interested in using LLVM-based compilers, you should look into Clang or DragonEgg instead. The documentation here is intended for users who have a need to work with the intermediate LLVM representation.
- Getting Started with the LLVM System
- Discusses how to get up and running quickly with the LLVM infrastructure. Everything from unpacking and compilation of the distribution to execution of some tools.
- Building LLVM with CMake
- An addendum to the main Getting Started guide for those using the CMake build system.
- How To Build On ARM
- Notes on building and testing LLVM/Clang on ARM.
- Getting Started with the LLVM System using Microsoft Visual Studio
- An addendum to the main Getting Started guide for those using Visual Studio on Windows.
- LLVM Tutorial: Table of Contents
- Tutorials about using LLVM. Includes a tutorial about making a custom language with LLVM.
- LLVM Command Guide
- A reference manual for the LLVM command line utilities (“man” pages for LLVM tools).
- LLVM’s Analysis and Transform Passes
- A list of optimizations and analyses implemented in LLVM.
- Frequently Asked Questions (FAQ)
- A list of common questions and problems and their solutions.
- Release notes for the current release
- This describes new features, known bugs, and other limitations.
- How to submit an LLVM bug report
- Instructions for properly submitting information about any bugs you run into in the LLVM system.
- Sphinx Quickstart Template
- A template + tutorial for writing new Sphinx documentation. It is meant to be read in source form.
- LLVM Testing Infrastructure Guide
- A reference manual for using the LLVM testing infrastructure.
- How to build the C, C++, ObjC, and ObjC++ front end
- Instructions for building the clang front-end from source.
- The LLVM Lexicon
- Definition of acronyms, terms and concepts used in LLVM.
- How To Add Your Build Configuration To LLVM Buildbot Infrastructure
- Instructions for adding new builder to LLVM buildbot master.
- YAML I/O
- A reference guide for using LLVM’s YAML I/O library.
- The Often Misunderstood GEP Instruction
- Answers to some very frequent questions about LLVM’s most frequently misunderstood instruction.
Programming Documentation
For developers of applications which use LLVM as a library.
- LLVM Language Reference Manual
- Defines the LLVM intermediate representation and the assembly form of the different nodes.
- LLVM Atomic Instructions and Concurrency Guide
- Information about LLVM’s concurrency model.
- LLVM Programmer’s Manual
- Introduction to the general layout of the LLVM sourcebase, important classes and APIs, and some tips & tricks.
- CommandLine 2.0 Library Manual
- Provides information on using the command line parsing library.
- LLVM Coding Standards
- Details the LLVM coding standards and provides useful information on writing efficient C++ code.
- How to set up LLVM-style RTTI for your class hierarchy
- How to make isa<>, dyn_cast<>, etc. available for clients of your class hierarchy.
- Extending LLVM: Adding instructions, intrinsics, types, etc.
- Look here to see how to add instructions and intrinsics to LLVM.
- Doxygen generated documentation
- (classes) (tarball)
- ViewVC Repository Browser
- Architecture & Platform Information for Compiler Writers
- A list of helpful links for compiler writers.
Subsystem Documentation
For API clients and LLVM developers.
- Writing an LLVM Pass
- Information on how to write LLVM transformations and analyses.
- Writing an LLVM Compiler Backend
- Information on how to write LLVM backends for machine targets.
- The LLVM Target-Independent Code Generator
- The design and implementation of the LLVM code generator. Useful if you are working on retargetting LLVM to a new architecture, designing a new codegen pass, or enhancing existing components.
- TableGen Fundamentals
- Describes the TableGen tool, which is used heavily by the LLVM code generator.
- LLVM Alias Analysis Infrastructure
- Information on how to write a new alias analysis implementation or how to use existing analyses.
- Accurate Garbage Collection with LLVM
- The interfaces source-language compilers should use for compiling GC’d programs.
- Source Level Debugging with LLVM
- This document describes the design and philosophy behind the LLVM source-level debugger.
- Auto-Vectorization in LLVM
- This document describes the current status of vectorization in LLVM.
- Exception Handling in LLVM
- This document describes the design and implementation of exception handling in LLVM.
- LLVM bugpoint tool: design and usage
- Automatic bug finder and test-case reducer description and usage information.
- LLVM Bitcode File Format
- This describes the file format and encoding used for LLVM “bc” files.
- System Library
- This document describes the LLVM System Library (lib/System) and how to keep LLVM source code portable
- LLVM Link Time Optimization: Design and Implementation
- This document describes the interface between LLVM intermodular optimizer and the linker and its design
- The LLVM gold plugin
- How to build your programs with link-time optimization on Linux.
- Debugging JIT-ed Code With GDB
- How to debug JITed code with GDB.
- LLVM Branch Weight Metadata
- Provides information about Branch Prediction Information.
- Segmented Stacks in LLVM
- This document describes segmented stacks and how they are used in LLVM.
- LLVM’s Optional Rich Disassembly Output
- This document describes the optional rich disassembly output syntax.
- How To Use Attributes
- Answers some questions about the new Attributes infrastructure.
- User Guide for NVPTX Back-end
- This document describes using the NVPTX back-end to compile GPU kernels.
Development Process Documentation
Information about LLVM’s development process.
- LLVM Developer Policy
- The LLVM project’s policy towards developers and their contributions.
- Creating an LLVM Project
- How-to guide and templates for new projects that use the LLVM infrastructure. The templates (directory organization, Makefiles, and test tree) allow the project code to be located outside (or inside) the llvm/ tree, while using LLVM header files and libraries.
- LLVMBuild Guide
- Describes the LLVMBuild organization and files used by LLVM to specify component descriptions.
- LLVM Makefile Guide
- Describes how the LLVM makefiles work and how to use them.
- How To Release LLVM To The Public
- This is a guide to preparing LLVM releases. Most developers can ignore it.
- Advice on Packaging LLVM
- Advice on packaging LLVM into a distribution.
社区
LLVM has a thriving community of friendly and helpful developers. The two primary communication mechanisms in the LLVM community are mailing lists and IRC.
Mailing Lists
If you can’t find what you need in these docs, try consulting the mailing lists.
- Developer’s List (llvmdev)
- This list is for people who want to be included in technical discussions of LLVM. People post to this list when they have questions about writing code for or using the LLVM tools. It is relatively low volume.
- Commits Archive (llvm-commits)
- This list contains all commit messages that are made when LLVM developers commit code changes to the repository. It also serves as a forum for patch review (i.e. send patches here). It is useful for those who want to stay on the bleeding edge of LLVM development. This list is very high volume.
- Bugs & Patches Archive (llvmbugs)
- This list gets emailed every time a bug is opened and closed. It is higher volume than the LLVMdev list.
- Test Results Archive (llvm-testresults)
- A message is automatically sent to this list by every active nightly tester when it completes. As such, this list gets email several times each day, making it a high volume list.
- LLVM Announcements List (llvm-announce)
- This is a low volume list that provides important announcements regarding LLVM. It gets email about once a month.
IRC
Users and developers of the LLVM project (including subprojects such as Clang) can be found in #llvm on irc.oftc.net.
This channel has several bots.
- Buildbot reporters
- llvmbb - Bot for the main LLVM buildbot master. http://lab.llvm.org:8011/console
- bb-chapuni - An individually run buildbot master. http://bb.pgr.jp/console
- smooshlab - Apple’s internal buildbot master.
- robot - Bugzilla linker. %bug <number>
- clang-bot - A geordi instance running near-trunk clang instead of gcc.
Indices and tables
- Index
- Search Page
- LLVM 文档
- LLVM 文档分类
- LLVM 文档总结
- llvm + clang安装(官方文档)
- LLVM每日谈之五 LLVM文档介绍
- LLVM官方文档翻译---- LLVM原子指令与并发指引
- 使用Sphinx翻译LLVM的中文文档
- LLVM
- LLVM
- llvm
- LLVM
- LLVM
- LLVM
- LLVM
- LLVM
- LLVM
- llvm基本概念
- LLVM 3.1
- java 二维码的制作与读取
- Ext.grid属性方法
- android Voip源代码
- 经典SQL语句大全
- xcode反汇编调试iOS模拟器程序(四)自动断点应用之NSNotificationCenter
- LLVM 文档
- SQL关联表更新注意事项
- 基数排序
- php利用ajax实现二级分类
- 设置Word2003在打开时显示文档结构图而不是略缩图
- 解决Myeclipse8.5总是报内存不够。修改了Myeclipse.ini配置文件却不生效问题
- Python challenge - level 10
- 汽车维修管理系统
- 射雕英雄传入选北京朝阳区小学图书馆基本书目