Chris Lattner
b2145a86f7
minor edits
...
llvm-svn: 43807
2007-11-07 05:28:43 +00:00
Chris Lattner
30f1db1ad9
edits.
...
llvm-svn: 43804
2007-11-07 05:07:10 +00:00
Chris Lattner
26f288b9ea
fixes from Kelly Wilson.
...
llvm-svn: 43767
2007-11-06 18:13:32 +00:00
Bill Wendling
56235a28ce
Clarify some of the iostreams stuff.
...
llvm-svn: 43766
2007-11-06 09:36:34 +00:00
Chris Lattner
ff25240bae
edits for chapter 3
...
llvm-svn: 43761
2007-11-06 07:26:32 +00:00
Chris Lattner
401bf39fa4
chapter 2 edits
...
llvm-svn: 43760
2007-11-06 07:16:22 +00:00
Chris Lattner
f0d84f1cc7
edits
...
llvm-svn: 43758
2007-11-06 06:32:18 +00:00
Chris Lattner
978ec3c389
clarify what proto is.
...
llvm-svn: 43753
2007-11-06 05:07:30 +00:00
Chris Lattner
0bf330a1bc
Add a real intro to the series.
...
llvm-svn: 43752
2007-11-06 05:02:48 +00:00
Chris Lattner
4f4048a174
typo from Ryan Brown.
...
llvm-svn: 43748
2007-11-06 01:40:41 +00:00
Chris Lattner
e6819aeee0
fixes from Ryan Brown.
...
llvm-svn: 43747
2007-11-06 01:39:12 +00:00
Owen Anderson
0d28238a1f
Add a missing #include.
...
llvm-svn: 43746
2007-11-06 01:26:56 +00:00
Dan Gohman
08143e397d
Add support for vector remainder operations.
...
llvm-svn: 43744
2007-11-05 23:35:22 +00:00
Chris Lattner
2f86ed734d
merge in various fixes from Kelly Wilson.
...
llvm-svn: 43731
2007-11-05 20:13:56 +00:00
Chris Lattner
fbfae1bd7e
add some links to the tutorial index and between chapters.
...
llvm-svn: 43730
2007-11-05 20:04:56 +00:00
Chris Lattner
a25729e0d0
grammaro
...
llvm-svn: 43729
2007-11-05 19:33:52 +00:00
Chris Lattner
4484d8d7f0
recursive types are our friend.
...
llvm-svn: 43727
2007-11-05 19:28:07 +00:00
Chris Lattner
2a8fd134ea
mention possibility of using a visitor
...
llvm-svn: 43726
2007-11-05 19:25:14 +00:00
Chris Lattner
a94cfa13e7
clarify why prototype::codegen returns a function.
...
llvm-svn: 43725
2007-11-05 19:22:50 +00:00
Chris Lattner
fd3cb0890b
TOC for chapter 8
...
llvm-svn: 43724
2007-11-05 19:10:15 +00:00
Chris Lattner
639a18dc26
add table of contents to each chapter.
...
llvm-svn: 43723
2007-11-05 19:06:59 +00:00
Chris Lattner
38eec3071a
add link to llvmbuilder doxygen docs
...
llvm-svn: 43719
2007-11-05 18:02:15 +00:00
Chris Lattner
9b2f7773ac
spell identifier correctly.
...
llvm-svn: 43718
2007-11-05 17:54:34 +00:00
Chris Lattner
e02310d5e3
fix typo
...
llvm-svn: 43717
2007-11-05 17:52:04 +00:00
Chris Lattner
2172186c7b
Dan points out that mem2reg also promotes vectors: be more precise.
...
llvm-svn: 43715
2007-11-05 17:45:54 +00:00
Chris Lattner
3527796804
clarify
...
llvm-svn: 43712
2007-11-05 17:39:26 +00:00
Chris Lattner
3a39ad630a
fix typo
...
llvm-svn: 43711
2007-11-05 17:38:34 +00:00
Duncan Sands
d6f131ba6f
Fix some typos.
...
llvm-svn: 43709
2007-11-05 16:04:58 +00:00
Duncan Sands
f8bc406d5d
Trivial fixes.
...
llvm-svn: 43707
2007-11-05 15:15:50 +00:00
Chris Lattner
6cdadb6041
add a link.
...
llvm-svn: 43702
2007-11-05 07:02:49 +00:00
Chris Lattner
044edf41df
finish the tutorial, yaay.
...
comments and feedback welcome.
llvm-svn: 43701
2007-11-05 07:00:54 +00:00
Gordon Henriksen
2657b218ea
Bringing Passes.html up-to-date with the deletion of the
...
-emitbitcode option and the addition of -preverify.
llvm-svn: 43696
2007-11-05 02:05:35 +00:00
Chris Lattner
b7a5dbb4db
Add the first section of chapter 8.
...
llvm-svn: 43695
2007-11-05 01:58:13 +00:00
Chris Lattner
350759513b
finish the chapter.
...
llvm-svn: 43689
2007-11-05 00:23:57 +00:00
Chris Lattner
0e6b674993
fix typos
...
llvm-svn: 43682
2007-11-04 19:42:13 +00:00
Gordon Henriksen
ad45991a86
Validation fix.
...
llvm-svn: 43679
2007-11-04 18:17:58 +00:00
Gordon Henriksen
c55d1f6c7f
Typo fix.
...
llvm-svn: 43678
2007-11-04 18:14:08 +00:00
Gordon Henriksen
9f6c4c45d7
Completing Passes.html with the exception of -emitbitcode, which should be
...
removed. This document could still stand for significant improvement:
* Editing the pass descriptions; most were lifted with minimal editing from
comments. Although implementation details were elided, many of the were not
written for the audience that would be interested in this document.
* More "before and after" examples.
* More implicit dependency details. (Perhaps listing transforms in
-std-compile-opts order would help alleviate this.)
* Adding documentation for how to invoke passes programmatically.
* Rearranging the document into a more logical taxonomy. For instance, putting
profiling passes together.
llvm-svn: 43677
2007-11-04 18:10:18 +00:00
Gordon Henriksen
a18a276350
Fix a validation error.
...
llvm-svn: 43675
2007-11-04 16:17:00 +00:00
Gordon Henriksen
d568767ecb
Finishing initial docs for all transformations in Passes.html.
...
Also cleaned up some comments in source files.
llvm-svn: 43674
2007-11-04 16:15:04 +00:00
Chris Lattner
65a146d418
finish the 'Memory in LLVM' section
...
llvm-svn: 43667
2007-11-03 22:22:30 +00:00
Chris Lattner
dfcc3f26ae
hack and slash the first 20% of chapter seven.
...
llvm-svn: 43663
2007-11-03 08:55:29 +00:00
Chris Lattner
74f87df108
fix typos
...
llvm-svn: 43637
2007-11-02 05:54:25 +00:00
Chris Lattner
ba2c3cdebb
Finish chapter 6, and add a spiffy demo that shows off the language.
...
llvm-svn: 43636
2007-11-02 05:42:52 +00:00
Chris Lattner
68613c7d31
Add the start of chapter 6, still much to go.
...
llvm-svn: 43607
2007-11-01 06:49:54 +00:00
Chris Lattner
059a8df289
add a broken gcc version, thanks to P. Durante for pointing this out.
...
llvm-svn: 43602
2007-11-01 04:20:16 +00:00
Chris Lattner
75045da563
fix validation
...
llvm-svn: 43549
2007-10-31 07:30:39 +00:00
Chris Lattner
1db6e89b7a
okay, fine, make me finish this chapter. :)
...
Feedback appreciated!
llvm-svn: 43548
2007-10-31 07:29:43 +00:00
Chris Lattner
6b0fb58110
add the code for expression code that we'll add, though most of the
...
description is missing.
llvm-svn: 43547
2007-10-31 06:47:39 +00:00
Chris Lattner
149c55aba4
Add the first half of chapter 5: if/then/else.
...
To come: for statement.
llvm-svn: 43546
2007-10-31 06:30:21 +00:00
Chris Lattner
da1988477d
__main is dead along with llvm-gcc3.
...
llvm-svn: 43545
2007-10-31 05:53:31 +00:00
Gordon Henriksen
78c63ac41e
More fleshing out of docs/Passes.html, plus some typo fixes and
...
improved wording in source files.
llvm-svn: 43377
2007-10-26 03:03:51 +00:00
Chris Lattner
991b6b9d0c
typo
...
llvm-svn: 43351
2007-10-25 18:05:29 +00:00
Chris Lattner
76a2273f6e
some minor edits, link to Passes.html, make one point
...
I forgot about yesterday.
llvm-svn: 43350
2007-10-25 17:52:39 +00:00
Gordon Henriksen
77d27523b1
Fleshing out docs/Passes.html for some analyses.
...
llvm-svn: 43337
2007-10-25 10:18:27 +00:00
Gordon Henriksen
ac72db5dbe
Passes.html now 'passes' validation.
...
llvm-svn: 43335
2007-10-25 08:58:56 +00:00
Gordon Henriksen
50768f89d9
Bringing Passes.html structurally up-to-date, and enabling
...
semi-automated maintenance.
llvm-svn: 43334
2007-10-25 08:46:12 +00:00
Owen Anderson
4cee0451f0
Fix an obvious typo.
...
llvm-svn: 43333
2007-10-25 06:50:30 +00:00
Owen Anderson
4c209da848
More tutorial cleanups.
...
llvm-svn: 43332
2007-10-25 06:49:29 +00:00
Owen Anderson
af8059c1a7
Add proper footers.
...
llvm-svn: 43331
2007-10-25 06:45:01 +00:00
Owen Anderson
a24e5d6996
Don't bother providing code samples. Maintaining zip files in the repository is a pain.
...
llvm-svn: 43330
2007-10-25 06:41:23 +00:00
Chris Lattner
8b59eafb89
Add chapter 4, feedback appreciated.
...
llvm-svn: 43329
2007-10-25 06:23:36 +00:00
Chris Lattner
46b4281b6a
Run the verifier on generated code.
...
llvm-svn: 43327
2007-10-25 04:30:35 +00:00
Owen Anderson
544f860f59
Update Makefile to use simpler llvm-config parameters.
...
llvm-svn: 43292
2007-10-24 16:06:42 +00:00
Owen Anderson
4c9dbd1e9f
Update Makefile to use simpler llvm-config parameters.
...
llvm-svn: 43291
2007-10-24 16:04:08 +00:00
Chris Lattner
9a760ebf32
further simplify run options, thanks to gordonh for pointing this out
...
llvm-svn: 43288
2007-10-24 05:09:48 +00:00
Chris Lattner
1fb0d5df69
Fix instructions now that PR1739 is fixed.
...
llvm-svn: 43287
2007-10-24 04:37:23 +00:00
Chris Lattner
c3def1530a
Fix validation problems, which were somewhat ironically in the "valid html" button code :)
...
llvm-svn: 43247
2007-10-23 06:30:50 +00:00
Chris Lattner
e9b16ec28a
add a skeleton for part 4
...
llvm-svn: 43246
2007-10-23 06:27:55 +00:00
Chris Lattner
a02ab559a1
complete the codegen chapter
...
llvm-svn: 43245
2007-10-23 06:23:57 +00:00
Owen Anderson
b5d8904909
Now with valid HTML 4.01!
...
llvm-svn: 43244
2007-10-23 06:22:21 +00:00
Owen Anderson
3ee597e34a
Add a link to the "writing an optimization" tutorial.
...
llvm-svn: 43243
2007-10-23 06:17:39 +00:00
Owen Anderson
c4bb8c75ca
Add downloadable code sample for tutorial 2.
...
llvm-svn: 43242
2007-10-23 06:05:37 +00:00
Owen Anderson
299be453b5
Add the second of the "basic topics" tutorials.
...
llvm-svn: 43241
2007-10-23 06:03:24 +00:00
Owen Anderson
9e87698ec1
Reorder the optimization and bitcode tutorials.
...
llvm-svn: 43240
2007-10-23 06:02:14 +00:00
Chris Lattner
61353b41df
Fix up a broken #include, move code to its own section, add conclusions.
...
llvm-svn: 43239
2007-10-23 05:43:01 +00:00
Chris Lattner
93b76e0c60
Finish up expr codegen.
...
llvm-svn: 43238
2007-10-23 04:51:30 +00:00
Chris Lattner
61b4ec70aa
several improvements suggested by Dan, thanks!
...
llvm-svn: 43237
2007-10-23 04:27:44 +00:00
Chris Lattner
ce2c3a456f
fit in 80 cols :)
...
llvm-svn: 43222
2007-10-22 16:44:31 +00:00
Chris Lattner
560762d118
start of chapter 3
...
llvm-svn: 43221
2007-10-22 07:01:42 +00:00
Owen Anderson
c2b2fc0a26
Fix a few typos I noticed.
...
llvm-svn: 43220
2007-10-22 06:48:28 +00:00
Owen Anderson
3295cfde98
Add downloadable code samples.
...
llvm-svn: 43219
2007-10-22 06:35:07 +00:00
Chris Lattner
3a48708c91
Check in part 2: parser and ast.
...
llvm-svn: 43218
2007-10-22 06:34:15 +00:00
Owen Anderson
bbed04336c
Fix some code to make it actually work.
...
llvm-svn: 43217
2007-10-22 06:29:31 +00:00
Bill Wendling
8830ffed4c
Put correct link in example
...
llvm-svn: 43216
2007-10-22 05:10:05 +00:00
Chris Lattner
5e0f459da6
add part 1, review appreciated.
...
llvm-svn: 43215
2007-10-22 04:32:37 +00:00
Chris Lattner
5e63999d71
add an outline for "part 2".
...
llvm-svn: 43214
2007-10-22 03:19:07 +00:00
Chris Lattner
c14c8cd1a7
rename tutorial 1 -> JITTutorial1, make unimplemented links not be dead links.
...
llvm-svn: 43213
2007-10-22 03:12:24 +00:00
Owen Anderson
18be874e67
Some improvements based on feedback from Anders.
...
llvm-svn: 43203
2007-10-20 06:12:33 +00:00
Owen Anderson
9f2be01f86
Fix some weird indenting in code.
...
llvm-svn: 43202
2007-10-20 05:41:39 +00:00
Owen Anderson
f747ab10fb
Use getOrInsertFunction() in tutorial 1. This makes for shorter, simpler, and better example code.
...
llvm-svn: 43201
2007-10-20 05:40:47 +00:00
Owen Anderson
b207ff2c18
Add the beginnings of an LLVM tutorial. If anyone has suggestions, comments,
...
or would like to contribute, let me know!
llvm-svn: 43200
2007-10-20 05:23:06 +00:00
Dan Gohman
d0806a0508
Don't mention -enable-unsafe-fp-math in LangRef.html, as that option is
...
assumed to globally mutate the spec.
llvm-svn: 43078
2007-10-17 18:05:13 +00:00
Dan Gohman
d4f2165007
Document the -view-sunit-dags option.
...
llvm-svn: 43015
2007-10-15 21:07:59 +00:00
Dan Gohman
b6324c1243
Document the new llvm.sin, llvm.cos, and llvm.pow intrinsics. Feedback
...
is welcome!
llvm-svn: 43007
2007-10-15 20:30:11 +00:00
Gordon Henriksen
a699c4dc65
Fixing a typo. Found by Kevin André!
...
llvm-svn: 42956
2007-10-14 00:34:53 +00:00
Chris Lattner
104c48ab8f
Various improvements to the documentation, contributed by
...
Joshua Haberman!
llvm-svn: 42763
2007-10-08 18:42:45 +00:00
Evan Cheng
4c73befe28
LLVM does not use the old style simple isel any more.
...
llvm-svn: 42758
2007-10-08 17:54:24 +00:00
Chris Lattner
f0e5011d21
Clarify that shifts that are too large are undefined.
...
llvm-svn: 42588
2007-10-03 21:01:14 +00:00
Chris Lattner
87a3dbe743
remove extraneous tag
...
llvm-svn: 42581
2007-10-03 17:34:29 +00:00