1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
Commit Graph

2629 Commits

Author SHA1 Message Date
Duncan Sands
8216baaed2 Add instructions for building Ada and Fortran.
Adjust mentions of gcc4 to be 4.0/4.2 agnostic.
This file should probably be renamed tor
 GCCFEBuildInstrs.html...

llvm-svn: 47027
2008-02-12 21:22:58 +00:00
Bill Wendling
3891d1f4af More violation fixes.
llvm-svn: 46997
2008-02-12 07:12:46 +00:00
Bill Wendling
9c834ce7c4 Fix validation errors: di -> dt.
llvm-svn: 46996
2008-02-12 07:09:05 +00:00
Bill Wendling
08dd4fca8d Reformatting. Adding "doc_code" divisions for code examples. Updated some
of the examples to reflect the current .TD files.

llvm-svn: 46995
2008-02-12 07:06:19 +00:00
Chris Lattner
30fbb8a24a rip out llvm 2.2 stuff in preparation for llvm 2.3
llvm-svn: 46993
2008-02-12 06:29:45 +00:00
Chris Lattner
22172fbf15 heavily refactor this to have less duplication between BUILD_FOR_WEBSITE mode and not.
llvm-svn: 46991
2008-02-12 06:07:47 +00:00
Chris Lattner
784a67b822 remove unknown details
llvm-svn: 46985
2008-02-12 05:07:12 +00:00
Tanya Lattner
2148b386aa Add 2.2 release tag.
llvm-svn: 46981
2008-02-12 02:42:55 +00:00
Scott Michel
9756189233 Added blurb for CellSPU progress
llvm-svn: 46968
2008-02-11 21:05:47 +00:00
Chris Lattner
3db3d4a614 tweaks from dale.
llvm-svn: 46952
2008-02-11 07:27:21 +00:00
Chris Lattner
d2465e32c8 updates from Evan
llvm-svn: 46951
2008-02-11 07:21:08 +00:00
Gabor Greif
8165a93e7a corrected some spellings
maybe c380004 can be hyperlinked too?

llvm-svn: 46934
2008-02-10 20:08:16 +00:00
Chris Lattner
85c2d36cfe 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."

llvm-svn: 46933
2008-02-10 19:11:04 +00:00
Dan Gohman
cabaec582f Rename MRegisterInfo to TargetRegisterInfo.
llvm-svn: 46930
2008-02-10 18:45:23 +00:00
Chris Lattner
40b5c6c1bc close an li tag
llvm-svn: 46929
2008-02-10 17:52:05 +00:00
Duncan Sands
022743c2af Add some Ada info and correct a few buglets.
llvm-svn: 46928
2008-02-10 13:40:55 +00:00
Chris Lattner
051f089b21 remove the in progress marker.
llvm-svn: 46925
2008-02-10 08:19:35 +00:00
Chris Lattner
5afdb9598d validation fixes
llvm-svn: 46924
2008-02-10 08:18:42 +00:00
Chris Lattner
1eefe978e3 final set of major updates
llvm-svn: 46923
2008-02-10 08:17:19 +00:00
Chris Lattner
81b4bcbd89 more prose, some organization improvements.
llvm-svn: 46921
2008-02-10 07:46:44 +00:00
Chris Lattner
f11f7981bc random notes
llvm-svn: 46920
2008-02-10 07:04:35 +00:00
Chris Lattner
c58cabb0bd add some more notes, still not ready for review :)
llvm-svn: 46914
2008-02-09 22:58:07 +00:00
Chris Lattner
b9f862e239 scoped_ptr.h was removed.
llvm-svn: 46913
2008-02-09 22:50:06 +00:00
Gabor Greif
3453f29f65 explain that NumElements in alloca and malloc defaults to one
llvm-svn: 46912
2008-02-09 22:24:34 +00:00
Chris Lattner
ad6348aeb7 some more notes.
llvm-svn: 46818
2008-02-06 18:32:06 +00:00
Chris Lattner
c46fd5395e make it clear :)
llvm-svn: 46817
2008-02-06 18:00:48 +00:00
Chris Lattner
5f73d71055 add a bunch of random notes and fix some issues noticed by Gabor.
This is not ready for review or hacking, this is a work in progress :)

