1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
Commit Graph

2895 Commits

Author SHA1 Message Date
Gabor Greif
f727fa8225 update ilist documentation and add some blurb on ilist_node
llvm-svn: 65629
2009-02-27 11:37:41 +00:00
Gabor Greif
a60fa9b553 update year
llvm-svn: 65628
2009-02-27 11:28:46 +00:00
Ted Kremenek
c72e0a278d Update release notes for static analyzer.
llvm-svn: 65624
2009-02-27 07:01:32 +00:00
Chris Lattner
971ec3c55c drop some un-edited text for pure and ldc in here.
llvm-svn: 65579
2009-02-26 22:33:38 +00:00
Nick Lewycky
bc0bb948cc Remove libtool.
llvm-svn: 65517
2009-02-26 07:44:16 +00:00
Chris Lattner
4a4e2ea4e5 pic16 notes from Sanjiv. Just dumped in for now, will rearrange later.
llvm-svn: 65512
2009-02-26 07:32:11 +00:00
Chris Lattner
340f4a5fcb final random and incoherent notes after making it through all the commits.
Next step: making them more coherent.

llvm-svn: 65511
2009-02-26 07:29:17 +00:00
Chris Lattner
8ef915d2ec more notes.
llvm-svn: 65507
2009-02-26 06:47:09 +00:00
Chris Lattner
5e69c7d5b6 add some notes from Nicolas G.
llvm-svn: 65503
2009-02-26 05:20:36 +00:00
Duncan Sands
3e50fc3451 Flesh out the Ada section a little.
llvm-svn: 65448
2009-02-25 11:59:06 +00:00
Duncan Sands
21bdbc2fe1 The C backend does not support arbitrary precision integers.
llvm-svn: 65447
2009-02-25 11:51:54 +00:00
Duncan Sands
161bf4fbbb Note on new type legalizer.
llvm-svn: 65446
2009-02-25 11:50:08 +00:00
Duncan Sands
a86cde89c6 Add note on support for arbitrary precision integers.
llvm-svn: 65445
2009-02-25 11:37:39 +00:00
Chris Lattner
4bda3547ba more notes.
llvm-svn: 65439
2009-02-25 07:32:53 +00:00
Chris Lattner
800261b58f random notes
llvm-svn: 65436
2009-02-25 06:34:50 +00:00
Nick Lewycky
97156ee783 Recommend against using Gold to build LLVM.
llvm-svn: 65435
2009-02-25 06:29:47 +00:00
Chris Lattner
78e2933103 don't know if there is a vmkit release to match 2.5
llvm-svn: 65434
2009-02-25 05:45:05 +00:00
Chris Lattner
50a191ab82 update clang section
llvm-svn: 65430
2009-02-25 05:09:54 +00:00
Chris Lattner
934fa00e1d rip out llvm 2.4 details to make room for 2.5
llvm-svn: 65429
2009-02-25 04:41:31 +00:00
Dan Gohman
0e73582689 Eliminate several more unnecessary intptr_t casts.
llvm-svn: 64888
2009-02-18 05:09:16 +00:00
Nick Lewycky
494b48e76b Demonstrate the act of including multiple space-separated parameter attributes,
by request on IRC.

llvm-svn: 64619
2009-02-15 23:06:14 +00:00
Dale Johannesen
9a80b9d451 Edit description of floating point constants to
reflect reality.  Acknowledgements to John Clements
for prodding me into this.

llvm-svn: 64332
2009-02-11 22:14:51 +00:00
Dan Gohman
abede9d54b Answer a common FAQ:
"Can I compile C or C++ code to platform-independent LLVM bitcode?"

