Tshepang Lekhonkhobe
8b5f9d119a
make sentence more simple ( #1353 )
2022-05-20 21:37:01 +09:00
Yuki Okushi
0312fa6b20
Replace a broken YouTube link ( #1295 )
2022-05-16 11:36:40 -03:00
Samuel Moelius
34f726b933
Typo ( #1313 )
2022-02-22 18:22:28 -06:00
Noah Lev
7c8d7c57a4
Fix some broken links
2021-12-09 09:11:48 -06:00
Dylan MacKenzie
6643adf704
Describe drop elaboration ( #1240 )
2021-11-18 13:31:13 -05:00
Lucas Kent
363f6ce09c
Spelling fixes
2021-11-15 08:23:01 -06:00
Janggun Lee
d03c7b8626
Fix `rustc_mir` related links ( #1228 )
...
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
Co-authored-by: nhamovitz <18648574+nhamovitz@users.noreply.github.com>
2021-10-29 00:58:26 +09:00
Smitty
e0055323fd
Mention unpretty=mir-cfg for debugging MIR
2021-04-23 16:25:11 -04:00
Camelid
892e9091cb
Add quickstart for adding a new optimization ( #1094 )
2021-04-01 19:24:44 +02:00
Camelid
d6bd146507
Fix double-word typos ( #1084 )
...
Inspired by #1079 . I used this command to find these typos:
rg --multiline --pcre2 '\b([a-zA-Z]+) \1\b' src -tmd
There were a couple false positives of the form "that that" meaning
"that it" or "that this".
2021-03-12 03:29:19 +09:00
LeSeulArtichaut
d29b1c39cb
Add stub about the THIR
2021-03-10 12:00:27 -05:00
Joshua Nelson
584ccc7608
Add link to promotion.md ( #1033 )
...
* Add link to promotion.md
* Improve link text
Co-authored-by: Camelid <camelidcamel@gmail.com>
Co-authored-by: Camelid <camelidcamel@gmail.com>
2021-01-22 11:49:52 +01:00
Iñaki Garay
7a80b01e01
Add mdbook-toc, markers, and documentation ( #1028 )
...
* Add mdbook-toc to travis, book.toml and documentation
* Add toc markers
* Whitespace cleanup and some punctuation
* Addressed comments
2021-01-20 14:33:11 -03:00
Iñaki Garay
7268945c0f
rustc invocation standarized ( #992 )
...
* rustc invocation standarized
* Addressed comments
* Addressed comments
* Addressed comments
* Updated command output
2020-12-28 23:34:51 +01:00
Siddharth
2adddd99f2
Edit the Mir page to fix infelicities. ( #984 )
...
* Edit the Mir page to fix infelicities.
- Remove dead reference to Mir. reflow sentence to talk about
`Body::local_decls`
- Fix broken links to render properly.
- Add links for `Terminator`, `RETURN_PLACE`, `ProjectionElem`.
* Update src/mir/index.md
Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com>
* Edit the Mir page to fix infelicities.
- Remove dead reference to Mir. reflow sentence to talk about
`Body::local_decls`
- Fix broken links to render properly.
- Add links for `Terminator`, `RETURN_PLACE`, `ProjectionElem`.
Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com>
2020-12-06 15:36:52 +01:00
Siddharth
a4871f5013
Add links to the rust documentation for all MIR structs ( #982 )
...
* Add links to the rust documentation for all MIR structs
* Update src/mir/index.md
Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com>
* Update src/mir/index.md
Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com>
Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com>
2020-12-06 14:40:45 +01:00
cjkenn
49069a0233
add small explanation of why fuel can be useful for debugging
2020-11-22 08:43:00 -05:00
cjkenn
ed89d6f643
add mir-opt section for optimization fuel
2020-11-22 08:43:00 -05:00
Camelid
661ba74612
Provide a brief example of a data-flow analysis
2020-11-12 11:53:00 -05:00
Camelid
3e4c0c70f2
Explain the purpose of the bottom value
2020-11-12 11:53:00 -05:00
Camelid
6a4c0ee05f
Add a section on data-flow convergence
2020-11-12 11:53:00 -05:00
Dániel Buga
727a536ba9
Link to the -Zmir-opt-level proposal
...
I was confused about what the different levels mean. This PR adds a paragraph that shortly explains the rationale behind different mir-opt-levels and links to the current proposal where there's some information about them.
Let me know if I wrote something unreasonable or incorrect.
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-09-23 18:42:23 -04:00
Camelid
0a80107e34
Revert "Mention that places are sometimes called "lvalues""
...
This reverts commit bf5e1c451d .
2020-09-17 11:35:14 -04:00
Camelid
e645304ce9
Mention that places are sometimes called "lvalues"
2020-09-17 11:35:14 -04:00
Dylan MacKenzie
42be58a751
Add link for `AnalysisDomain::NAME`
2020-09-16 00:21:55 -04:00
Dylan MacKenzie
ca60ec06df
Describe how to generate graphviz diagrams for dataflow
2020-09-16 00:21:55 -04:00
Dylan MacKenzie
1fffd48313
Update `Visitor` and `Cursor` examples
2020-09-13 15:58:02 -04:00
Dylan MacKenzie
ddc23efa5f
Line edits
2020-09-13 15:58:02 -04:00
Dylan MacKenzie
0cc3a9f8f3
Add missing link to `Engine`
2020-09-13 15:58:02 -04:00
Dylan MacKenzie
3db7809e77
Initial draft of MIR dataflow framework docs
2020-09-13 15:58:02 -04:00
Rich Kadel
7b4ab23cc7
Adds documentation to cover spanview output
...
Documents the feature introduced in #76074 .
2020-09-02 12:39:47 +02:00
mark
89f0b60ccc
fix links and names after compiler mv to compiler/
2020-08-31 05:12:13 +02:00
Tshepang Lekhonkhobe
cd2f461d9c
nits
2020-08-26 08:07:52 -04:00
Camelid
51da18c90d
Apply review suggestion
...
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-08-26 13:13:14 +02:00
Camelid
014d434f46
Clarify section on MIR construction
2020-08-26 13:13:14 +02:00
Yuki Okushi
f31532d3b2
Mention `HAIR` to clarify
2020-08-02 08:39:33 -05:00
Yuki Okushi
8a3e706aca
Rename `HAIR` to `THIR`
2020-08-02 08:39:33 -05:00
Takayuki Nakata
973ced6951
Change `rustc::*` to `rustc_middle::*` ( #798 )
2020-07-16 11:13:49 +09:00
Who? Me?!
10a4d76ecd
Reorganize the guide ( #651 )
...
* start on guide reorg
* backend intro
* part 2, 3, 4 intros
* some missing files
* Fix typos
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
Co-Authored-By: Chris Simpkins <git.simpkins@gmail.com>
* add links from intro
* rename compiler source chapter and add placeholder for overview
* rename parts, mv rustc_driver to part 3, make syntax chapter
* update part intros
* add syntax ch intro
* address review comments
* Better overview chapter placeholder
Co-Authored-By: Chris Simpkins <git.simpkins@gmail.com>
* fix link
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
Co-authored-by: Chris Simpkins <git.simpkins@gmail.com>
2020-04-06 13:23:34 -03:00
Paul Daniel Faria
ef8048d986
Add ids to all glossary items, make existing glossary links point to glossary, add links for def id in query.md
2020-04-05 12:46:22 -05:00
LeSeulArtichaut
cb99cfcc1e
Rename `librustc` to `librustc_middle`
2020-03-31 15:43:14 -05:00
Youngsuk Kim
b51dfaa0d1
Clarify sentence meaning
2020-03-15 21:27:40 -05:00
Santiago Pastorino
c05ed676d2
Rename rustc-guide to rustc-dev-guide ( #601 )
...
* Rename rustc-guide to rustc-dev-guide
* rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org
2020-03-10 11:01:43 -03:00
Eduard-Mihai Burtescu
7be25179bd
mir: begin documenting user variable debuginfo. ( #571 )
2020-02-05 23:55:42 +01:00
Yuki Okushi
236c78d993
Fix link
2020-01-13 22:58:05 -06:00
Yuki Okushi
2d61e5cd29
Fix links
2020-01-13 13:14:26 -06:00
Santiago Pastorino
09f6d83008
Minor mir chapter fixes
2019-11-20 08:00:49 -06:00
Who? Me?!
8f729bb3ec
typo
...
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
2019-11-14 13:08:20 -06:00
Who? Me?!
a35f67c21c
typo
...
Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
2019-11-14 13:08:20 -06:00
Mark Mansi
d1614a5c8c
add oli note
2019-11-14 13:08:20 -06:00