llvm-svn: 46816
2008-02-06 18:00:06 +00:00
Chris Lattner
935f54c94c a starter shell for 2.2 release notes
llvm-svn: 46810
2008-02-06 06:30:34 +00:00
Chris Lattner
4cb265227d dump the module *before* we delete it, not after.
llvm-svn: 46741
2008-02-05 06:18:42 +00:00
Evan Cheng
567500c8be Update llvm.dbg.func.start.
llvm-svn: 46636
2008-02-01 09:12:11 +00:00
Chris Lattner
f898e3cc8f llvm.sqrt(-0.0) is defined.
llvm-svn: 46500
2008-01-29 07:00:44 +00:00
Chris Lattner
ff2b9ef01b make handling of overflow and undefined results much more clear.
Patch by Eli Friedman, thanks!

llvm-svn: 46428
2008-01-28 00:36:27 +00:00
Chris Lattner
724cda19dc Always for PACKAGEVERSION to 'mainline' for teh llvm web page.
llvm-svn: 46425
2008-01-27 23:43:26 +00:00
Anton Korobeynikov
b26ac8cbb2 Add description of 'llvm.trap' intrinsic. Also, minor fixes in formatting.
llvm-svn: 46024
2008-01-15 22:31:34 +00:00
Chris Lattner
8c17d65f09 clarify that byval is valid for any pointer argument.
llvm-svn: 45998
2008-01-15 04:34:22 +00:00
Chris Lattner
6fa8e434a3 document the byval parameter attribute.
llvm-svn: 45855
2008-01-11 06:20:47 +00:00
Chris Lattner
68e4b52d98 many cleanups and fixed, contributed by Sam Bishop
llvm-svn: 45780
2008-01-09 19:28:50 +00:00
Chris Lattner
2b8bb9d2a4 improve description of alignment, patch by Alain Frisch.
llvm-svn: 45662
2008-01-06 21:04:43 +00:00
Chris Lattner
f8d3ea59f3 Fix typo noticed by 'Danny' in PR1901
llvm-svn: 45661
2008-01-06 19:51:52 +00:00
Bill Wendling
9763bb186b doc_code-ify some code in this doc.
llvm-svn: 45581
2008-01-04 12:04:32 +00:00
Chris Lattner
6142c837b5 fix nesting issues.
llvm-svn: 45566
2008-01-04 04:34:14 +00:00
Chris Lattner
056ca9d8e2 fix validation issues.
llvm-svn: 45565
2008-01-04 04:33:49 +00:00
Chris Lattner
3618504cc2 improve the description of types, patch by Alain Frisch
llvm-svn: 45564
2008-01-04 04:32:38 +00:00
Chris Lattner
5d4e5f277a add info on walking preds/succs of a block.
llvm-svn: 45537
2008-01-03 16:56:04 +00:00
Chris Lattner
de54e62962 update a couple of references to SSARegMap.
llvm-svn: 45468
2007-12-31 04:16:08 +00:00
Chris Lattner
6aece93d5c remove attributions from the rest of the llvm makefiles.
llvm-svn: 45416
2007-12-29 20:11:13 +00:00
Chris Lattner
5c09e20cab Don't attribute in file headers anymore. See llvmdev for the
discussion of this change.

llvm-svn: 45409
2007-12-29 19:56:08 +00:00
Chris Lattner
233cd2bbcd update to llvm 2.0 syntax.
llvm-svn: 45355
2007-12-25 20:34:52 +00:00
Gordon Henriksen
a9f4ed4070 Noting and enforcing that GC intrinsics are valid only within a
function with GC.

This will catch the error when the inliner inlines a function with
GC into a caller with no GC.

llvm-svn: 45350
2007-12-25 02:31:26 +00:00
Gordon Henriksen
c9025501ea Undo a wrong bit in that last patch.
llvm-svn: 45327
2007-12-22 23:34:26 +00:00
Gordon Henriksen
586644cc15 Document a more robust implementation of performCustomLowering.
llvm-svn: 45326
2007-12-22 23:32:32 +00:00
Chris Lattner
80aaa07025 fix formatting
llvm-svn: 45214
2007-12-19 19:48:49 +00:00
Chris Lattner
c42bf3be15 fix more table abuses.
llvm-svn: 45187
2007-12-19 05:04:11 +00:00
Chris Lattner
f87fd16366 avoid confusing terminology (what is a "word"?), fix scary markup, add section to TOC.
llvm-svn: 45150
2007-12-18 06:18:21 +00:00
Christopher Lamb
d3bac47ce6 Make it clear in the LangRef that allocation instructions only operated on the generic address space. Implement support in the verifier for ensuring this is true.
llvm-svn: 45080
2007-12-17 01:00:21 +00:00
Dan Gohman
19c41221cc Make it more clear that some things that can't be done in .td files can
still be done in the LLVM code generator. And update the summary for the
X86 target.