llvm-svn: 64222
2009-02-10 17:26:53 +00:00
Chris Lattner
62e48b2e3b fix typo, patch by Jonathan Brandmeyer!
llvm-svn: 64132
2009-02-09 10:00:56 +00:00
Chris Lattner
80aa3c9e96 mention rdynamic, PR3431, patch by Stein Roger Skafløtten!
llvm-svn: 64106
2009-02-09 00:04:40 +00:00
Bill Wendling
19c640efd1 Document llvm.umul.with.overflow indicating that it's badly broken and not intended for use.
llvm-svn: 64104
2009-02-08 23:00:09 +00:00
Chris Lattner
c3f02abe2b I can't type today apparently.
llvm-svn: 64097
2009-02-08 22:21:28 +00:00
Chris Lattner
4a31df9488 fix typo
llvm-svn: 64090
2009-02-08 19:59:51 +00:00
Chris Lattner
4a51a59a4b document pointer type constraints, PR3513
llvm-svn: 64088
2009-02-08 19:53:29 +00:00
Bill Wendling
b2e94f5ae0 Fixes from feedback.
llvm-svn: 64070
2009-02-08 04:04:40 +00:00
Bill Wendling
511a92524b Document the 'llvm.OP.with.overflow' intrinsics.
llvm-svn: 64066
2009-02-08 01:40:31 +00:00
Chris Lattner
9a13b357c6 PR3485, document alignment on byref.
llvm-svn: 63836
2009-02-05 05:42:28 +00:00
Mike Stump
4c8ca99bb1 Improve -fno-opt style option processing to not require an extra
option to make the -fno- form on the option.  We also document the new
form in the CommandLine documentation.

llvm-svn: 63559
2009-02-02 22:48:49 +00:00
Chris Lattner
408b359e6e validation error fix.
llvm-svn: 63503
2009-02-02 07:33:15 +00:00
Chris Lattner
27bf492e30 Document type upreferences (PR3380), patch by Stein Roger Skafløtten
with enhancements and corrections by me.

llvm-svn: 63502
2009-02-02 07:32:36 +00:00
Devang Patel
58511a356b Each input file is encoded as a separate compile unit in LLVM debugging
information output. However, many target specific tool chains prefer to encode
only one compile unit in an object file. In this situation, the LLVM code
generator will include  debugging information entities in the compile unit 
that is marked as main compile unit. The code generator accepts maximum one main
compile unit per module. If a module does not contain any main compile unit 
then the code generator will emit multiple compile units in the output object 
file.

[Part 1]

Update DebugInfo APIs to accept optional boolean value while creating DICompileUnit  to mark the unit as "main" unit. By defaults all units are considered  non-main.  Update SourceLevelDebugging.html to document "main" compile unit.

Update DebugInfo APIs to not accept and encode separate source file/directory entries while creating various llvm.dbg.* entities. There was a recent, yet to be documented, change to include this additional information so no documentation changes are required here.

Update DwarfDebug to handle "main" compile unit. If "main" compile unit is seen then all DIEs are inserted into "main" compile unit. All other compile units are used to find source location for llvm.dbg.* values. If there is not any "main" compile unit then create unique compile unit DIEs for each llvm.dbg.compile_unit.

[Part 2]

Create separate llvm.dbg.compile_unit for each input file. Mark compile unit create for main_input_filename as "main" compile unit. Use appropriate compile unit, based on source location information collected from the tree node, while creating llvm.dbg.* values using DebugInfo APIs.

---

This is Part 1.

llvm-svn: 63400
2009-01-30 18:20:31 +00:00
Dan Gohman
d1106c6f41 SDOperand has been renamed to SDValue. SDNode::Val is now
accessed via SDNode::getNode.

llvm-svn: 63240
2009-01-28 21:36:46 +00:00
Duncan Sands
aee16d4916 Rename getAnalysisToUpdate to getAnalysisIfAvailable.
llvm-svn: 63198
2009-01-28 13:14:17 +00:00
Mikhail Glushenkov
7f4b6231f1 Update the generated docs.
llvm-svn: 63173
2009-01-28 03:47:38 +00:00
Nate Begeman
aa3510c26a Add some documentation for address-space-based access to the segment registers.
llvm-svn: 62986
2009-01-26 02:54:45 +00:00
Dan Gohman
6a676f8aa3 Reality-check the FAQ entry for "Can I use LLVM to convert C++ to C?"
llvm-svn: 62961
2009-01-25 16:04:50 +00:00
Dan Gohman
017bf94fbc Add more documentation mentioning the limitations due to PR2660.
llvm-svn: 62919
2009-01-24 15:58:40 +00:00
Dan Gohman
3f9d24dca8 Add a few more notes about LLVM IR features that codegen doesn't
yet support.

