summaryrefslogtreecommitdiffstats
path: root/llvm/docs/GlobalISel
Commit message (Collapse)AuthorAgeFilesLines
* [docs] NFC: Fix typos in documentsHans Wennborg2020-01-071-1/+1
| | | | | | | | | "the the" -> "the" "an" -> "a" Patch by Kazuaki Ishizaki <ishizaki@jp.ibm.com>! Differential revision: https://reviews.llvm.org/D72091
* Try to fix sphinx "Could not lex literal_block as "llvm"" warning.Simon Pilgrim2019-11-091-2/+2
| | | | Code block isn't IR - so treat it as "none" instead.
* [globalisel][docs] Rework GMIR documentation and add an early GenericOpcode ↵Daniel Sanders2019-11-052-22/+38
| | | | | | | | | reference It looks like I pushed an older version of this commit without the review fixups earlier. This applies the review changes Differential Revision: https://reviews.llvm.org/D69545
* [globalisel][docs] Rework GMIR documentation and add an early GenericOpcode ↵Daniel Sanders2019-11-053-73/+793
| | | | | | | | | | | | | | | | | | | | | | | | | | | reference Summary: Rework the GMIR documentation to focus more on the end user than the implementation and tie it in to the MIR document. There was also some out-of-date information which has been removed. The quality of the GenericOpcode reference is highly variable and drops sharply as I worked through them all but we've got to start somewhere :-). It would be great if others could expand on this too as there is an awful lot to get through. Also fix a typo in the definition of G_FLOG. Previously, the comments said we had two base-2's (G_FLOG and G_FLOG2). Reviewers: aemerson, volkan, rovka, arsenm Reviewed By: rovka Subscribers: wdng, arphaman, jfb, Petar.Avramovic, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D69545
* [globalisel][docs] Add a section about debugging with the block extractorDaniel Sanders2019-11-052-0/+55
| | | | | | | | | | | | Summary: Depends on D69644 Reviewers: rovka, volkan, arsenm Subscribers: wdng, Petar.Avramovic, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D69645
* [globalisel][docs] Add KnownBits Analysis documentationDaniel Sanders2019-11-052-0/+101
| | | | | | | | | | | | | | | Summary: This is largely based off of the slides from the keynote Depends on D69545 Reviewers: volkan, rovka, arsenm Subscribers: wdng, arphaman, Petar.Avramovic, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D69644
* [globalisel][docs] Add the tutorial to the Porting documentDaniel Sanders2019-10-301-0/+7
| | | | | In lieu of converting that tutorial to text, add a link to the porting tutorial from the 2017 Dev Meeting to the porting page
* [globalisel][docs] Rework the Legalizer page slightlyDaniel Sanders2019-10-301-21/+17
| | | | | | | | | | The legalizer page was in a fairly good state. I've mostly just inlined some information as a note and removed a reference to potential future work that I think is very unlikely to be done (it's very hard to tell if a pattern or set of patterns fully covers a node due to C++ predicates). Also added a note that 'selectable' doesn't mean that InstructionSelect must do it.
* [globalisel][docs] Add a pass indexDaniel Sanders2019-10-301-0/+9
|
* [globalisel][docs] Fix a label that was renamedDaniel Sanders2019-10-301-2/+2
|
* [globalisel][docs] Fix warning treated as errorDaniel Sanders2019-10-291-1/+1
| | | | | | | | | I had hoped that I could have some ``` .. code-block:: MIR ``` sections for MIR examples which causes a warning about pygments not supporting it but we have warnings treated as errors
* [globalisel][docs] Rewrite the IRTranslator documentationDaniel Sanders2019-10-291-27/+65
| | | | | | | | | | | | | | | | | | | | | | Summary: I haven't refreshed the Function Calls section as I don't feel I have sufficient knowledge of that area. It would be appreciated if someone could review that section. Note: I'm aware that pygments doesn't support 'mir' as used in one of the code-block directives. This currently emits a warning and I decided to keep it to enable finding them later. Maybe we can teach pygments to support it. Depends on D69456 Reviewers: volkan, aditya_nandakumar Subscribers: rovka, Petar.Avramovic, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D69457
* [globalisel][docs] Rewrite the pipeline overviewDaniel Sanders2019-10-296-51/+106
| | | | | | | | | | | | | | | | | | | | Summary: Rewrite the pipeline overview to be more focused on the structure and flexibility as well as highlight the increased usefulness of MachineVerifier and increased testability resulting from the smaller incremental passes approach. The diagrams are lifted from the slides for the LLVMDev 2019 talk 'Generating Optimized Code with GlobalISel' and adapted to be readable on the white background used in the docs. Reviewers: volkan Subscribers: rovka, Petar.Avramovic, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D69456
* [globalisel] Restructure the GlobalISel documentationDaniel Sanders2019-10-259-0/+945
There's a couple minor deletions amongst this but 99% of it is just moving the documentation around to prepare the way for more meaningful changes.
OpenPOWER on IntegriCloud