llvm-svn: 45013
2007-12-13 20:43:47 +00:00
Christopher Lamb
6d12d7c0fe Implement part of review feedback for address spaces.
llvm-svn: 44933
2007-12-12 08:44:39 +00:00
Christopher Lamb
99016c5793 Add information on address space qualifiers for pointer types and global
declarations to the LangRef.

llvm-svn: 44860
2007-12-11 09:31:00 +00:00
Gordon Henriksen
c6f9e0beef CollectorMetadata and Collector are rejiggered to get along with
per-function collector model. Collector is now the factory for
CollectorMetadata, so the latter may be subclassed.

llvm-svn: 44827
2007-12-11 00:30:17 +00:00
John Criswell
217f454b10 Fix some wording.
llvm-svn: 44810
2007-12-10 20:26:29 +00:00
Gordon Henriksen
fbd6134a51 Fix a typo spotted by Nick Lewycky.
llvm-svn: 44774
2007-12-10 03:30:21 +00:00
Gordon Henriksen
5d201e0bcc Adding a collector name attribute to Function in the IR. These
methods are new to Function:

  bool hasCollector() const;
  const std::string &getCollector() const;
  void setCollector(const std::string &);
  void clearCollector();

The assembly representation is as such:

  define void @f() gc "shadow-stack" { ...

The implementation uses an on-the-side table to map Functions to 
collector names, such that there is no overhead. A StringPool is 
further used to unique collector names, which are extremely
likely to be unique per process.

llvm-svn: 44769
2007-12-10 03:18:06 +00:00
John Criswell
d738a457fb Fixed typo.
llvm-svn: 44542
2007-12-03 19:34:25 +00:00
Chris Lattner
fc436dc3e2 Describe the notion of 'owners' of the code.
llvm-svn: 44537
2007-12-03 19:00:47 +00:00
Nick Lewycky
2a47f26d66 lli -trace was removed back in 2003.
llvm-svn: 44527
2007-12-03 01:58:01 +00:00
Nick Lewycky
2127c03226 Type::IntTy hasn't existed for a while. Just sub in Type::Int32Ty.
llvm-svn: 44526
2007-12-03 01:52:52 +00:00
Chris Lattner
f1b56a7b2c explain what I need to grant commit access.
llvm-svn: 44524
2007-12-03 00:36:20 +00:00
Chris Lattner
76c4290c55 fix typo noticed by Joshua Pennington
llvm-svn: 44522
2007-12-02 22:46:01 +00:00
Chris Lattner
0c1478dac1 Add a note
llvm-svn: 44414
2007-11-28 19:26:42 +00:00
Tanya Lattner
c6cc46d2e7 Fix typo
llvm-svn: 44391
2007-11-28 05:14:49 +00:00
Tanya Lattner
7d479d9b7c Modified instructions to configure llvm-test by configure llvm with the Path --with-llvmgccdir set.
llvm-svn: 44390
2007-11-28 05:13:45 +00:00
Duncan Sands
3602011bec Fix PR1146: parameter attributes are longer part of
the function type, instead they belong to functions
and function calls.  This is an updated and slightly
corrected version of Reid Spencer's original patch.
The only known problem is that auto-upgrading of
bitcode files doesn't seem to work properly (see
test/Bitcode/AutoUpgradeIntrinsics.ll).  Hopefully
a bitcode guru (who might that be? :) ) will fix it.

llvm-svn: 44359
2007-11-27 13:23:08 +00:00
Chris Lattner
4aab2642b9 !< is >=, not >. Thanks to Max Hailperin for pointing this out!
llvm-svn: 44291
2007-11-23 22:19:33 +00:00
Duncan Sands
d05a55f03f Rename the 'const' parameter attribute to 'readnone',
and the 'pure' parameter attribute to 'readonly'.
Names suggested by DannyB.

llvm-svn: 44273
2007-11-22 20:23:04 +00:00
Owen Anderson
471ffbe011 Teach me to do stuff late at night.
llvm-svn: 44236
2007-11-19 16:10:59 +00:00
Owen Anderson
e05d68940f Fix a factually incorrect statement pointed out by Max Hailperin.
llvm-svn: 44228
2007-11-19 07:44:43 +00:00
Nate Begeman
2a8ef3f29a Add support for vectors to int <-> float casts.
llvm-svn: 44204
2007-11-17 03:58:34 +00:00
Anton Korobeynikov
fa80a2a290 These were implemented
llvm-svn: 44189
2007-11-16 11:12:01 +00:00
Chris Lattner
8b9d6f487e fix a typo
llvm-svn: 44187
2007-11-16 05:32:05 +00:00
Chris Lattner
9673aa6fd1 Import the boost scoped_ptr class to LLVM. This patch was prepared by
Cédric Venet.