llvm-svn: 62739
2009-01-22 01:39:38 +00:00
Mikhail Glushenkov
898af4fdfa Mimic gcc behaviour with regard to response files.
llvm-svn: 62688
2009-01-21 13:14:02 +00:00
Mikhail Glushenkov
b0aa02acee Support for multi-valued options in CommandLine
Makes possible to specify options that take multiple arguments (a-la
-sectalign on Darwin). See documentation for details.

llvm-svn: 62372
2009-01-16 22:54:19 +00:00
Duncan Sands
2bb8d618ad Grammar fix.
llvm-svn: 62319
2009-01-16 09:29:46 +00:00
Rafael Espindola
0aba6c9435 Add the private linkage.
llvm-svn: 62279
2009-01-15 20:18:42 +00:00
Mikhail Glushenkov
615e954f0f Some small documentation fixes.
llvm-svn: 62251
2009-01-15 02:42:40 +00:00
Mikhail Glushenkov
682197e760 Clarify the documentation a bit.
llvm-svn: 62249
2009-01-15 02:04:54 +00:00
Dan Gohman
276142c95b Document several current CodeGen limitations in LangRef.html.
Patches for any of these are welcome!

llvm-svn: 62120
2009-01-12 23:12:39 +00:00
Dan Gohman
bdb0a5b773 The LLVM Assembly Language Reference incorrectly stated that the
prefix used for dll{import,export} is _imp__; it is actually __imp_.
Patch by Mahadevan R!

llvm-svn: 62103
2009-01-12 21:35:55 +00:00
Dan Gohman
b9e5badcf9 Fix the instructions to work even when PATH does not contain ".".
Thanks to Martin Geisse for pointing this out!

llvm-svn: 62102
2009-01-12 21:29:24 +00:00
Duncan Sands
bcdbfb63dc Rename getABITypeSize to getTypePaddedSize, as
suggested by Chris.

llvm-svn: 62099
2009-01-12 20:38:59 +00:00
Chris Lattner
e53b562bee remove some dead options.
llvm-svn: 62095
2009-01-12 19:02:50 +00:00
Chris Lattner
96dacb990b Implement PR3313, and while I'm at it address a very FAQ.
llvm-svn: 62048
2009-01-11 20:53:49 +00:00
Dan Gohman
473e732586 Fix the example syntax for named sections.
llvm-svn: 62033
2009-01-11 00:40:00 +00:00
Mikhail Glushenkov
6761ea2676 Add a --check-graph option to llvmc.
llvm-svn: 61989
2009-01-09 16:16:27 +00:00
Gabor Greif
3b91310e36 Get rid of the tagging functions and use PointerIntPair.
This means that we have to include an additional header.

This patch should be functionally equivalent. I cannot outrule any performance
degradation, though I do not expect any.

llvm-svn: 61694
2009-01-05 16:05:32 +00:00
Dan Gohman
7f43292fe9 A few more whitespace tidyments.
llvm-svn: 61655
2009-01-04 23:49:44 +00:00
Dan Gohman
32c0a04815 Tidy whitespace.
llvm-svn: 61653
2009-01-04 23:44:43 +00:00
Misha Brukman
a57637fed5 * Wrap command line flag in <tt>
* Wrapped long lines in code section

llvm-svn: 61601
2009-01-03 02:35:05 +00:00
Misha Brukman
7d77c2fac7 So *this* is where all the trailing whitespace in file header comments come
from: copy-pasted straight from the coding standards doc!

Oh, the irony.

