Commit Graph

2605 Commits

Author SHA1 Message Date
Chris Lattner fb7c88de77 clean up and fix the call section.
llvm-svn: 48651
2008-03-21 17:24:17 +00:00
Chris Lattner 141b613b32 cleanups for the getresult section.
llvm-svn: 48650
2008-03-21 17:20:51 +00:00
Devang Patel 718da668ab PassInfo keep tracks whether a pass is an analysis pass or not.
llvm-svn: 48554
2008-03-19 21:56:59 +00:00
Scott Michel 4799ea70ea Note that gcc 4.0.1 will trip internal LLVM asserts (e.g., pred_iterator) if compiling
for Release with optimization levels greater than -O0.

llvm-svn: 48513
2008-03-18 23:13:26 +00:00
Duncan Sands c572c1e487 Clarify the unwind attribute. Add assumption
about sret made by the optimizers.

llvm-svn: 48452
2008-03-17 12:17:41 +00:00
Nick Lewycky 084ab471fe Commit works on regular functions too. Fix the syntax to allow @foo.
llvm-svn: 48414
2008-03-16 07:18:12 +00:00
Devang Patel d0f476471d fix grammer
llvm-svn: 48211
2008-03-11 05:51:59 +00:00
Devang Patel d6cff517d6 Document multiple return values.
llvm-svn: 48173
2008-03-10 20:49:15 +00:00
Gordon Henriksen 4486f8b5bb Adding ocamldoc generation.
Patch by Erick Tryzelaar.

llvm-svn: 48147
2008-03-10 15:49:16 +00:00
Nick Kledzik 6555623ceb update to document new lto API
llvm-svn: 47764
2008-02-29 19:34:52 +00:00
Nick Kledzik 7d870df864 test svn commit capability
llvm-svn: 47584
2008-02-26 01:36:52 +00:00
Gordon Henriksen 60c140433b Improving wording.
llvm-svn: 47503
2008-02-22 21:55:51 +00:00
Gordon Henriksen 6ee6b7c3c1 Adding a note about IR generation to the LLVM FAQ.
llvm-svn: 47502
2008-02-22 20:58:29 +00:00
Chris Lattner c8576eeaad fix some bugs in tutorial, patch by Erick Tryzelaar
llvm-svn: 47481
2008-02-22 17:09:39 +00:00
Andrew Lenharth 95528943e9 Atomic op support. If any gcc test uses __sync builtins, it might start failing on archs that haven't implemented them yet
llvm-svn: 47430
2008-02-21 06:45:13 +00:00
Anton Korobeynikov 581ba34c63 Add documentation for cl::sink stuff
llvm-svn: 47378
2008-02-20 12:38:31 +00:00
Duncan Sands fa4b673eac Clarify that 'sret' only applies to pointers, and
only applies to the first parameter.

llvm-svn: 47256
2008-02-18 04:19:38 +00:00
Owen Anderson 6110128ed5 Make the definition of the noalias attribute clearer.
llvm-svn: 47255
2008-02-18 04:09:01 +00:00
Duncan Sands 648e5d682b Try to clarify which compilers can be used for the
build.

llvm-svn: 47211
2008-02-16 09:47:41 +00:00
Andrew Lenharth 9b254eed32 llvm.memory.barrier, and impl for x86 and alpha
llvm-svn: 47204
2008-02-16 01:24:58 +00:00
Chris Lattner 0c46309b02 simplify this.
llvm-svn: 47187
2008-02-15 22:57:17 +00:00
Duncan Sands 551d3e6303 Rename CFEBuildInstrs.html to GCCFEBuildInstrs.html.
Update all references to it and place a redirection
page at the old address.

llvm-svn: 47124
2008-02-14 17:53:22 +00:00
Chris Lattner 419df4e066 gcc 3.2.3 is also bad.
llvm-svn: 47073
2008-02-13 17:50:24 +00:00
Duncan Sands 235b26f225 Add notes on Ada compilers that can be used for
the build.  Put all items that the user should
specify in bold.  Make it a debug build.