llvm-svn: 44161
2007-11-15 05:57:06 +00:00
Chris Lattner
e29010c2f0 many edits, patch by Kelly Wilson!
llvm-svn: 44157
2007-11-15 04:51:31 +00:00
Duncan Sands
91b3db2956 Tweak the descriptions of the new 'const' and 'pure' attributes.
llvm-svn: 44132
2007-11-14 21:14:02 +00:00
Anton Korobeynikov
6108a7b107 Document pure/const parameter attributes
llvm-svn: 44111
2007-11-14 10:30:13 +00:00
Chris Lattner
b27d1f49bd Document a limitation, patch contributed by George Russell
llvm-svn: 44102
2007-11-14 07:04:44 +00:00
Chris Lattner
eca7b38df8 Many typos, grammaro, and wording fixes. Patch by
Kelly Wilson, thanks!

llvm-svn: 44043
2007-11-13 07:06:30 +00:00
Gordon Henriksen
a9b618e0e2 Typo fix in the tutorial.
llvm-svn: 44014
2007-11-12 13:46:21 +00:00
Chris Lattner
5f898a044f Update links.
llvm-svn: 43964
2007-11-09 21:49:08 +00:00
Chris Lattner
4ddbe0fc23 try again
llvm-svn: 43956
2007-11-09 19:24:54 +00:00
Nick Lewycky
f19fd81733 Add a link to the tutorial.
llvm-svn: 43928
2007-11-09 05:45:51 +00:00
Chris Lattner
bb194b795c minor edit
llvm-svn: 43813
2007-11-07 07:07:55 +00:00
Chris Lattner
08591617e6 final edits.
llvm-svn: 43812
2007-11-07 06:46:51 +00:00
Chris Lattner
84c0ddb656 chapter 7 edits
llvm-svn: 43811
2007-11-07 06:34:39 +00:00
Chris Lattner
fcfe2b1eb9 edits for chapter 7
llvm-svn: 43810
2007-11-07 06:06:38 +00:00
Chris Lattner
acfafd5322 edits for chapter 5
llvm-svn: 43808
2007-11-07 05:47:48 +00:00
Chris Lattner
1a36bd9b90 minor edits
llvm-svn: 43807
2007-11-07 05:28:43 +00:00
Chris Lattner
3647d239d6 edits.
llvm-svn: 43804
2007-11-07 05:07:10 +00:00
Chris Lattner
40c41f3939 fixes from Kelly Wilson.
llvm-svn: 43767
2007-11-06 18:13:32 +00:00
Bill Wendling
1b887c2663 Clarify some of the iostreams stuff.
llvm-svn: 43766
2007-11-06 09:36:34 +00:00
Chris Lattner
fce5a5ea5b edits for chapter 3
llvm-svn: 43761
2007-11-06 07:26:32 +00:00
Chris Lattner
fd356c6f65 chapter 2 edits
llvm-svn: 43760
2007-11-06 07:16:22 +00:00
Chris Lattner
d5221d5acd edits
llvm-svn: 43758
2007-11-06 06:32:18 +00:00
Chris Lattner
5c465c8e65 clarify what proto is.
llvm-svn: 43753
2007-11-06 05:07:30 +00:00
Chris Lattner
2480c20c7b Add a real intro to the series.
llvm-svn: 43752
2007-11-06 05:02:48 +00:00
Chris Lattner
8ea65e83a7 typo from Ryan Brown.
llvm-svn: 43748
2007-11-06 01:40:41 +00:00
Chris Lattner
d0d6643883 fixes from Ryan Brown.
llvm-svn: 43747
2007-11-06 01:39:12 +00:00
Owen Anderson
4822abbbd1 Add a missing #include.
llvm-svn: 43746
2007-11-06 01:26:56 +00:00
Dan Gohman
6255ce9f5d Add support for vector remainder operations.
llvm-svn: 43744
2007-11-05 23:35:22 +00:00
Chris Lattner
f1ecd12964 merge in various fixes from Kelly Wilson.
llvm-svn: 43731
2007-11-05 20:13:56 +00:00
Chris Lattner
da6aed91db add some links to the tutorial index and between chapters.
llvm-svn: 43730
2007-11-05 20:04:56 +00:00
Chris Lattner
c7800bd256 grammaro
llvm-svn: 43729
2007-11-05 19:33:52 +00:00
Chris Lattner
091dceb51b recursive types are our friend.
llvm-svn: 43727
2007-11-05 19:28:07 +00:00
Chris Lattner
f6bdde819e mention possibility of using a visitor
llvm-svn: 43726
2007-11-05 19:25:14 +00:00
Chris Lattner
6b333f90aa clarify why prototype::codegen returns a function.
llvm-svn: 43725
2007-11-05 19:22:50 +00:00
Chris Lattner
9a2f29cfbd TOC for chapter 8
llvm-svn: 43724
2007-11-05 19:10:15 +00:00
Chris Lattner
7f1e211d7a add table of contents to each chapter.
llvm-svn: 43723
2007-11-05 19:06:59 +00:00
Chris Lattner
e3f0069cfd add link to llvmbuilder doxygen docs
llvm-svn: 43719
2007-11-05 18:02:15 +00:00
Chris Lattner
c81a619924 spell identifier correctly.
llvm-svn: 43718
2007-11-05 17:54:34 +00:00
Chris Lattner
fdc5b73900 fix typo
llvm-svn: 43717
2007-11-05 17:52:04 +00:00
Chris Lattner
3fdb44ec16 Dan points out that mem2reg also promotes vectors: be more precise.
llvm-svn: 43715
2007-11-05 17:45:54 +00:00
Chris Lattner
7d07747cab clarify
llvm-svn: 43712
2007-11-05 17:39:26 +00:00
Chris Lattner
addfdfc4c5 fix typo
llvm-svn: 43711
2007-11-05 17:38:34 +00:00
Duncan Sands
da09f937ef Fix some typos.
llvm-svn: 43709
2007-11-05 16:04:58 +00:00
Duncan Sands
994c6b5308 Trivial fixes.
llvm-svn: 43707
2007-11-05 15:15:50 +00:00
Chris Lattner
23308637b8 add a link.
llvm-svn: 43702
2007-11-05 07:02:49 +00:00
Chris Lattner
7ae512c12a finish the tutorial, yaay.
comments and feedback welcome.

