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
Chris Lattner
6a6fb7f7b7
remove misleading documentation: LLVM has no atomic support yet.
...
llvm-svn: 42580
2007-10-03 17:33:51 +00:00
Dale Johannesen
dd89d2758e
Document new sqrt and powi handling.
...
llvm-svn: 42540
2007-10-02 17:47:38 +00:00
Owen Anderson
888477339e
Fix typo.
...
llvm-svn: 42521
2007-10-02 00:44:20 +00:00
Owen Anderson
d263cfa1c0
Mention memdep in the AA documentation.
...
llvm-svn: 42519
2007-10-02 00:43:25 +00:00
Chris Lattner
bd0079c603
document DenseSet.
...
llvm-svn: 42475
2007-09-30 00:58:59 +00:00
Gordon Henriksen
da70a73f28
PR1601: etags not configured correctly
...
Resolving this by deleting vestigal etags remnants.
llvm-svn: 42460
2007-09-29 00:42:21 +00:00
Tanya Lattner
586eb8ee47
Update how to release document.
...
Add release version to getting started guide.
llvm-svn: 42454
2007-09-28 22:50:54 +00:00
Gordon Henriksen
0076a6727e
GarbageCollection.html is expanded to encompass the coming
...
capabilities. This is a major rewrite and is easier to read en toto
rather than patchwise.
llvm-svn: 42414
2007-09-27 19:31:36 +00:00
Tanya Lattner
0d675ee06e
Couple of fixes to mention bunzip2 and make instructions more clear.
...
llvm-svn: 42407
2007-09-27 18:14:33 +00:00
Bill Wendling
c9a8c74d28
No, really, it *is* SSSE3. ;-)
...
llvm-svn: 42393
2007-09-27 08:47:31 +00:00
Duncan Sands
a1779909ff
SSSE3 -> SSE3. Reported by Alex Kellett.
...
llvm-svn: 42392
2007-09-27 08:24:36 +00:00
Duncan Sands
2f060736e2
Grammer fix reported by Alex Kellett.
...
llvm-svn: 42391
2007-09-27 08:24:02 +00:00
Duncan Sands
755d9306a3
X86 -> X86-32 in appropriate places.
...
llvm-svn: 42357
2007-09-26 16:24:52 +00:00
Duncan Sands
47fc0a2a5f
Various cleanups. Especially, EH is turned on by default!
...
llvm-svn: 42356
2007-09-26 15:59:54 +00:00
Chris Lattner
f13af33221
ok ok we get it. CBE and vectors don't like each other yet.
...
llvm-svn: 42355
2007-09-26 15:50:21 +00:00
Chris Lattner
4480f42166
be less redundantly redundant.
...
llvm-svn: 42354
2007-09-26 15:48:33 +00:00
Chris Lattner
31d319dce7
make old crappy browsers produce less crappy output :)
...
llvm-svn: 42349
2007-09-26 06:38:59 +00:00
Chris Lattner
828eb3b91f
we support attribute(noinline) now :)
...
llvm-svn: 42343
2007-09-26 06:04:15 +00:00
Chris Lattner
8e06116b8a
update bugs list
...
llvm-svn: 42342
2007-09-26 06:01:35 +00:00
Chris Lattner
4734a358fd
now with more prose.
...
llvm-svn: 42341
2007-09-26 05:44:21 +00:00
Chris Lattner
ccc1b69a52
explain why not vector<bool>
...
llvm-svn: 42324
2007-09-25 22:37:50 +00:00
Bill Wendling
982d57da39
Grammar fix.
...
llvm-svn: 42318
2007-09-25 20:45:10 +00:00
Owen Anderson
5d913aa357
Fill in the sections about my contributions.
...
llvm-svn: 42286
2007-09-25 02:10:58 +00:00
Daniel Berlin
d746bbd908
Add section on bit containers.
...
(Not the most well written stuff in the universe :P)
llvm-svn: 42267
2007-09-24 17:52:25 +00:00