llvm-svn: 61586
2009-01-02 16:58:42 +00:00
Chris Lattner
59d439dd15 lex and bison aren't needed to build llvm anymore.
llvm-svn: 61560
2009-01-02 07:10:51 +00:00
Chris Lattner
53fa6e3f6b new non-ambiguous syntax.
llvm-svn: 61559
2009-01-02 07:02:56 +00:00
Oscar Fuentes
4954ccb97b CMake: Added some VC++ specific info to CMake.html.
llvm-svn: 61521
2008-12-31 14:36:41 +00:00
Misha Brukman
abfa50fc15 * Updated TOC and fixed named anchors
* Simplified section header marking 

llvm-svn: 61482
2008-12-29 21:33:30 +00:00
Misha Brukman
4d4b7394f9 Minimize the width of the notes region: it will end where the text ends, if the
line of text is short enough, instead of stretching all the way to the right
margin.

llvm-svn: 61481
2008-12-29 21:25:09 +00:00
Misha Brukman
5b00db2c8f Simplified marking code regions with a single <pre> rather than
a (<div>, <pre>) combo.

llvm-svn: 61480
2008-12-29 21:20:51 +00:00
Misha Brukman
207cd717bd Center the legal note to give it even padding on left and right, and make it
stand out better.

llvm-svn: 61475
2008-12-29 19:55:01 +00:00
Misha Brukman
438c7fddb0 Cleanup: clarify llvm-gcc version and package name.
llvm-svn: 61474
2008-12-29 19:38:58 +00:00
Duncan Sands
fb6f54629f Clarify a bit. Based on feedback by Talin.
llvm-svn: 61470
2008-12-29 15:27:32 +00:00
Nick Lewycky
8f96b51785 Resubmit support for the 'nocapture' attribute.
The problematic part of this patch is that we were out of attribute bits,
requiring some fancy bit hacking to make it fit (by shrinking alignment)
without breaking existing users or the file format.

This change will require users to rebuild llvm-gcc to match llvm.

llvm-svn: 61239
2008-12-19 06:39:12 +00:00
Nick Lewycky
4a36d896bf Recommit this grammar fix that was backed out along with nocapture.
llvm-svn: 61189
2008-12-18 02:15:05 +00:00
Misha Brukman
7bd486d25a Simplified marking code regions -- no need to use <div> to surround <pre> tags.
llvm-svn: 61143
2008-12-17 18:11:40 +00:00
Misha Brukman
b4689d53be Instead of referring to the license file in the 2.3 release, refer to the
always-current SVN version.

llvm-svn: 61142
2008-12-17 18:06:53 +00:00
Misha Brukman
e3769b141e Added mention of the RELEASE_24 tag for the 2.4 release.
llvm-svn: 61138
2008-12-17 16:27:23 +00:00
Mikhail Glushenkov
d15a02461a Update also the generated docs.
llvm-svn: 61118
2008-12-17 02:47:30 +00:00
Bill Wendling
f807a68f2e Temporarily revert r61019, r61030, and r61040. These were breaking LLVM Release
builds.

llvm-svn: 61094
2008-12-16 19:06:48 +00:00
Misha Brukman
c6aef75cef * Comply with HTML 4.01 Strict
* Added code-region markings to code sections to make them stand out
* Added pre.doc_code class to llvm.css to simplify marking code regions

llvm-svn: 61072
2008-12-16 03:07:49 +00:00
Misha Brukman
129457e460 * Comply with HTML 4.01 Strict standard
* Converted absolute links to llvm.org/docs to relative links
* Fixed spelling and s/;/:/, as needed

llvm-svn: 61071
2008-12-16 02:54:22 +00:00
Nick Lewycky
8bdae4db80 Introducing nocapture, a parameter attribute for pointers to indicate that the
callee will not introduce any new aliases of that pointer.

The attributes had all bits allocated already, so I decided to collapse
alignment. Alignment was previously stored as a 16-bit integer from bits 16 to
32 of the attribute, but it was required to be a power of 2. Now it's stored in
log2 encoded form in five bits from 16 to 21. That gives us 11 more bits of
space.

You may have already noticed that you only need four bits to encode a 16-bit
power of two, so why five bits? Because the AsmParser accepted 32-bit
alignments, even though we couldn't store them (they were silently discarded).
Now we can store them in memory, but not in the bitcode.