llvm-svn: 43701
2007-11-05 07:00:54 +00:00
Gordon Henriksen
314e68f58f 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
26f37925a7 Add the first section of chapter 8.
llvm-svn: 43695
2007-11-05 01:58:13 +00:00
Chris Lattner
6c2e7e090b finish the chapter.
llvm-svn: 43689
2007-11-05 00:23:57 +00:00
Chris Lattner
f7232647bd fix typos
llvm-svn: 43682
2007-11-04 19:42:13 +00:00
Gordon Henriksen
837e89b9b2 Validation fix.
llvm-svn: 43679
2007-11-04 18:17:58 +00:00
Gordon Henriksen
66cada0930 Typo fix.
llvm-svn: 43678
2007-11-04 18:14:08 +00:00
Gordon Henriksen
ab563f2a6f 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
e493fdc317 Fix a validation error.
llvm-svn: 43675
2007-11-04 16:17:00 +00:00
Gordon Henriksen
4d157a1bc6 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
c289d4b13d finish the 'Memory in LLVM' section
llvm-svn: 43667
2007-11-03 22:22:30 +00:00
Chris Lattner
27b026f8a7 hack and slash the first 20% of chapter seven.
llvm-svn: 43663
2007-11-03 08:55:29 +00:00
Chris Lattner
aa3229f2f1 fix typos
llvm-svn: 43637
2007-11-02 05:54:25 +00:00
Chris Lattner
781dbc1099 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
a5a3acd512 Add the start of chapter 6, still much to go.
llvm-svn: 43607
2007-11-01 06:49:54 +00:00
Chris Lattner
6e527ae16f 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
4c331443c8 fix validation
llvm-svn: 43549
2007-10-31 07:30:39 +00:00
Chris Lattner
945b810036 okay, fine, make me finish this chapter. :)
Feedback appreciated!

