Commit Graph

2396 Commits

Author SHA1 Message Date
Gordon Henriksen
c86b67742a Finishing initial docs for all transformations in Passes.html.
Also cleaned up some comments in source files.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43674 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-04 16:15:04 +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
Chris Lattner
58f2c874d3 Finish chapter 6, and add a spiffy demo that shows off the language.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43636 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-02 05:42:52 +00:00
Chris Lattner
c9d5d2c548 Add the start of chapter 6, still much to go.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43607 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-01 06:49:54 +00:00
Chris Lattner
269f80c71b add a broken gcc version, thanks to P. Durante for pointing this out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43602 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-01 04:20:16 +00:00
Chris Lattner
2e89f3ae2f fix validation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43549 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-31 07:30:39 +00:00
Chris Lattner
6093bd5fee okay, fine, make me finish this chapter. :)
Feedback appreciated!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43548 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-31 07:29:43 +00:00
Chris Lattner
f523480b76 add the code for expression code that we'll add, though most of the
description is missing.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43547 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-31 06:47:39 +00:00
Chris Lattner
602c832c20 Add the first half of chapter 5: if/then/else.
To come: for statement.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43546 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-31 06:30:21 +00:00
Chris Lattner
a631a87ce1 __main is dead along with llvm-gcc3.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43545 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-31 05:53:31 +00:00
Gordon Henriksen
55cbec317d More fleshing out of docs/Passes.html, plus some typo fixes and
improved wording in source files.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43377 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-26 03:03:51 +00:00
Chris Lattner
e949512dfa typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43351 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-25 18:05:29 +00:00
Chris Lattner
7271423a99 some minor edits, link to Passes.html, make one point
I forgot about yesterday.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43350 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-25 17:52:39 +00:00
Gordon Henriksen
0e15dc26ec Fleshing out docs/Passes.html for some analyses.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43337 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-25 10:18:27 +00:00
Gordon Henriksen
ddaa61d8b5 Passes.html now 'passes' validation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43335 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-25 08:58:56 +00:00
Gordon Henriksen
1f5cce0b7b Bringing Passes.html structurally up-to-date, and enabling
semi-automated maintenance.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43334 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-25 08:46:12 +00:00
Owen Anderson
6867aec148 Fix an obvious typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43333 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-25 06:50:30 +00:00
Owen Anderson
18f09925a2 More tutorial cleanups.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43332 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-25 06:49:29 +00:00
Owen Anderson
34ba67adf0 Add proper footers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43331 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-25 06:45:01 +00:00
Owen Anderson
5339f85715 Don't bother providing code samples. Maintaining zip files in the repository is a pain.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43330 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-25 06:41:23 +00:00
Chris Lattner
118749e02c Add chapter 4, feedback appreciated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43329 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-25 06:23:36 +00:00
Chris Lattner
d9b8616c27 Run the verifier on generated code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43327 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-25 04:30:35 +00:00
Owen Anderson
975de81086 Update Makefile to use simpler llvm-config parameters.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43292 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-24 16:06:42 +00:00
Owen Anderson
8f9710b0b2 Update Makefile to use simpler llvm-config parameters.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43291 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-24 16:04:08 +00:00
Chris Lattner
9ac0ca07f9 further simplify run options, thanks to gordonh for pointing this out
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43288 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-24 05:09:48 +00:00
Chris Lattner
06bb404d0a Fix instructions now that PR1739 is fixed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43287 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-24 04:37:23 +00:00
Chris Lattner
8eef4b2d05 Fix validation problems, which were somewhat ironically in the "valid html" button code :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43247 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-23 06:30:50 +00:00
Chris Lattner
c0b42e9558 add a skeleton for part 4
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43246 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-23 06:27:55 +00:00
Chris Lattner
35abbf518f complete the codegen chapter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43245 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-23 06:23:57 +00:00
Owen Anderson
bad82d8c94 Now with valid HTML 4.01!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43244 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-23 06:22:21 +00:00
Owen Anderson
a6f31fe9a1 Add a link to the "writing an optimization" tutorial.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43243 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-23 06:17:39 +00:00
Owen Anderson
a7dfb75726 Add downloadable code sample for tutorial 2.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43242 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-23 06:05:37 +00:00
Owen Anderson
c04ee69007 Add the second of the "basic topics" tutorials.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43241 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-23 06:03:24 +00:00
Owen Anderson
485eff5f90 Reorder the optimization and bitcode tutorials.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43240 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-23 06:02:14 +00:00
Chris Lattner
d93a584eae Fix up a broken #include, move code to its own section, add conclusions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43239 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-23 05:43:01 +00:00
Chris Lattner
d3f0cddb62 Finish up expr codegen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43238 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-23 04:51:30 +00:00
Chris Lattner
28571edba8 several improvements suggested by Dan, thanks!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43237 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-23 04:27:44 +00:00
Chris Lattner
bee175b3dc fit in 80 cols :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43222 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-22 16:44:31 +00:00
Chris Lattner
2e90204d59 start of chapter 3
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43221 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-22 07:01:42 +00:00
Owen Anderson
c6311b9d62 Fix a few typos I noticed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43220 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-22 06:48:28 +00:00
Owen Anderson
c333e4f0cb Add downloadable code samples.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43219 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-22 06:35:07 +00:00
Chris Lattner
e6c9104eb9 Check in part 2: parser and ast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43218 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-22 06:34:15 +00:00
Owen Anderson
d2ae9a9481 Fix some code to make it actually work.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43217 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-22 06:29:31 +00:00
Bill Wendling
8c6c72d0ba Put correct link in example
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43216 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-22 05:10:05 +00:00
Chris Lattner
c38ef54f0b add part 1, review appreciated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43215 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-22 04:32:37 +00:00
Chris Lattner
9de3c39bcf add an outline for "part 2".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43214 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-22 03:19:07 +00:00
Chris Lattner
7d63bea49c rename tutorial 1 -> JITTutorial1, make unimplemented links not be dead links.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43213 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-22 03:12:24 +00:00
Owen Anderson
0ec16ee98e Some improvements based on feedback from Anders.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43203 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-20 06:12:33 +00:00
Owen Anderson
7d69c95759 Fix some weird indenting in code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43202 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-20 05:41:39 +00:00
Owen Anderson
2d279f843c Use getOrInsertFunction() in tutorial 1. This makes for shorter, simpler, and better example code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43201 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-20 05:40:47 +00:00
Owen Anderson
6f1fd94fd3 Add the beginnings of an LLVM tutorial. If anyone has suggestions, comments,
or would like to contribute, let me know!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43200 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-20 05:23:06 +00:00
Dan Gohman
ba83b7eb40 Don't mention -enable-unsafe-fp-math in LangRef.html, as that option is
assumed to globally mutate the spec.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43078 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-17 18:05:13 +00:00
Dan Gohman
e9bb13d494 Document the -view-sunit-dags option.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43015 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-15 21:07:59 +00:00
Dan Gohman
91c284c0a6 Document the new llvm.sin, llvm.cos, and llvm.pow intrinsics. Feedback
is welcome!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43007 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-15 20:30:11 +00:00
Gordon Henriksen
8ac04ff5ac Fixing a typo. Found by Kevin André!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42956 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-14 00:34:53 +00:00
Chris Lattner
f19b8e43b3 Various improvements to the documentation, contributed by
Joshua Haberman!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42763 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-08 18:42:45 +00:00
Evan Cheng
7794935327 LLVM does not use the old style simple isel any more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42758 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-08 17:54:24 +00:00
Chris Lattner
6ccc2d579e Clarify that shifts that are too large are undefined.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42588 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-03 21:01:14 +00:00
Chris Lattner
cc68939ba6 remove extraneous tag
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42581 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-03 17:34:29 +00:00
Chris Lattner
4ef2b76cd1 remove misleading documentation: LLVM has no atomic support yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42580 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-03 17:33:51 +00:00
Dale Johannesen
408f9c1968 Document new sqrt and powi handling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42540 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-02 17:47:38 +00:00
Owen Anderson
d8b4728353 Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42521 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-02 00:44:20 +00:00
Owen Anderson
5a726b8ecf Mention memdep in the AA documentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42519 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-02 00:43:25 +00:00
Chris Lattner
c28476f1d9 document DenseSet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42475 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-30 00:58:59 +00:00
Gordon Henriksen
422937113d PR1601: etags not configured correctly
Resolving this by deleting vestigal etags remnants.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42460 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-29 00:42:21 +00:00
Tanya Lattner
763856526f Update how to release document.
Add release version to getting started guide.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42454 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-28 22:50:54 +00:00
Gordon Henriksen
326e24fff0 GarbageCollection.html is expanded to encompass the coming
capabilities. This is a major rewrite and is easier to read en toto
rather than patchwise.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42414 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-27 19:31:36 +00:00
Tanya Lattner
ff37adc0ce Couple of fixes to mention bunzip2 and make instructions more clear.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42407 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-27 18:14:33 +00:00
Bill Wendling
0678f60bf2 No, really, it *is* SSSE3. ;-)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42393 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-27 08:47:31 +00:00
Duncan Sands
97f214ce97 SSSE3 -> SSE3. Reported by Alex Kellett.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42392 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-27 08:24:36 +00:00
Duncan Sands
20acdce0ed Grammer fix reported by Alex Kellett.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42391 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-27 08:24:02 +00:00
Duncan Sands
0869f4acec X86 -> X86-32 in appropriate places.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42357 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-26 16:24:52 +00:00
Duncan Sands
c90d68bf3d Various cleanups. Especially, EH is turned on by default!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42356 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-26 15:59:54 +00:00
Chris Lattner
9412489650 ok ok we get it. CBE and vectors don't like each other yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42355 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-26 15:50:21 +00:00
Chris Lattner
b323ca805f be less redundantly redundant.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42354 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-26 15:48:33 +00:00
Chris Lattner
6b588d9255 make old crappy browsers produce less crappy output :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42349 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-26 06:38:59 +00:00
Chris Lattner
11d120f9c0 we support attribute(noinline) now :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42343 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-26 06:04:15 +00:00
Chris Lattner
725a0d86ea update bugs list
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42342 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-26 06:01:35 +00:00
Chris Lattner
d4298715f6 now with more prose.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42341 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-26 05:44:21 +00:00
Chris Lattner
7086ce7268 explain why not vector<bool>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42324 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-25 22:37:50 +00:00
Bill Wendling
ee143ade09 Grammar fix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42318 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-25 20:45:10 +00:00
Owen Anderson
50fd00024f Fill in the sections about my contributions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42286 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-25 02:10:58 +00:00
Daniel Berlin
1939ace3ba Add section on bit containers.
(Not the most well written stuff in the universe :P)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42267 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-24 17:52:25 +00:00
Chris Lattner
e5024b7bc2 fix syntax
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42242 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-22 23:41:15 +00:00
Bill Wendling
d40bc4ad43 Validation fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42232 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-22 10:17:08 +00:00
Bill Wendling
79070057c1 Validation fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42231 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-22 10:13:39 +00:00
Bill Wendling
068da27811 Validation fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42230 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-22 10:07:00 +00:00
Bill Wendling
96802d1602 Validation fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42229 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-22 10:03:25 +00:00
Bill Wendling
83f4900c8a Validation fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42228 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-22 09:56:28 +00:00
Bill Wendling
e9a6c35f51 Validation fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42227 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-22 09:54:47 +00:00
Bill Wendling
03c993a125 Validation fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42226 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-22 09:39:19 +00:00
Bill Wendling
03295ca4e6 Validation fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42225 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-22 09:23:55 +00:00
Bill Wendling
eb6aaceb94 Validation fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42224 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-22 09:20:07 +00:00
Bill Wendling
da51c4cbd5 Formatting changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42223 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-22 09:16:44 +00:00
Chris Lattner
885190418f fix bugs in the manual
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42221 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-22 03:17:52 +00:00
Tanya Lattner
d3989a820c Correct names.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42219 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-22 00:03:01 +00:00
Tanya Lattner
91d0b88f17 Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42217 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-22 00:01:26 +00:00
Tanya Lattner
e1a8da08be One last fix to get name correct.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42216 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-21 23:57:59 +00:00
Tanya Lattner
0f5dbfbe14 Fix silly typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42215 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-21 23:57:04 +00:00
Tanya Lattner
39cfba629f Update annotation intrinsic with more details.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42214 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-21 23:56:27 +00:00
Tanya Lattner
b636788914 Adding support for __builtin_annotation with an intrinsic called llvm.annotation. This is similar to llvm.var.annotation but is applied to expressions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42211 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-21 22:59:12 +00:00
Devang Patel
f7a4e2a828 Add missing entry.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42202 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-21 18:02:24 +00:00
Chris Lattner
0d76789337 I cannot spell coalesce :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42196 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-21 17:43:52 +00:00
Chris Lattner
1df4f752f8 gcroot must take concrete types, not arbitrary types.
clean up intrinsic descriptions in langref a bit.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42194 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-21 17:30:40 +00:00
Chris Lattner
8497764d70 Initial hack at 2.1 release notes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42186 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-21 03:54:09 +00:00
Chris Lattner
76c1b97e40 Merge DenseMapKeyInfo & DenseMapValueInfo into DenseMapInfo
Add a new DenseMapInfo::isEqual method to allow clients to redefine
the equality predicate used when probing the hash table.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42042 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-17 18:34:04 +00:00
Chris Lattner
36597a5ddb Change llvm.gcroot to not init the root to null at runtime, this prevents
using it for live-in values etc.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41879 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-12 17:53:10 +00:00
Duncan Sands
f7331b3dd7 Fold the adjust_trampoline intrinsic into
init_trampoline.  There is now only one
trampoline intrinsic.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41841 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-11 14:10:23 +00:00
Nick Lewycky
db7e3c9e99 Fix description of the call instruction. There are two types, with one being
optional.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41785 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-08 13:57:50 +00:00
Anton Korobeynikov
8806c7b1f5 Split eh.select / eh.typeid.for intrinsics into i32/i64 versions. This is needed, because they just "mark" register
liveins and we let frontend solve type issue, not lowering code :)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41763 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-07 11:39:35 +00:00
Duncan Sands
6590b0457c There is an impedance matching problem between LLVM and
gcc exception handling: if an exception unwinds through
an invoke, then execution must branch to the invoke's
unwind target.  We previously tried to enforce this by
appending a cleanup action to every selector, however
this does not always work correctly due to an optimization
in the C++ unwinding runtime: if only cleanups would be
run while unwinding an exception, then the program just
terminates without actually executing the cleanups, as
invoke semantics would require.  I was hoping this
wouldn't be a problem, but in fact it turns out to be the
cause of all the remaining failures in the LLVM testsuite
(these also fail with -enable-correct-eh-support, so turning
on -enable-eh didn't make things worse!).  Instead we need
to append a full-blown catch-all to the end of each
selector.  The correct way of doing this depends on the
personality function, i.e. it is language dependent, so
can only be done by gcc.  Thus this patch which generalizes
the eh.selector intrinsic so that it can handle all possible
kinds of action table entries (before it didn't accomodate
cleanups): now 0 indicates a cleanup, and filters have to be
specified using the number of type infos plus one rather than
the number of type infos.  Related gcc patches will cause
Ada to pass a cleanup (0) to force the selector to always
fire, while C++ will use a C++ catch-all (null).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41484 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-27 15:47:50 +00:00
Tanya Lattner
5efa7e9c96 Rename llvm-gcc4 to llvm-gcc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41380 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-24 23:23:23 +00:00
Duncan Sands
c00c2baf48 Implement review feedback on trampoline documentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41304 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-22 23:39:54 +00:00
Reid Spencer
31cac2e04a Who thought up this crazy formatting scheme?
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40905 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-07 17:57:36 +00:00
Reid Spencer
d5d9e6f0c9 Okay, over/back tags don't next.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40904 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-07 17:48:56 +00:00
Reid Spencer
3baa3aac1b Try an indent level for better formatting.
Add the -version option.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40902 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-07 17:43:48 +00:00
Reid Spencer
acafa2d4c2 Add the code generation options.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40900 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-07 17:12:43 +00:00
Reid Spencer
0ecfb59644 Rearrange options into sections and add the last floating point related option.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40895 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-07 16:29:57 +00:00
Reid Spencer
b7a54b9b72 Add the -disable-excess-fp-precision option.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40894 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-07 16:23:42 +00:00
Reid Spencer
7223f02755 Add another missing option.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40893 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-07 16:21:52 +00:00
Reid Spencer
2c8a748bbe Add some more missing options.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40892 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-07 16:11:57 +00:00
Reid Spencer
f0f4dae3b3 Remove the -f option which is no longer supported, but add the -fake-argv0
option which is similar.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40891 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-07 15:48:16 +00:00
Reid Spencer
2c45228651 Describe the global/local naming convention.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40890 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-07 14:34:28 +00:00
Reid Spencer
944b7f28ac Update links to the command guide generated documentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40855 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-05 23:43:44 +00:00
Reid Spencer
0713ca4255 Comment out configuration tags not supported by doxygen 1.3.9
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40853 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-05 19:51:03 +00:00
Chandler Carruth
6994040a95 This is the patch to provide clean intrinsic function overloading support in LLVM. It cleans up the intrinsic definitions and generally smooths the process for more complicated intrinsic writing. It will be used by the upcoming atomic intrinsics as well as vector and float intrinsics in the future.
This also changes the syntax for llvm.bswap, llvm.part.set, llvm.part.select, and llvm.ct* intrinsics. They are automatically upgraded by both the LLVM ASM reader and the bitcode reader. The test cases have been updated, with special tests added to ensure the automatic upgrading is supported.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40807 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-04 01:51:18 +00:00
Reid Spencer
1539a1cfc6 fp2uint -> fptoui
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40633 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-31 14:40:14 +00:00
Duncan Sands
50f19f5860 Forget to add 'nest' to the list of parameter
attributes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40565 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-27 19:57:41 +00:00
Duncan Sands
36397f5034 Support for trampolines, except for X86 codegen which is
still under discussion.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40549 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-27 12:58:54 +00:00
Devang Patel
26e5a309eb Fix example code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40493 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-25 21:05:39 +00:00
Chris Lattner
b4d2cac15b test commit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40484 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-25 06:15:23 +00:00
Bill Wendling
d4fb79364f Fix some validation errors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40417 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-23 04:44:02 +00:00
Bill Wendling
462fc8aa8f Converted to "svn" and reformatted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40416 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-23 04:41:42 +00:00
Bill Wendling
0dafa8d086 Small change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40413 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-23 03:56:42 +00:00
Bill Wendling
ccef69d781 Point to the correct SVN repository.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40412 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-23 03:56:11 +00:00
Chandler Carruth
6813c15e1d No longer referencing "shared memory" as this can confuse people. The memory is
clearly shared between processors if these instructions are being used, no 
further specification of what type of memory is necessary.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40118 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-20 20:14:52 +00:00
Reid Spencer
1cff40819c Silly HTML
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40117 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-20 20:03:33 +00:00
Reid Spencer
2067764e29 Fix validation errors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40116 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-20 19:59:11 +00:00
Chandler Carruth
2eb93b3f03 This introduces the atomic operation intrinsics into the documentation. This is
a preview for the intrinsics that are going to be implemented over the next few 
weeks.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40115 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-20 19:34:37 +00:00
Reid Spencer
9445e9aaa0 For PR1553:
Change the keywords for the zext and sext parameter attributes to be 
zeroext and signext so they don't conflict with the keywords for the
instructions of the same name. This gets around the ambiguity.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40069 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-19 23:13:04 +00:00
Nick Lewycky
254aa7cf2b Alphabetize. Document -mlimit parameter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39990 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-18 04:24:20 +00:00
Dan Gohman
d6257fe581 Fix the documentation for llvm.sqrt so that sqrt(0) has defined behavior,
which appears to be the intent.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39922 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-16 14:37:41 +00:00
Bill Wendling
18bf0d01b6 Fix validation errors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39917 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-16 08:52:56 +00:00
Bill Wendling
22e37c3f7f Clean up some formatting
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39916 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-16 08:46:40 +00:00
Bill Wendling
77f7469981 Clean up some formatting. Add some doc_code div tags.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39915 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-16 08:44:39 +00:00
Chris Lattner
744ff41e0e remove obsolete note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39825 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-13 20:08:19 +00:00
Chris Lattner
3e63a9d52c fix some bugs in the manual
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39822 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-13 20:01:46 +00:00
Gabor Greif
3bd6e0d9da eliminated all references to 'bytecode' from .pod files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38452 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-09 11:24:05 +00:00