summaryrefslogtreecommitdiffstats
path: root/llvm/docs/WritingAnLLVMBackend.rst
Commit message (Collapse)AuthorAgeFilesLines
* [clang][llvm] Obsolete Exynos M1 and M2Evandro Menezes2019-10-301-3/+3
|
* [Docs] Fix typo in scheduler model documentation. enumemation->enumerationCraig Topper2017-12-101-1/+1
| | | | llvm-svn: 320288
* [docs] Document how to debug instruction scheduling model generationJoel Jones2017-07-191-0/+40
| | | | | | | | | | | | Describe: + Exact tablegen command and how to get it + tablegen command debug option for subtarget generation + Use of schedcover.py on the debug output to determine coverage Differential Revision: https://reviews.llvm.org/D35058 llvm-svn: 308476
* fix some typos in the docSylvestre Ledru2017-01-141-2/+2
| | | | llvm-svn: 292014
* Move the global variables representing each Target behind accessor functionMehdi Amini2016-10-091-3/+3
| | | | | | | | This avoids "static initialization order fiasco" Differential Revision: https://reviews.llvm.org/D25412 llvm-svn: 283702
* [docs] Fixing Sphinx warnings to unclog the buildbotRenato Golin2016-07-201-31/+31
| | | | | | | | | | | | | | | | | | | | | | | Lots of blocks had "llvm" or "nasm" syntax types but either weren't following the syntax, or the syntax has changed (and sphinx hasn't keep up) or the type doesn't even exist (nasm?). Other documents had :options: what were invalid. I only removed those that had warnings, and left the ones that didn't, in order to follow the principle of least surprise. This is like this for ages, but the buildbot is now failing on errors. It may take a while to upgrade the buildbot's sphinx, if that's even possible, but that shouldn't stop us from getting docs updates (which seem down for quite a while). Also, we're not losing any syntax highlight, since when it doesn't parse, it doesn't colour. Ie. those blocks are not being highlighted anyway. I'm trying to get all docs in one go, so that it's easy to revert later if we do fix, or at least easy to know what's to fix. llvm-svn: 276109
* [Docs][WritingAnLLVMBackend] Makefiles are deprecatedChris Bieneman2016-05-261-15/+13
| | | | | | | | | | | | | | Summary: * docs/WritingAnLLVMBackend.rst: Makefiles are no longer used. The users should use CMakeLists.txt. In order to add the target, the TARGETS_TO_BUILD is replaced with LLVM_ALL_TARGETS. Reviewers: gribozavr, void, beanz Subscribers: llvm-commits Patch By: Visoiu Mistrih Francis (thegameg) Differential Revision: http://reviews.llvm.org/D20700 llvm-svn: 270921
* configure.ac lives in autoconf/, not autotools/Rafael Espindola2014-11-101-1/+1
| | | | | | Patch by Palmer Dabbelt! llvm-svn: 221638
* [docs] Fix some linksSean Silva2014-04-071-1/+1
| | | | | | | | The TableGen docs have changed structure Patch by Tay Ray Chuan! llvm-svn: 205744
* Add a RequireStructuredCFG Field to TargetMachine.Vincent Lejeune2013-12-071-0/+6
| | | | llvm-svn: 196634
* Docs: tweak code-block spacing.Ahmed Bougacha2013-11-181-0/+1
| | | | llvm-svn: 195049
* TableGen: Generate an enum for all named Operand types in tblgen'd InstrInfo.Ahmed Bougacha2013-11-171-0/+44
| | | | llvm-svn: 194978
* Docs: Clearly separate Operand-related paragraphs.Ahmed Bougacha2013-11-171-0/+6
| | | | llvm-svn: 194977
* Docs: Fix typo: NoIntinerary -> NoItinerary.Ahmed Bougacha2013-11-171-1/+1
| | | | llvm-svn: 194976
* TableGen: Enumerate Schedule Model too.Vincent Lejeune2013-09-031-0/+5
| | | | llvm-svn: 189839
* Revert "TableGen: Enumerate Schedule Model too."Tom Stellard2013-07-311-5/+0
| | | | | | This reverts commit 2ca1e4a39c7e0d7a00e66ff5437c6d7ace2404a0. llvm-svn: 187525
* TableGen: Enumerate Schedule Model too.Vincent Lejeune2013-07-311-0/+5
| | | | llvm-svn: 187511
* [docs] Amend confusing titleSean Silva2013-07-011-3/+3
| | | | | | | | | | "Writing an LLVM Compiler Backend" can be misinterpreted as meaning "backend" in the sense of "using LLVM as a backend for your compiler for your new language". This new name is less ambiguous. As a bonus, this brings the title in line with the file name. llvm-svn: 185377
* TableGen: Generate a function for getting operand indices based on their ↵Tom Stellard2013-06-251-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | defined names This patch modifies TableGen to generate a function in ${TARGET}GenInstrInfo.inc called getNamedOperandIdx(), which can be used to look up indices for operands based on their names. In order to activate this feature for an instruction, you must set the UseNamedOperandTable bit. For example, if you have an instruction like: def ADD : TargetInstr <(outs GPR:$dst), (ins GPR:$src0, GPR:$src1)>; You can look up the operand indices using the new function, like this: Target::getNamedOperandIdx(Target::ADD, Target::OpName::dst) => 0 Target::getNamedOperandIdx(Target::ADD, Target::OpName::src0) => 1 Target::getNamedOperandIdx(Target::ADD, Target::OpName::src1) => 2 The operand names are case sensitive, so $dst and $DST are considered different operands. This change is useful for R600 which has instructions with a large number of operands, many of which model single bit instruction configuration values. These configuration bits are common across most instructions, but may have a different operand index depending on the instruction type. It is useful to have a convenient way to look up the operand indices, so these bits can be generically set on any instruction. llvm-svn: 184879
* Give Sparc instruction patterns direct types instead of register classes.Jakob Stoklund Olesen2013-03-241-7/+7
| | | | | | | Also update the documentation since Sparc is the nicest backend, and used as an example in WritingAnLLVMBackend. llvm-svn: 177835
* remove the rest of the "written by" lines in the documentation. It isChris Lattner2013-01-101-2/+0
| | | | | | | against the developer policy to include this sort of thing as SVN blame already captures this in a far more fine-grained way. llvm-svn: 172109
* docs: Fix FIXMESean Silva2012-12-311-0/+5
| | | | | | | I actually made a think-o when writing this FIXME since I wrote LangRef but it should actually have said WritingAnLLVMBackend. llvm-svn: 171293
* Documentation: convert WritingAnLLVMPass.html to reST.Dmitri Gribenko2012-12-121-2/+2
| | | | | | Patch by Anthony Mykhailenko with small fixes by me. llvm-svn: 169992
* Documentation: convert WritingAnLLVMBackend.html to reSTDmitri Gribenko2012-12-011-0/+1835
llvm-svn: 169087
OpenPOWER on IntegriCloud