llvm-svn: 43548
2007-10-31 07:29:43 +00:00
Chris Lattner
b2b616f4d5 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
e94d86d349 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
5082217e07 __main is dead along with llvm-gcc3.
llvm-svn: 43545
2007-10-31 05:53:31 +00:00
Gordon Henriksen
609997aa7d 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
37838ca8a2 typo
llvm-svn: 43351
2007-10-25 18:05:29 +00:00
Chris Lattner
a9a71ab2cf 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
24fecb87d5 Fleshing out docs/Passes.html for some analyses.
llvm-svn: 43337
2007-10-25 10:18:27 +00:00
Gordon Henriksen
2fe2889448 Passes.html now 'passes' validation.
llvm-svn: 43335
2007-10-25 08:58:56 +00:00
Gordon Henriksen
f95443425b 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
0fbf637a85 Fix an obvious typo.
llvm-svn: 43333
2007-10-25 06:50:30 +00:00
Owen Anderson
df57f1e429 More tutorial cleanups.
llvm-svn: 43332
2007-10-25 06:49:29 +00:00
Owen Anderson
f0de089267 Add proper footers.
llvm-svn: 43331
2007-10-25 06:45:01 +00:00
Owen Anderson
7e56388714 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
a41ca4295a Add chapter 4, feedback appreciated.
llvm-svn: 43329
2007-10-25 06:23:36 +00:00
Chris Lattner
a27749831b Run the verifier on generated code.
llvm-svn: 43327
2007-10-25 04:30:35 +00:00
Owen Anderson
78e6eb6e2a Update Makefile to use simpler llvm-config parameters.
llvm-svn: 43292
2007-10-24 16:06:42 +00:00
Owen Anderson
634c506ed4 Update Makefile to use simpler llvm-config parameters.
llvm-svn: 43291
2007-10-24 16:04:08 +00:00
Chris Lattner
5147698e3a further simplify run options, thanks to gordonh for pointing this out
llvm-svn: 43288
2007-10-24 05:09:48 +00:00
Chris Lattner
8ed1bd441f Fix instructions now that PR1739 is fixed.
llvm-svn: 43287
2007-10-24 04:37:23 +00:00
Chris Lattner
b2f90b6ae5 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
42ca549605 add a skeleton for part 4
llvm-svn: 43246
2007-10-23 06:27:55 +00:00
Chris Lattner
3732406cf1 complete the codegen chapter
llvm-svn: 43245
2007-10-23 06:23:57 +00:00
Owen Anderson
1cfa5caa21 Now with valid HTML 4.01!
llvm-svn: 43244
2007-10-23 06:22:21 +00:00
Owen Anderson
3c4fe7bcd5 Add a link to the "writing an optimization" tutorial.
llvm-svn: 43243
2007-10-23 06:17:39 +00:00
Owen Anderson
3923355119 Add downloadable code sample for tutorial 2.
llvm-svn: 43242
2007-10-23 06:05:37 +00:00
Owen Anderson
ba4a0f1787 Add the second of the "basic topics" tutorials.
llvm-svn: 43241
2007-10-23 06:03:24 +00:00
Owen Anderson
19620278d3 Reorder the optimization and bitcode tutorials.
llvm-svn: 43240
2007-10-23 06:02:14 +00:00
Chris Lattner
a734c6eb3f 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
e4e5ffbe15 Finish up expr codegen.
llvm-svn: 43238
2007-10-23 04:51:30 +00:00
Chris Lattner
0705dd275a several improvements suggested by Dan, thanks!
llvm-svn: 43237
2007-10-23 04:27:44 +00:00
Chris Lattner
ba810365f8 fit in 80 cols :)
llvm-svn: 43222
2007-10-22 16:44:31 +00:00
Chris Lattner
20c58b6f19 start of chapter 3
llvm-svn: 43221
2007-10-22 07:01:42 +00:00
Owen Anderson
4774dea928 Fix a few typos I noticed.
llvm-svn: 43220
2007-10-22 06:48:28 +00:00
Owen Anderson
3b5c6a83a5 Add downloadable code samples.
llvm-svn: 43219
2007-10-22 06:35:07 +00:00
Chris Lattner
18c6e1e961 Check in part 2: parser and ast.
llvm-svn: 43218
2007-10-22 06:34:15 +00:00
Owen Anderson
2c7fdb6067 Fix some code to make it actually work.
llvm-svn: 43217
2007-10-22 06:29:31 +00:00
Bill Wendling
8a53fc3a85 Put correct link in example
llvm-svn: 43216
2007-10-22 05:10:05 +00:00
Chris Lattner
b55013e96a add part 1, review appreciated.
llvm-svn: 43215
2007-10-22 04:32:37 +00:00
Chris Lattner
8d00cf26d5 add an outline for "part 2".
llvm-svn: 43214
2007-10-22 03:19:07 +00:00
Chris Lattner
c126b9badc rename tutorial 1 -> JITTutorial1, make unimplemented links not be dead links.
llvm-svn: 43213
2007-10-22 03:12:24 +00:00
Owen Anderson
980bb805ec Some improvements based on feedback from Anders.
llvm-svn: 43203
2007-10-20 06:12:33 +00:00
Owen Anderson
96b48922ca Fix some weird indenting in code.
llvm-svn: 43202
2007-10-20 05:41:39 +00:00
Owen Anderson
4cefffc26c 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
6cfd06b796 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
17e4c10d4f 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
e5052584b5 Document the -view-sunit-dags option.
llvm-svn: 43015
2007-10-15 21:07:59 +00:00
Dan Gohman
777d33e3b7 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
f38341e4a6 Fixing a typo. Found by Kevin André!
llvm-svn: 42956
2007-10-14 00:34:53 +00:00
Chris Lattner
a0dc0388eb Various improvements to the documentation, contributed by
Joshua Haberman!