llvm-svn: 47063
2008-02-13 16:46:10 +00:00
Duncan Sands 481d4b27dd Note that these instructions are for x86-32 linux
(the only platform on which the Ada compiler even
builds).

llvm-svn: 47031
2008-02-12 21:40:21 +00:00
Duncan Sands 2ae968abcb Add more spacing.
llvm-svn: 47028
2008-02-12 21:28:39 +00:00
Duncan Sands eadf20d47a 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 f59af190a3 More violation fixes.
llvm-svn: 46997
2008-02-12 07:12:46 +00:00
Bill Wendling 8402d0270e Fix validation errors: di -> dt.
llvm-svn: 46996
2008-02-12 07:09:05 +00:00
Bill Wendling 1a19af9605 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 e38ac158fa 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 8752bbf25f 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 25624858f2 remove unknown details
llvm-svn: 46985
2008-02-12 05:07:12 +00:00
Tanya Lattner 779593cd9d Add 2.2 release tag.
llvm-svn: 46981
2008-02-12 02:42:55 +00:00
Scott Michel 7c48a8f3d7 Added blurb for CellSPU progress
llvm-svn: 46968
2008-02-11 21:05:47 +00:00
Chris Lattner 887f5ebfa9 tweaks from dale.
llvm-svn: 46952
2008-02-11 07:27:21 +00:00
Chris Lattner b0e9321090 updates from Evan
llvm-svn: 46951
2008-02-11 07:21:08 +00:00
Gabor Greif 8dacd3a985 corrected some spellings
maybe c380004 can be hyperlinked too?