The bitcode format was already storing these as 64-bit VBR integers. So, the
bitcode format stays the same, keeping the alignment values stored as 16 bit
raw values. There's some hideous code in the reader and writer that deals with
this, waiting to be ripped out the moment we run out of bits again and have to
replace the parameter attributes table encoding.

llvm-svn: 61019
2008-12-15 01:34:58 +00:00
Nick Lewycky
f35b64c5ee Clarify the meaning of the NoAlias response. The plan is to refer to this from
a future version of LangRef.

llvm-svn: 61010
2008-12-14 21:08:48 +00:00
Misha Brukman
4231a32eaf Fixed HTML validator warning.
llvm-svn: 61005
2008-12-14 08:01:51 +00:00
Misha Brukman
225acfd9be CSS cleanup:
* Lowercased all HTML element names
* Standardized spacing around { and }
* removed class "doc_table_nw": grep finds no uses

llvm-svn: 61004
2008-12-14 07:20:36 +00:00
Mikhail Glushenkov
2f6a78628d Add a comment to the auto-generated docs.
llvm-svn: 60985
2008-12-13 17:51:47 +00:00
Mikhail Glushenkov
e114e7652a Merge llvm-rst.css and llvm.css.
llvm-svn: 60984
2008-12-13 17:50:58 +00:00
Mikhail Glushenkov
8d8dd2f6a3 Some more documentation tweaks.
llvm-svn: 60970
2008-12-13 03:11:37 +00:00
Mikhail Glushenkov
37399780e2 More cosmetic tweaks for llvmc docs.
llvm-svn: 60969
2008-12-13 02:28:58 +00:00
Chris Lattner
c66a5f659a fix some incorrect links.
llvm-svn: 60919
2008-12-12 04:20:01 +00:00
Mikhail Glushenkov
645ac8a052 Man page update.
llvm-svn: 60918
2008-12-12 02:34:56 +00:00
Mikhail Glushenkov
0f084f3469 Fix W3C validator errors.
llvm-svn: 60912
2008-12-11 23:43:14 +00:00
Mikhail Glushenkov
7ac8dfbc99 Use correct file for the llvmc tutorial.
llvm-svn: 60910
2008-12-11 23:33:33 +00:00
Mikhail Glushenkov
24b3fd0fa8 Update the auto-generated llvmc documentation.
llvm-svn: 60909
2008-12-11 23:24:40 +00:00
Misha Brukman
ef75e64b5f * Removed stray </p> tag
* Whitespace cleanups

llvm-svn: 60891
2008-12-11 19:44:51 +00:00
Misha Brukman
b8ad12675e * <div align=center> is not valid HTML 4.01 - removed alignment
* <sup> cannot appear inside a <pre> - replaced <pre> with <tt> and <br>
* Added standard "Notes" section
* Sprinkled fixed-width <tt> tags in a few places for consistency

llvm-svn: 60889
2008-12-11 19:37:04 +00:00
Misha Brukman
7a584de2b9 Removed warnings from HTML 4.01 validator: trailing slashes in <br> and <img>
tags are not needed in HTML, only XML.

llvm-svn: 60885
2008-12-11 18:23:24 +00:00
Misha Brukman
102c921f0b Conform to the HTML 4.01 Strict specification.
llvm-svn: 60884
2008-12-11 18:14:06 +00:00
Misha Brukman
74411f221b Global replace of yellow W3C "valid HTML/CSS" icons with blue ones.
llvm-svn: 60880
2008-12-11 17:34:48 +00:00
Misha Brukman
5cb753f05b * Fixed formatting of command descriptions to be consistent:
- descriptions on new line
  - no terminating period
* Changed the W3C logos from yellow to blue to not stand out

llvm-svn: 60879
2008-12-11 17:12:52 +00:00
Misha Brukman
b800b6704e s/A Few Coding Standards/LLVM Coding Standards/g
llvm-svn: 60859
2008-12-10 23:07:02 +00:00