llvm-svn: 42763
2007-10-08 18:42:45 +00:00
Evan Cheng
9eb57bc1d0 LLVM does not use the old style simple isel any more.
llvm-svn: 42758
2007-10-08 17:54:24 +00:00
Chris Lattner
a1c9e02298 Clarify that shifts that are too large are undefined.
llvm-svn: 42588
2007-10-03 21:01:14 +00:00
Chris Lattner
00a19fadfe remove extraneous tag
llvm-svn: 42581
2007-10-03 17:34:29 +00:00
Chris Lattner
fc0f3994a0 remove misleading documentation: LLVM has no atomic support yet.
llvm-svn: 42580
2007-10-03 17:33:51 +00:00
Dale Johannesen
b2923ff810 Document new sqrt and powi handling.
llvm-svn: 42540
2007-10-02 17:47:38 +00:00
Owen Anderson
a3c14fae0a Fix typo.
llvm-svn: 42521
2007-10-02 00:44:20 +00:00
Owen Anderson
d98c62147e Mention memdep in the AA documentation.
llvm-svn: 42519
2007-10-02 00:43:25 +00:00
Chris Lattner
f90b39b186 document DenseSet.
llvm-svn: 42475
2007-09-30 00:58:59 +00:00
Gordon Henriksen
e85fdded75 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
8ef9b439d8 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
351222b471 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
29f209a295 Couple of fixes to mention bunzip2 and make instructions more clear.
llvm-svn: 42407
2007-09-27 18:14:33 +00:00
Bill Wendling
3275ea3f1d No, really, it *is* SSSE3. ;-)
llvm-svn: 42393
2007-09-27 08:47:31 +00:00
Duncan Sands
2d92d29632 SSSE3 -> SSE3. Reported by Alex Kellett.
llvm-svn: 42392
2007-09-27 08:24:36 +00:00
Duncan Sands
75b9aa065f Grammer fix reported by Alex Kellett.
llvm-svn: 42391
2007-09-27 08:24:02 +00:00
Duncan Sands
d8bc485573 X86 -> X86-32 in appropriate places.
llvm-svn: 42357
2007-09-26 16:24:52 +00:00
Duncan Sands
276bb314b9 Various cleanups. Especially, EH is turned on by default!
llvm-svn: 42356
2007-09-26 15:59:54 +00:00
Chris Lattner
a7e838ced3 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
f5878ad5db be less redundantly redundant.
llvm-svn: 42354
2007-09-26 15:48:33 +00:00
Chris Lattner
4855af9f8d make old crappy browsers produce less crappy output :)
llvm-svn: 42349
2007-09-26 06:38:59 +00:00
Chris Lattner
5dad95ffa6 we support attribute(noinline) now :)
llvm-svn: 42343
2007-09-26 06:04:15 +00:00
Chris Lattner
a6e6dfd44b update bugs list
llvm-svn: 42342
2007-09-26 06:01:35 +00:00
Chris Lattner
c450aee3f6 now with more prose.
llvm-svn: 42341
2007-09-26 05:44:21 +00:00
Chris Lattner
1fc2bda34a explain why not vector<bool>
llvm-svn: 42324
2007-09-25 22:37:50 +00:00
Bill Wendling
6218e30b30 Grammar fix.
llvm-svn: 42318
2007-09-25 20:45:10 +00:00
Owen Anderson
87f3667bcf Fill in the sections about my contributions.
llvm-svn: 42286
2007-09-25 02:10:58 +00:00
Daniel Berlin
2b33136f50 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
Chris Lattner
cdb6479d76 fix syntax
llvm-svn: 42242
2007-09-22 23:41:15 +00:00
Bill Wendling
4fa9da181f Validation fixes
llvm-svn: 42232
2007-09-22 10:17:08 +00:00
Bill Wendling
5adc5f30e2 Validation fixes
llvm-svn: 42231
2007-09-22 10:13:39 +00:00
Bill Wendling
9525059d66 Validation fixes
llvm-svn: 42230
2007-09-22 10:07:00 +00:00
Bill Wendling
901656a25c Validation fixes
llvm-svn: 42229
2007-09-22 10:03:25 +00:00
Bill Wendling
830d941202 Validation fixes
llvm-svn: 42228
2007-09-22 09:56:28 +00:00
Bill Wendling
ca83498390 Validation fixes
llvm-svn: 42227
2007-09-22 09:54:47 +00:00
Bill Wendling
00305afb0b Validation fixes
llvm-svn: 42226
2007-09-22 09:39:19 +00:00
Bill Wendling
135ef8e763 Validation fixes
llvm-svn: 42225
2007-09-22 09:23:55 +00:00
Bill Wendling
d240a9afcc Validation fixes
llvm-svn: 42224
2007-09-22 09:20:07 +00:00
Bill Wendling
0929451a0f Formatting changes.
llvm-svn: 42223
2007-09-22 09:16:44 +00:00
Chris Lattner
ec22695366 fix bugs in the manual
llvm-svn: 42221
2007-09-22 03:17:52 +00:00
Tanya Lattner
376d3091d9 Correct names.
llvm-svn: 42219
2007-09-22 00:03:01 +00:00
Tanya Lattner
bc74d75cbd Fix typo.
llvm-svn: 42217
2007-09-22 00:01:26 +00:00
Tanya Lattner
f413c665d6 One last fix to get name correct.
llvm-svn: 42216
2007-09-21 23:57:59 +00:00
Tanya Lattner
80f02ffa9f Fix silly typo.
llvm-svn: 42215
2007-09-21 23:57:04 +00:00
Tanya Lattner
7d68980d81 Update annotation intrinsic with more details.
llvm-svn: 42214
2007-09-21 23:56:27 +00:00
Tanya Lattner
e8c1cb789d Adding support for __builtin_annotation with an intrinsic called llvm.annotation. This is similar to llvm.var.annotation but is applied to expressions.
llvm-svn: 42211
2007-09-21 22:59:12 +00:00
Devang Patel
505fcba791 Add missing entry.
llvm-svn: 42202
2007-09-21 18:02:24 +00:00
Chris Lattner
727760f737 I cannot spell coalesce :)
llvm-svn: 42196
2007-09-21 17:43:52 +00:00
Chris Lattner
cd2ae40679 gcroot must take concrete types, not arbitrary types.
clean up intrinsic descriptions in langref a bit.

