Commit Graph

92 Commits

Author SHA1 Message Date
Chris Lattner
729eb14ae8 Various updates from Sam Bishop:
"I have been working my way through the JIT and Kaleidoscope tutorials in my
(minuscule) spare time.  Thanks again for writing them!  I have attached a
patch containing some minor changes, ranging from spelling and grammar fixes
to adding a "Next: <next tutorial section>" hyperlink to the bottom of each
page.

Every page has been given the "next link" treatment, but otherwise I'm only
half way through the Kaleidoscope tutorial.  I will send a follow-on patch
if time permits."



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46933 91177308-0d34-0410-b5e6-96231b3b80d8
2008-02-10 19:11:04 +00:00
Chris Lattner
515686b130 dump the module *before* we delete it, not after.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46741 91177308-0d34-0410-b5e6-96231b3b80d8
2008-02-05 06:18:42 +00:00
Chris Lattner
c80c23ff63 fix typo noticed by Joshua Pennington
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44522 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-02 22:46:01 +00:00
Chris Lattner
51c971701a Add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44414 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-28 19:26:42 +00:00
Chris Lattner
61ad449be8 !< is >=, not >. Thanks to Max Hailperin for pointing this out!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44291 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-23 22:19:33 +00:00
Owen Anderson
f4bc9b1802 Teach me to do stuff late at night.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44236 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-19 16:10:59 +00:00
Owen Anderson
f1c922181b Fix a factually incorrect statement pointed out by Max Hailperin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44228 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-19 07:44:43 +00:00
Chris Lattner
b7e6b1ab70 many edits, patch by Kelly Wilson!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44157 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-15 04:51:31 +00:00
Chris Lattner
41fcea3bdb Many typos, grammaro, and wording fixes. Patch by
Kelly Wilson, thanks!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44043 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-13 07:06:30 +00:00
Gordon Henriksen
bb310f1b9b Typo fix in the tutorial.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44014 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-12 13:46:21 +00:00
Chris Lattner
881649809b minor edit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43813 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-07 07:07:55 +00:00
Chris Lattner
8bbe014f03 final edits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43812 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-07 06:46:51 +00:00
Chris Lattner
1e46a6cc7b chapter 7 edits
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43811 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-07 06:34:39 +00:00
Chris Lattner
3616a8a415 edits for chapter 7
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43810 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-07 06:06:38 +00:00
Chris Lattner
1092a96468 edits for chapter 5
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43808 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-07 05:47:48 +00:00
Chris Lattner
a54c2019e1 minor edits
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43807 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-07 05:28:43 +00:00
Chris Lattner
d96b159fe3 edits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43804 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-07 05:07:10 +00:00
Chris Lattner
bd779a3a1f fixes from Kelly Wilson.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43767 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-06 18:13:32 +00:00
Chris Lattner
7badb2d810 edits for chapter 3
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43761 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-06 07:26:32 +00:00
Chris Lattner
cde1d9db3f chapter 2 edits
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43760 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-06 07:16:22 +00:00
Chris Lattner
4134c2821f edits
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43758 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-06 06:32:18 +00:00
Chris Lattner
a1cd224a23 clarify what proto is.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43753 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-06 05:07:30 +00:00
Chris Lattner
95ce0d61ab Add a real intro to the series.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43752 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-06 05:02:48 +00:00
Chris Lattner
efcc3f5c5e typo from Ryan Brown.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43748 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-06 01:40:41 +00:00
Chris Lattner
711552174e fixes from Ryan Brown.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43747 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-06 01:39:12 +00:00
Owen Anderson
89c94f5ced Add a missing #include.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43746 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-06 01:26:56 +00:00
Chris Lattner
619bc0ac17 merge in various fixes from Kelly Wilson.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43731 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-05 20:13:56 +00:00
Chris Lattner
0e555b1ab0 add some links to the tutorial index and between chapters.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43730 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-05 20:04:56 +00:00
Chris Lattner
bb80f93c47 grammaro
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43729 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-05 19:33:52 +00:00
Chris Lattner
9ca08f3d8e recursive types are our friend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43727 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-05 19:28:07 +00:00
Chris Lattner
cac2135bc8 mention possibility of using a visitor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43726 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-05 19:25:14 +00:00
Chris Lattner
cf9893d28c clarify why prototype::codegen returns a function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43725 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-05 19:22:50 +00:00
Chris Lattner
99005a4b3b TOC for chapter 8
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43724 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-05 19:10:15 +00:00
Chris Lattner
128eb863df add table of contents to each chapter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43723 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-05 19:06:59 +00:00
Chris Lattner
f6e53df441 add link to llvmbuilder doxygen docs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43719 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-05 18:02:15 +00:00
Chris Lattner
20a0c80f7e spell identifier correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43718 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-05 17:54:34 +00:00
Chris Lattner
b50196413a fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43717 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-05 17:52:04 +00:00
Chris Lattner
a56b22d7f7 Dan points out that mem2reg also promotes vectors: be more precise.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43715 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-05 17:45:54 +00:00
Chris Lattner
fc60ab0487 clarify
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43712 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-05 17:39:26 +00:00
Chris Lattner
01fcc04570 fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43711 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-05 17:38:34 +00:00
Duncan Sands
72261ff1ee Fix some typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43709 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-05 16:04:58 +00:00
Duncan Sands
e0a34353ee Trivial fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43707 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-05 15:15:50 +00:00
Chris Lattner
b0f0deb069 add a link.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43702 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-05 07:02:49 +00:00
Chris Lattner
a3f07ef525 finish the tutorial, yaay.
comments and feedback welcome.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43701 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-05 07:00:54 +00:00
Chris Lattner
b8fc650b48 Add the first section of chapter 8.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43695 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-05 01:58:13 +00:00
Chris Lattner
62a709d74b finish the chapter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43689 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-05 00:23:57 +00:00
Chris Lattner
2e5d07e3ea fix typos
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43682 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-04 19:42:13 +00:00
Chris Lattner
e719831b1c finish the 'Memory in LLVM' section
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43667 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-03 22:22:30 +00:00
Chris Lattner
00c992dde0 hack and slash the first 20% of chapter seven.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43663 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-03 08:55:29 +00:00
Chris Lattner
b5d81b3e66 fix typos
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43637 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-02 05:54:25 +00:00