llvm-svn: 46934
2008-02-10 20:08:16 +00:00
Chris Lattner a1ad2bf890 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 3a4be0fdef Rename MRegisterInfo to TargetRegisterInfo.
llvm-svn: 46930
2008-02-10 18:45:23 +00:00
Chris Lattner 60fb1d80fe close an li tag
llvm-svn: 46929
2008-02-10 17:52:05 +00:00
Duncan Sands e09506a2c9 Add some Ada info and correct a few buglets.
llvm-svn: 46928
2008-02-10 13:40:55 +00:00
Chris Lattner 5628d24d85 remove the in progress marker.
llvm-svn: 46925
2008-02-10 08:19:35 +00:00
Chris Lattner 458e79fa72 validation fixes
llvm-svn: 46924
2008-02-10 08:18:42 +00:00
Chris Lattner dd6acc0184 final set of major updates
llvm-svn: 46923
2008-02-10 08:17:19 +00:00
Chris Lattner 2b8a52e259 more prose, some organization improvements.
llvm-svn: 46921
2008-02-10 07:46:44 +00:00
Chris Lattner a273586b53 random notes
llvm-svn: 46920
2008-02-10 07:04:35 +00:00
Chris Lattner 20ed4ef554 add some more notes, still not ready for review :)
llvm-svn: 46914
2008-02-09 22:58:07 +00:00
Chris Lattner 56e82884db scoped_ptr.h was removed.
llvm-svn: 46913
2008-02-09 22:50:06 +00:00
Gabor Greif dd1fc981b5 explain that NumElements in alloca and malloc defaults to one
llvm-svn: 46912
2008-02-09 22:24:34 +00:00
Chris Lattner 47ce2b2d22 some more notes.
llvm-svn: 46818
2008-02-06 18:32:06 +00:00
Chris Lattner 0ec3504e95 make it clear :)
llvm-svn: 46817
2008-02-06 18:00:48 +00:00
Chris Lattner cdc44ed525 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 7422bce18a a starter shell for 2.2 release notes
llvm-svn: 46810
2008-02-06 06:30:34 +00:00
Chris Lattner f4ed277135 dump the module *before* we delete it, not after.
llvm-svn: 46741
2008-02-05 06:18:42 +00:00
Evan Cheng 124c3525d1 Update llvm.dbg.func.start.
llvm-svn: 46636
2008-02-01 09:12:11 +00:00
Chris Lattner 00d7cb9942 llvm.sqrt(-0.0) is defined.
llvm-svn: 46500
2008-01-29 07:00:44 +00:00
Chris Lattner 2f2427e5aa 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 9422fb70fe Always for PACKAGEVERSION to 'mainline' for teh llvm web page.
llvm-svn: 46425
2008-01-27 23:43:26 +00:00
Anton Korobeynikov 06cbb65cb0 Add description of 'llvm.trap' intrinsic. Also, minor fixes in formatting.
llvm-svn: 46024
2008-01-15 22:31:34 +00:00
Chris Lattner 352ab9b4a2 clarify that byval is valid for any pointer argument.
llvm-svn: 45998
2008-01-15 04:34:22 +00:00
Chris Lattner 5cee13f1df document the byval parameter attribute.
llvm-svn: 45855
2008-01-11 06:20:47 +00:00
Chris Lattner 204e4a27b6 many cleanups and fixed, contributed by Sam Bishop
llvm-svn: 45780
2008-01-09 19:28:50 +00:00
Chris Lattner 2a1993fb2c improve description of alignment, patch by Alain Frisch.
llvm-svn: 45662
2008-01-06 21:04:43 +00:00
Chris Lattner ec56402557 Fix typo noticed by 'Danny' in PR1901
llvm-svn: 45661
2008-01-06 19:51:52 +00:00
Bill Wendling 46813c58bb doc_code-ify some code in this doc.
llvm-svn: 45581
2008-01-04 12:04:32 +00:00
Chris Lattner 43542b3a93 fix nesting issues.
llvm-svn: 45566
2008-01-04 04:34:14 +00:00
Chris Lattner b8f816e90d fix validation issues.
llvm-svn: 45565
2008-01-04 04:33:49 +00:00
Chris Lattner 7824d182da improve the description of types, patch by Alain Frisch
llvm-svn: 45564
2008-01-04 04:32:38 +00:00
Chris Lattner 67793d8d60 add info on walking preds/succs of a block.
llvm-svn: 45537
2008-01-03 16:56:04 +00:00
Chris Lattner 21ec2b4769 update a couple of references to SSARegMap.
llvm-svn: 45468
2007-12-31 04:16:08 +00:00
Chris Lattner 11cc8b3c14 remove attributions from the rest of the llvm makefiles.
llvm-svn: 45416
2007-12-29 20:11:13 +00:00
Chris Lattner ebf5666abf 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 bea11173f5 update to llvm 2.0 syntax.
llvm-svn: 45355
2007-12-25 20:34:52 +00:00
Gordon Henriksen fb56bde933 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 e09a4f8515 Undo a wrong bit in that last patch.
llvm-svn: 45327
2007-12-22 23:34:26 +00:00
Gordon Henriksen 8790a22a30 Document a more robust implementation of performCustomLowering.
llvm-svn: 45326
2007-12-22 23:32:32 +00:00
Chris Lattner f1be288617 fix formatting
llvm-svn: 45214
2007-12-19 19:48:49 +00:00
Chris Lattner 747359f973 fix more table abuses.
llvm-svn: 45187
2007-12-19 05:04:11 +00:00
Chris Lattner 9a2e3cb48d 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 55c6d4f22f 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 d4551fd0a4 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 25f5076612 Implement part of review feedback for address spaces.
llvm-svn: 44933
2007-12-12 08:44:39 +00:00
Christopher Lamb 308121c757 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 7843c16f31 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 fa06f0203b Fix some wording.
llvm-svn: 44810
2007-12-10 20:26:29 +00:00
Gordon Henriksen dc5cafb74e Fix a typo spotted by Nick Lewycky.
llvm-svn: 44774
2007-12-10 03:30:21 +00:00
Gordon Henriksen 71183b6739 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 9c9405f4ef Fixed typo.
llvm-svn: 44542
2007-12-03 19:34:25 +00:00
Chris Lattner b39e02bcc2 Describe the notion of 'owners' of the code.
llvm-svn: 44537
2007-12-03 19:00:47 +00:00
Nick Lewycky 9746782cea lli -trace was removed back in 2003.
llvm-svn: 44527
2007-12-03 01:58:01 +00:00
Nick Lewycky d93847a96a 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 4b6d965611 explain what I need to grant commit access.
llvm-svn: 44524
2007-12-03 00:36:20 +00:00
Chris Lattner b4ef023bf6 fix typo noticed by Joshua Pennington
llvm-svn: 44522
2007-12-02 22:46:01 +00:00
Chris Lattner 3fbb6a83a8 Add a note
llvm-svn: 44414
2007-11-28 19:26:42 +00:00
Tanya Lattner ec072113f0 Fix typo
llvm-svn: 44391
2007-11-28 05:14:49 +00:00
Tanya Lattner 8460374e30 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 ad0ea2d430 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 752b05fe94 !< is >=, not >. Thanks to Max Hailperin for pointing this out!
llvm-svn: 44291
2007-11-23 22:19:33 +00:00
Duncan Sands a89a113a20 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 c280216c00 Teach me to do stuff late at night.
llvm-svn: 44236
2007-11-19 16:10:59 +00:00
Owen Anderson 99057116f6 Fix a factually incorrect statement pointed out by Max Hailperin.
llvm-svn: 44228
2007-11-19 07:44:43 +00:00
Nate Begeman d4d45c268c Add support for vectors to int <-> float casts.
llvm-svn: 44204
2007-11-17 03:58:34 +00:00
Anton Korobeynikov b8a47244ac These were implemented
llvm-svn: 44189
2007-11-16 11:12:01 +00:00
Chris Lattner 1b3f58a816 fix a typo
llvm-svn: 44187
2007-11-16 05:32:05 +00:00
Chris Lattner 820c1447b4 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 add10eecf9 many edits, patch by Kelly Wilson!
llvm-svn: 44157
2007-11-15 04:51:31 +00:00
Duncan Sands 730a32643f Tweak the descriptions of the new 'const' and 'pure' attributes.
llvm-svn: 44132
2007-11-14 21:14:02 +00:00
Anton Korobeynikov 46f4446bba Document pure/const parameter attributes
llvm-svn: 44111
2007-11-14 10:30:13 +00:00
Chris Lattner 322a04ec7c Document a limitation, patch contributed by George Russell
llvm-svn: 44102
2007-11-14 07:04:44 +00:00
Chris Lattner 36d5575660 Many typos, grammaro, and wording fixes. Patch by
Kelly Wilson, thanks!

llvm-svn: 44043
2007-11-13 07:06:30 +00:00
Gordon Henriksen 1ced282c73 Typo fix in the tutorial.
llvm-svn: 44014
2007-11-12 13:46:21 +00:00
Chris Lattner f9f08bf4b0 Update links.
llvm-svn: 43964
2007-11-09 21:49:08 +00:00
Chris Lattner da043b68ad try again
llvm-svn: 43956
2007-11-09 19:24:54 +00:00
Nick Lewycky 70248c92cf Add a link to the tutorial.
llvm-svn: 43928
2007-11-09 05:45:51 +00:00
Chris Lattner 4df68cf26a minor edit
llvm-svn: 43813
2007-11-07 07:07:55 +00:00
Chris Lattner 23dea1ef07 final edits.
llvm-svn: 43812
2007-11-07 06:46:51 +00:00
Chris Lattner 0903ac4837 chapter 7 edits
llvm-svn: 43811
2007-11-07 06:34:39 +00:00
Chris Lattner d80488f0df edits for chapter 7
llvm-svn: 43810
2007-11-07 06:06:38 +00:00
Chris Lattner 60ba5ef387 edits for chapter 5
llvm-svn: 43808
2007-11-07 05:47:48 +00:00
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