llvm-svn: 42194
2007-09-21 17:30:40 +00:00
Chris Lattner
c0906967aa Initial hack at 2.1 release notes.
llvm-svn: 42186
2007-09-21 03:54:09 +00:00
Chris Lattner
cc315726f7 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.

llvm-svn: 42042
2007-09-17 18:34:04 +00:00
Chris Lattner
d58e0026ec Change llvm.gcroot to not init the root to null at runtime, this prevents
using it for live-in values etc.

llvm-svn: 41879
2007-09-12 17:53:10 +00:00
Duncan Sands
c358890f73 Fold the adjust_trampoline intrinsic into
init_trampoline.  There is now only one
trampoline intrinsic.

llvm-svn: 41841
2007-09-11 14:10:23 +00:00
Nick Lewycky
7a9495d5e6 Fix description of the call instruction. There are two types, with one being
optional.

llvm-svn: 41785
2007-09-08 13:57:50 +00:00
Anton Korobeynikov
899c0c9c8d 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 :)

llvm-svn: 41763
2007-09-07 11:39:35 +00:00
Duncan Sands
883740b39f 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).

llvm-svn: 41484
2007-08-27 15:47:50 +00:00
Tanya Lattner
fdf3a750f7 Rename llvm-gcc4 to llvm-gcc.
llvm-svn: 41380
2007-08-24 23:23:23 +00:00
Duncan Sands
b31856afd4 Implement review feedback on trampoline documentation.
llvm-svn: 41304
2007-08-22 23:39:54 +00:00
Reid Spencer
935996673b Who thought up this crazy formatting scheme?
llvm-svn: 40905
2007-08-07 17:57:36 +00:00
Reid Spencer
e4969b8dd8 Okay, over/back tags don't next.
llvm-svn: 40904
2007-08-07 17:48:56 +00:00