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

4853 Commits

Author SHA1 Message Date
Dmitri Gribenko
a773f03a32 Documentation: convert WritingAnLLVMPass.html to reST.
Patch by Anthony Mykhailenko with small fixes by me.

llvm-svn: 169992
2012-12-12 17:02:44 +00:00
Dmitri Gribenko
8fd8426bd2 Documentation: cleanup
llvm-svn: 169990
2012-12-12 16:58:13 +00:00
Dmitri Gribenko
a244713fc0 Documentation: use a 'console' highlighter for terminal output examples. This
gives a nicer output than 'bash'.

llvm-svn: 169981
2012-12-12 14:23:14 +00:00
Dmitri Gribenko
8a382641f3 Documentation: use a 'console' highlighter for terminal output examples. This
gives a nicer output than 'bash'.

llvm-svn: 169979
2012-12-12 13:56:37 +00:00
Dmitri Gribenko
d5a3fbf03a Documentation: cleanup: remove useless anchors and write :ref:s explicitly.
llvm-svn: 169932
2012-12-11 23:35:23 +00:00
Dmitri Gribenko
8321a7c2f4 Documentation: Lexicon.rst: add 'SLP' acronym
llvm-svn: 169928
2012-12-11 23:13:23 +00:00
Dmitri Gribenko
b9ee3b0c67 Documentation: convert Passes.html to reST.
Since now we have an autogenerated TOC, a manually written table of all passes
was removed.

Patch by Anthony Mykhailenko with small fixes by me.

llvm-svn: 169867
2012-12-11 15:29:37 +00:00
Dmitri Gribenko
891cde588c Documentation: convert ReleaseNotes.html to reST.
Patch by Anthony Mykhailenko with small fixes by me.

llvm-svn: 169714
2012-12-09 23:14:26 +00:00
Chris Lattner
ae27e4b10f So many people have touched this, it doesn't make sense to ascribe authorship anymore.
llvm-svn: 169704
2012-12-09 16:55:39 +00:00
Sean Silva
099e0abea5 docs: Convert GarbageCollection.html to reST
Patch by Alexander Zinenko!

llvm-svn: 169702
2012-12-09 15:52:47 +00:00
Dmitri Gribenko
d029408178 Documentation: HowToReleaseLLVM.rst: remove trailing whitespace.
llvm-svn: 169700
2012-12-09 15:33:26 +00:00
Dmitri Gribenko
de9ddeefd7 Documentation: don't create TOCs manually.
Thanks to Sean Silva for pointing out!

llvm-svn: 169699
2012-12-09 15:29:56 +00:00
John Criswell
ec7e5e7664 Fixed some grammar and punctuation error.
No content changes.

llvm-svn: 169627
2012-12-07 19:21:10 +00:00
Dmitri Gribenko
75f8418bfa Convert HowToReleaseLLVM.html to reST
Patch by Alexander Zinenko.

llvm-svn: 169608
2012-12-07 16:42:48 +00:00
Sean Silva
856f24ce53 docs: Convert LangRef to reST.
NOTE: If you have any patches in the works that modify LangRef, you will
need to rewrite the changes to LangRef.html to their equivalents in
LangRef.rst. If you need assistance feel free to contact me.

Since LangRef is mission-critical for the project and "normative", I
have taken extra care to ensure that no content was lost or altered in
the conversion. The content was converted with a tool called `pandoc`,
so there is no chance for a human error like accidentally forgetting a
sentence or whatever. After the initial conversion by `pandoc`, only
changes to the markup were done.

This is just the most literal conversion of the HTML document as
possible. It might be worth exploring some way to chop up this massive
document into separate pages, e.g. something like
`docs/LangRef/Instructions.rst`, `docs/LangRef/Intrinsics.rst`, etc.
with `docs/LangRef.rst` being an "intro/navigation page" of sorts. On
the other hand, that loses the ability to {Ctrl,Cmd}-F for a given term
right from your browser.

IMO, I think our stylesheet needs some work because I find it hard to
tell what level of nesting some of the headings are at (e.g. "is this a
new section or is it a subsection?"). The issue is present on other
pages, but the sheer size and deep section structure of LangRef really
brings this issue out. If there are any web designers out there in the
community it would be awesome if you tried to come up with something
nicer.

llvm-svn: 169596
2012-12-07 10:36:55 +00:00
Dmitri Gribenko
f65a4023ee Documentation: fix typos and formatting.
llvm-svn: 169546
2012-12-06 21:12:35 +00:00
Sean Silva
f1d1d7bad3 docs: Explain plain preformatted text
llvm-svn: 169352
2012-12-05 04:07:33 +00:00
Sean Silva
c48f42e16c docs: Sphinxify docs/tutorial/
Sorry for the massive commit, but I just wanted to knock this one down
and it is really straightforward.

There are still a couple trivial (i.e. not related to the content)
things left to fix:

- Use of raw HTML links where :doc:`...` and :ref:`...` could be used
  instead. If you are a newbie and want to help fix this it would make
  for some good bite-sized patches; more experienced developers should
  be focusing on adding new content (to this tutorial or elsewhere, but
  please _do not_ waste your time on formatting when there is such dire
  need for documentation (see docs/SphinxQuickstartTemplate.rst to get
  started writing)).

- Highlighting of the kaleidoscope code blocks (currently left as bare
  `::`).  I will be working on writing a custom Pygments highlighter for
  this, mostly as training for maintaining the `llvm` code-block's lexer
  in-tree. I want to do this because I am extremely unhappy with how it
  just "gives up" on the slightest deviation from the expected syntax
  and leaves the whole code-block un-highlighted.

  More generally I am looking at writing some Sphinx extensions and
  keeping them in-tree as well, to support common use cases that
  currently have no good solution (like "monospace text inside a link").

llvm-svn: 169343
2012-12-05 00:26:32 +00:00
Sean Silva
005a726c31 docs: Begin Sphinxification of docs/tutorial/
llvm-svn: 169309
2012-12-04 21:16:41 +00:00
Sean Silva
f3e1cf95e1 docs: fixup legacy HTML link
llvm-svn: 169308
2012-12-04 21:16:34 +00:00
Justin Holewinski
a152090523 Update release notes for NVPTX
llvm-svn: 169280
2012-12-04 16:11:51 +00:00
Eli Bendersky
91506b55b9 Get rid of references to Tcl, DejagGNU, old test structure, discourage the use
of grep in favor of FileCheck, and other cleanups.

llvm-svn: 169269
2012-12-04 14:34:00 +00:00
Eli Bendersky
0a1485cc36 Remove the very out-of-date listing of "very important LLVM areas". I don't
think it adds much and keeping it up-to-date is (obviously) a chore.

llvm-svn: 169263
2012-12-04 13:55:17 +00:00
Sean Silva
324ad000f4 docs: Fix broken link.
llvm-svn: 169211
2012-12-04 03:45:27 +00:00
Sean Silva
f90055f9cd docs: Fix dead link.
Apparently Dinkumware are no longer hosting their nice reference
manuals. Thankfully, `cppreference.com` can fill that role well.

llvm-svn: 169210
2012-12-04 03:30:36 +00:00
Sean Silva
684c7e3c6b docs: Convert ProgrammersManual to reST.
Patch by Alexander Zinenko!

llvm-svn: 169208
2012-12-04 03:20:08 +00:00
Eli Bendersky
f779d86eaa Clean up, bring up-to-date and apply consistent formatting.
This document is a long-time pet peeve :-) More fixes to come.

llvm-svn: 169115
2012-12-03 04:10:58 +00:00
Chandler Carruth
0459c763d6 Simplify the coding standards for #include ordering. The ordering is now
trivially achievable with an editor. I'll likely check in a silly python
script to help with this too.

llvm-svn: 169107
2012-12-02 11:53:27 +00:00
Justin Holewinski
6de22cedec Unbreak Sphinx build
llvm-svn: 169106
2012-12-02 02:47:48 +00:00
Eli Bendersky
abe8c94c37 Another fix attempt to Makefile.sphinx - copy the PNGs from tutorial/ as well,
and recursive copying is not required for the tutorial/ directory.

llvm-svn: 169105
2012-12-01 22:21:04 +00:00
Eli Bendersky
a051f8c0a7 Attempt to fix Makefile.sphinx to not generate errors while trying to copy
files from tutorial/.svn

llvm-svn: 169104
2012-12-01 22:11:59 +00:00
Eli Bendersky
04cd83a3ee Update FileCheck's documentation to mention recently added feature of
matching a variable defined on the same line.

llvm-svn: 169103
2012-12-01 22:03:57 +00:00
Dmitri Gribenko
89d7b9ffac Documentation: convert WritingAnLLVMBackend.html to reST
llvm-svn: 169087
2012-12-01 12:13:48 +00:00
Michael Ilseman
8fd742be75 Removed redundancy in wording
llvm-svn: 169053
2012-11-30 23:14:52 +00:00
Michael Ilseman
5a4868ff3e Clean up the documentation to have a common description area for fast-math flags.
llvm-svn: 169052
2012-11-30 23:12:42 +00:00
Dmitri Gribenko
44ae529695 Documentation for FileCheck: use 'option' and 'program' directives.
This enables option cross-referencing and now '--' in option names are no more turned into en dashes.

llvm-svn: 168926
2012-11-29 19:21:02 +00:00
Dmitri Gribenko
c560959bc4 Documentation for llvm-link: reformat
llvm-svn: 168924
2012-11-29 19:14:35 +00:00
Dmitri Gribenko
04fcb0c6ad Documentation for llvm-cov: reformat
llvm-svn: 168922
2012-11-29 19:10:21 +00:00
Dmitri Gribenko
403add6293 Documentation for llvm-stress: reformat
llvm-svn: 168920
2012-11-29 19:05:55 +00:00
Dmitri Gribenko
4ec606a8e2 Documentation for opt: reformat
llvm-svn: 168919
2012-11-29 19:02:50 +00:00
Dmitri Gribenko
54b0a3d44d Documentation for llc: reformat.
llvm-svn: 168912
2012-11-29 18:16:11 +00:00
Dmitri Gribenko
6bcf44c262 Documentation for lit: more formatting: use 'option' and 'program' directives.
This enables cross-referencing and now '--' in option names are no more turned into en dashes.

llvm-svn: 168906
2012-11-29 18:03:08 +00:00
Dmitri Gribenko
44a87f27cf Documentation for tblgen: formatting
llvm-svn: 168904
2012-11-29 17:41:05 +00:00
Dmitri Gribenko
ec5e444c18 Documentation for lit: formatting improvements.
llvm-svn: 168902
2012-11-29 17:05:34 +00:00
Dmitri Gribenko
4218de967f Documentation: formatting improvements
llvm-svn: 168897
2012-11-29 16:12:13 +00:00
Dmitri Gribenko
ee7b6022d6 Documentation: use correct highlighter
llvm-svn: 168871
2012-11-29 12:00:32 +00:00
Dmitri Gribenko
94185797ca Documentation: improve formatting and remove unneeded empty lines.
llvm-svn: 168817
2012-11-28 21:40:54 +00:00
Eli Bendersky
451f619df7 Some grammar fixes
llvm-svn: 168752
2012-11-28 00:27:25 +00:00
NAKAMURA Takumi
175d9c6f07 docs: [CMake] Add Xcode to the list of project formats CMake can generate.
Suggested by Sean McBride, thanks!

llvm-svn: 168745
2012-11-27 23:34:28 +00:00
Michael Ilseman
4645ada542 Fast-math flags documentation added to LangRef
llvm-svn: 168652
2012-11-27 00:48:29 +00:00
Bill Wendling
4de371318f Correct copy-pasto where we're talking about function attributes and not parameter attributes.
llvm-svn: 168619
2012-11-26 22:04:13 +00:00
Dmitri Gribenko
1dc2aa6d45 Documentation: convert SourceLevelDebugging.html to reST
llvm-svn: 168493
2012-11-22 11:56:02 +00:00
Chandler Carruth
917b2bf54c Remove 'sretpromotion' pass from the documentation. This pass is long
dead.

Patch by Stephan Falke.

llvm-svn: 168492
2012-11-22 11:17:08 +00:00
Eli Bendersky
e3abf21a2d Fix a typo in FileCheck.rst
llvm-svn: 168466
2012-11-21 22:40:52 +00:00
Eli Bendersky
5d1da4526f Some sphinx-ing and consistency fixes
llvm-svn: 168380
2012-11-20 19:37:58 +00:00
Joe Abbey
606b7d9b8e Better 80cols... *sigh*
llvm-svn: 168373
2012-11-20 18:14:15 +00:00
Joe Abbey
29cd502b67 Fixing a broken link.
llvm-svn: 168372
2012-11-20 17:51:08 +00:00
Sean Silva
e03e6fe074 docs: Fix highlighting.
.git/config was marked as "bash" instead of "ini".

llvm-svn: 168365
2012-11-20 12:36:27 +00:00
Hal Finkel
90c82acde1 Note Freescale's contributions in the PPC release notes.
This mainly reflects the work of Tobias von Koch.

llvm-svn: 168352
2012-11-20 04:20:31 +00:00
Sean Silva
9a07209450 docs: Sphinxify LLVMBuild documentation.
llvm-svn: 168348
2012-11-20 03:13:53 +00:00
Eli Bendersky
9078566897 ReST-ify some markup in the LIT document
llvm-svn: 168345
2012-11-20 00:26:08 +00:00
Sean Silva
8a44ece6c1 docs: Fix reference to "bold" part of code example.
Fixes PR14380.

The prose was referring to a "bold" part of the code example, where the
boldness was lost in the transition from HTML. Unlike HTML, where one
can easily have a <b> inside a <pre>, reStructuredText is generally
unable to represent such nested markup.

Hack around it with the :emphasise-lines: option to the  code-block
directive to single out the regions instead. Thankfully the regions are
close-enough to being full lines for this to work.

llvm-svn: 168329
2012-11-19 21:18:50 +00:00
Tobias Grosser
bf877af8f1 First version of Polly release notes for 3.2
llvm-svn: 168302
2012-11-19 08:58:29 +00:00
Dmitri Gribenko
629ff5b076 SystemLibrary.rst: remove reference to a bug that was closed long time ago
llvm-svn: 168290
2012-11-18 18:42:18 +00:00
Dmitri Gribenko
db75839191 Documentation: convert SystemLibrary documentation to reST
llvm-svn: 168289
2012-11-18 18:40:21 +00:00
Dmitri Gribenko
8ed319ccf0 Documentation: remove a copy of the FileCheck man page from TestingGuide
llvm-svn: 168288
2012-11-18 18:28:14 +00:00
Dmitri Gribenko
de93c5f1e9 Documentation: use a :doc: link instead of an absolute http:// link.
llvm-svn: 168286
2012-11-18 10:35:18 +00:00
Dmitri Gribenko
bd64eee4ca Documentation: fix broken link.
llvm-svn: 168285
2012-11-18 10:32:14 +00:00
Sean Silva
e296be11ad docs: CodingStandards should follow the coding standards.
Some variables in code examples were not LikeThis.

llvm-svn: 168275
2012-11-17 23:25:33 +00:00
Benjamin Kramer
2c9210aaaa Bump sphinx config to 3.3.
llvm-svn: 168273
2012-11-17 22:12:59 +00:00
Sean Silva
13a0bb2e64 docs: Add link to HowToSetUpLLVMStyleRTTI
llvm-svn: 168271
2012-11-17 21:01:44 +00:00
Will Schmidt
b2053330dd ReleaseNotes.html updates reflecting PPC64 Elf Linux efforts and progress.
llvm-svn: 168189
2012-11-16 19:46:35 +00:00
Duncan Sands
98b6a4f4b5 Add the Erlang/HiPE calling convention, patch by Yiannis Tsiouris.
llvm-svn: 168166
2012-11-16 12:36:39 +00:00
Michael Ilseman
77387a5943 Remove trailing whitespace
llvm-svn: 168121
2012-11-16 00:58:59 +00:00
Jyotsna Verma
9376e8999d Fix typo.
llvm-svn: 168091
2012-11-15 21:21:01 +00:00
Joel Jones
bbed73e7c4 Add description of how to build docs
llvm-svn: 168088
2012-11-15 21:15:08 +00:00
Craig Topper
7820e40c62 Add missing documentation for llvm.exp2, llvm.log10, and llvm.log2.
llvm-svn: 168026
2012-11-15 07:01:39 +00:00
Craig Topper
216a5138e7 Add llvm.ceil, llvm.trunc, llvm.rint, llvm.nearbyint intrinsics.
llvm-svn: 168025
2012-11-15 06:51:10 +00:00
Eric Christopher
a6c62d7bae Add some release notes that say we removed the CellSPU port.
llvm-svn: 168014
2012-11-15 00:59:52 +00:00
Sean Silva
4c327a4538 docs: Improve typographical correctness.
llvm-svn: 167998
2012-11-14 23:15:51 +00:00
Sean Silva
5ca3ed87a8 docs: Sphinxify TestSuiteMakefileGuide
Some small related fixups to TestingGuide too.

llvm-svn: 167996
2012-11-14 23:11:10 +00:00
Eric Christopher
caf5a23d81 Remove the CellSPU port.
Approved by Chris Lattner.

llvm-svn: 167984
2012-11-14 22:09:20 +00:00
Sean Silva
0b1b99c6f4 docs: Sphinxify TestingGuide
llvm-svn: 167979
2012-11-14 21:09:30 +00:00
Alexander Kornienko
8e387e3189 Support for [[@LINE]], [[@LINE+<offset>]], [[@LINE-<offset>]] expressions in
FileCheck.

llvm-svn: 167978
2012-11-14 21:07:37 +00:00
Alexander Kornienko
61396a2725 Added %(line), %(line+<number>), %(line-<number>) substitutions to lit
llvm-svn: 167971
2012-11-14 20:26:19 +00:00
Dmitri Gribenko
59430c6028 FileCheck.rst: change formatting of code-like constructs to use a monospaced
font.  These were formatted in bold, but that's not correct.

llvm-svn: 167964
2012-11-14 19:42:32 +00:00
Sean Silva
35a5c5dfcc docs: nuke GCCFEBuildInstrs.html
llvm-svn: 167961
2012-11-14 19:34:48 +00:00
Sean Silva
ef81c5ef6e docs: Fix Sphinx toctree warning.
llvm-svn: 167905
2012-11-14 01:49:23 +00:00
Sean Silva
b134dc73d1 docs: chmod -x HowToUseInstrMappings.rst
llvm-svn: 167903
2012-11-14 01:41:58 +00:00
Duncan Sands
8c43343240 Relax the restrictions on vector of pointer types, and vector getelementptr.
Previously in a vector of pointers, the pointer couldn't be any pointer type,
it had to be a pointer to an integer or floating point type.  This is a hassle
for dragonegg because the GCC vectorizer happily produces vectors of pointers
where the pointer is a pointer to a struct or whatever.  Vector getelementptr
was restricted to just one index, but now that vectors of pointers can have
any pointer type it is more natural to allow arbitrary vector getelementptrs.
There is however the issue of struct GEPs, where if each lane chose different
struct fields then from that point on each lane will be working down into
unrelated types.  This seems like too much pain for too little gain, so when
you have a vector struct index all the elements are required to be the same.

llvm-svn: 167828
2012-11-13 12:59:33 +00:00
Jean-Daniel Dupas
15e19ca2aa Update link to external document
llvm-svn: 167781
2012-11-12 23:43:34 +00:00
Nadav Rotem
0d1d8f0215 fix a spelling mistake
llvm-svn: 167734
2012-11-12 18:45:12 +00:00
Nadav Rotem
af8ed30774 Update the vectorizer docs.
llvm-svn: 167688
2012-11-11 06:47:51 +00:00
Pawel Wodnicki
41cea79df9 fix typo PR1476
llvm-svn: 167536
2012-11-07 17:00:18 +00:00
Pawel Wodnicki
7726740413 fix for PR1476
llvm-svn: 167535
2012-11-07 16:56:52 +00:00
Eli Bendersky
ea637370ac Fix a broken sentence
llvm-svn: 167521
2012-11-07 01:52:41 +00:00
Eli Bendersky
f894ae27bb Document the -input-file option of FileCheck
llvm-svn: 167517
2012-11-07 01:41:30 +00:00
Alexey Samsonov
6b26783e91 docs: use code font for console commands in phabricator manual
llvm-svn: 167459
2012-11-06 15:04:37 +00:00
Chandler Carruth
b69b92ba1f Add a couple of stubs to the release notes for things I noticed while
clearing out my backlog of commit mail.

llvm-svn: 167380
2012-11-05 10:17:00 +00:00
Eli Bendersky
d23a1ee07f PR14256: SelectionDAGLowering was renamed to SelectionDAGBuilder a long time ago. Fix references to it in documentation and comments.
llvm-svn: 167378
2012-11-05 02:59:23 +00:00
Dmitri Gribenko
68e194ce22 Documentation: fix typos.
llvm-svn: 167302
2012-11-02 18:06:51 +00:00
Arnold Schwaighofer
1eee45a5ec Remove stale documentation about tail duplicaton IR pass
We no longer have a tail duplication pass that runs on LLVM IR. It was removed
in 3.0.

llvm-svn: 167140
2012-10-31 17:25:31 +00:00
Eli Bendersky
6454200600 Fix typo in CodeGenerator doc
llvm-svn: 167137
2012-10-31 16:41:07 +00:00
Jakub Staszak
82909cc59f Typo.
llvm-svn: 166969
2012-10-29 21:49:46 +00:00
Nadav Rotem
24b8d6c6f1 Change the PassManagerBuilder (used by -O3) loop vectorizer flag from -vectorize to -vectorize-loops because we dont want to share the same flag as the bb-vectorizer.
llvm-svn: 166937
2012-10-29 16:36:25 +00:00
Duncan Sands
29007803eb Loads and stores without an explicit alignment use the abi alignment not the
preferred alignment.  Correct the documentation.

llvm-svn: 166925
2012-10-29 14:12:44 +00:00
Chandler Carruth
9359c9ab08 Clarify that there is an option other than OAuth for Phabricator and
offer up my email to the spam lords for it. Hopefully this will
eventually be more automatic, but we don't want people to think there is
only one option.

llvm-svn: 166870
2012-10-27 09:47:33 +00:00
Jordan Rose
c9ba5a38bb Suggest llvm_unreachable over assert(0).
llvm-svn: 166821
2012-10-26 22:08:46 +00:00
Benjamin Kramer
0f18b5e49c Remove LoopDependenceAnalysis.
It was unmaintained and not much more than a stub. The new DependenceAnalysis
pass is both more general and complete.

llvm-svn: 166810
2012-10-26 20:25:01 +00:00
David Tweed
8265aeda87 Minor enhancement to build process notes for ARM platforms.
llvm-svn: 166769
2012-10-26 12:09:47 +00:00
Micah Villmow
a3ca20846f Update the release notes to note the change from TargetData to DataLayout.
llvm-svn: 166702
2012-10-25 18:06:47 +00:00
Sebastian Pop
af468d8d5a add TableGen support to create relationship maps between instructions
Relationship maps are represented as InstrMapping records which are parsed by
TableGen and the information is used to construct mapping tables to represent
appropriate relations between instructions. These tables are emitted into
XXXGenInstrInfo.inc file along with the functions to query them.

Patch by Jyotsna Verma <jverma@codeaurora.org>.

llvm-svn: 166685
2012-10-25 15:54:06 +00:00
Kevin Enderby
2b803f3a2e Add a bit of documentation on the annotated disassembly output.
llvm-svn: 166639
2012-10-24 23:30:22 +00:00
Nadav Rotem
8d4a9a6f07 Document the -force-vector-width flag.
llvm-svn: 166621
2012-10-24 20:47:55 +00:00
Dmitri Gribenko
f01cbf1125 Document current Doxygen use practices in Coding Standards. Mostly it is
obvious stuff and most new code being committed conforms to that.  Some old
code does not; this might cause confusion and this is the motivation to
document the correct guidelines.

llvm-svn: 166378
2012-10-20 13:27:43 +00:00
Nadav Rotem
33b2c76073 Vectorization docs.
llvm-svn: 166364
2012-10-20 02:34:34 +00:00
Daniel Dunbar
7abcd13b24 lit: Rename the valgrind leaks feature to match what is currently used
(vg_leak).

llvm-svn: 166306
2012-10-19 20:29:30 +00:00
Daniel Dunbar
4747331126 lit: Add 'valgrind' and 'valgrind-leaks' features when valgrind is used.
- These can be used with the XFAIL options.

llvm-svn: 166303
2012-10-19 20:12:00 +00:00
Daniel Dunbar
05096e6a09 Fix some doc-os.
llvm-svn: 166290
2012-10-19 17:23:39 +00:00
Daniel Dunbar
edc1b1982d lit: Allow XFAIL: lines to also refer to "features".
llvm-svn: 166224
2012-10-18 20:43:04 +00:00
Micah Villmow
f708318a81 Update the LangRef documentation for the per pointer address space support.
llvm-svn: 166201
2012-10-18 18:18:17 +00:00
Eli Bendersky
d53d4452a7 test commit: verifying access from new address
llvm-svn: 166197
2012-10-18 18:12:05 +00:00
Nadav Rotem
7293669878 Add a small example which shows a vectorizable loop with a non-pow-of-two count
llvm-svn: 166169
2012-10-18 05:46:16 +00:00
Nadav Rotem
574696a0dd Update the release notes about how to enable the loop vectorizer.
llvm-svn: 166123
2012-10-17 19:49:21 +00:00
Nadav Rotem
a2f8199a1f Update the release notes about the store-merge dag optimization.
llvm-svn: 166116
2012-10-17 18:35:21 +00:00
Nadav Rotem
99cc45726f Update the release notes about the new TargetTransformInfo API changes.
llvm-svn: 166115
2012-10-17 18:33:50 +00:00
Nadav Rotem
8adc448174 Update the release notes about the new loop vectorizer.
llvm-svn: 166113
2012-10-17 18:30:09 +00:00
Sean Silva
119ba23165 docs: Add link to integrated assembler HowTo
llvm-svn: 166106
2012-10-17 16:36:27 +00:00
Jan Wen Voung
b1bdc84698 Fix a typo in bitcode docs, from 165814.
llvm-svn: 165944
2012-10-15 16:47:58 +00:00
Dmitri Gribenko
68a2e52f88 Documentation: Lexicon.rst: add "BB Vectorization" and "TBAA".
llvm-svn: 165879
2012-10-13 17:34:49 +00:00
Jan Wen Voung
62641808e7 Add bitcode instruction encoding documentation for module version
0 and 1.  Followup to 165739.

llvm-svn: 165814
2012-10-12 18:13:17 +00:00
Sean Silva
032f01debc docs: Update example to conform to coding standards.
llvm-svn: 165782
2012-10-12 01:55:51 +00:00
Sean Silva
7d9ca85338 docs: Minor clean up of Phabricator documentation.
llvm-svn: 165779
2012-10-12 01:21:24 +00:00
Sean Silva
f8628ab633 docs: Add SphinxQuickstartTemplate.rst.
The intent of this document is to be the go-to document for anybody who
wants to write new documentation, but isn't familiar with Sphinx.

llvm-svn: 165775
2012-10-12 00:53:48 +00:00
Sean Silva
5770e962c3 docs: Improve HowToSetUpLLVMStyleRTTI.
* Fix confusing explanation regarding abstract classes.

* Clarify auto-upcasting and why `Shape` doesn't need a `classof()`.

* Add section `Rules of Thumb` with some quick summary tips.

llvm-svn: 165768
2012-10-11 23:30:52 +00:00
Sean Silva
d3a75e9f68 docs: Update HowToSetUpLLVMStyleRTTI.
Recent changes to isa<>/dyn_cast<> have made unnecessary those classof()
of the form:

    static bool classof(const Foo *) { return true; }

Accordingly, remove mention of such classof() from the documentation.

llvm-svn: 165766
2012-10-11 23:30:41 +00:00
Manuel Klimek
aecda1c8d9 Adds Phabricator documentation. This is a first step that answers many questions we have seen.
llvm-svn: 165736
2012-10-11 19:40:46 +00:00
NAKAMURA Takumi
02c61ceadb GettingStarted.rst: s/&amp;/&/g
llvm-svn: 165690
2012-10-11 01:10:37 +00:00
NAKAMURA Takumi
c27e44310c GettingStarted.rst: Fix the label to DeveloperPolicy.html.
llvm-svn: 165689
2012-10-11 01:10:27 +00:00
Sean Silva
121d5c2cab docs: Propagate fix from r165632 to other docs.
There are only two other instances of using `.. code::` instead of
`..  code-block::`.

llvm-svn: 165633
2012-10-10 17:21:39 +00:00
Sean Silva
9ecefd6948 docs: Attempt to fix PR14053.
Hypothesis 1: use of `.. code::` directive instead of `.. code-block::`
is causing Sphinx to discard the block. On my machine, `.. code::`
renders fine. However, I don't think that `..  code::` is actually a
legit Sphinx directive. I believe that on my machine Sphinx is falling
back to just displaying it monospace with no syntax, whereas llvm.org's
Sphinx is just discarding it.

This is truly "remote debugging" since I can't reproduce this on my
machine. It would be helpful to be able to see the llvm.org Sphinx
build logs; if that's possible please let me know.

llvm-svn: 165632
2012-10-10 17:07:23 +00:00
Eric Christopher
a31a55ef4f Fix typo in docs.
llvm-svn: 165464
2012-10-08 23:54:10 +00:00
Micah Villmow
fe3338a7eb Move TargetData to DataLayout.
llvm-svn: 165403
2012-10-08 16:39:34 +00:00
Sean Silva
274afc4d40 Silence Sphinx warnings.
Found the fix on this page:
http://permalink.gmane.org/gmane.comp.python.sphinx.devel/112

llvm-svn: 165380
2012-10-07 18:49:28 +00:00
Bill Wendling
de6de294d3 Sphinxify the GettinStarted documentation.
llvm-svn: 165372
2012-10-07 07:10:13 +00:00
Bill Wendling
a91c4a23b7 Sphinxify the ExtendingLLVM documentation.
llvm-svn: 165371
2012-10-07 04:56:08 +00:00
Bill Wendling
2998f210f7 Sphinxify the compiler writer info documentation.
llvm-svn: 165369
2012-10-07 04:34:10 +00:00
Rafael Espindola
2619103729 Document MapVector.
llvm-svn: 165366
2012-10-07 00:56:09 +00:00
Dmitri Gribenko
fb9162157f HowToSetUpLLVMStyleRTTI.rst: remove unneeded semicolons in code examples.
llvm-svn: 165335
2012-10-05 20:52:13 +00:00
Dmitri Gribenko
0a00d8606d GoldPlugin.rst: minor typesetting fixes.
llvm-svn: 165334
2012-10-05 20:50:05 +00:00
Sean Silva
498ab652ba docs: Add HowToSetUpLLVMStyleRTTI.rst.
This document describes how to set up LLVM-style RTTI for a class
hierarchy. Surprisingly, this was not previously documented.

Also, link it into ProgrammersManual.html.

llvm-svn: 165293
2012-10-05 03:32:01 +00:00
Duncan Sands
448245e370 The alignment of an sret parameter is known: it must be at least the
alignment of the return type.  Teach the optimizers this.

llvm-svn: 165226
2012-10-04 13:36:31 +00:00
Sean Silva
11a47754b8 docs: Fix typo on front page
llvm-svn: 165200
2012-10-04 04:41:27 +00:00
Sean Silva
39152df564 docs: Sphinxify GoldPlugin document.
llvm-svn: 165198
2012-10-04 03:56:23 +00:00
Michael J. Spencer
975a363331 [Docs] Update File Headers section to cover doxygen style file level docs.
llvm-svn: 164964
2012-10-01 19:59:21 +00:00
Dmitri Gribenko
353ea39be4 RST docs: convert HTML escapes to plain text in code examples.
llvm-svn: 164922
2012-09-30 20:51:02 +00:00
Dmitri Gribenko
3d5e43c7ca Sphinx CSS: remove negative letter-spacing, it makes some fonts look really
bad.  Fonts already have appropriate tracking built-in.

llvm-svn: 164921
2012-09-30 20:43:24 +00:00
Jakub Staszak
c78b1c68c7 Fix &amp;&amp; to && in Coding Standards.
llvm-svn: 164920
2012-09-30 20:42:13 +00:00
Sean Silva
b781a853b1 docs: dedent list on index.rst
In reStructuredText, indented blocks denote block quotes [1]. This list
is not a block quote.

[1]. http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#block-quotes

llvm-svn: 164847
2012-09-28 21:18:37 +00:00
Andrew Kaylor
6b7788b0c5 Removing dependency on third party library for Intel JIT event support.
Patch committed on behalf of Kirill Uhanov

llvm-svn: 164831
2012-09-28 17:35:20 +00:00
Micah Villmow
ee6440e8ae Fix more crlf issues.
llvm-svn: 164805
2012-09-27 22:14:10 +00:00
Micah Villmow
66c88768ad Fix CRLF issues.
llvm-svn: 164782
2012-09-27 17:51:02 +00:00
Micah Villmow
466ac299d9 Patch for HowToBuildOnARM documentation from Wei-Ren Chen.
llvm-svn: 164776
2012-09-27 15:05:49 +00:00
Sean Silva
e1b93fd6a5 docs: Sphinxify HowToSubmitABug
llvm-svn: 164630
2012-09-25 20:52:04 +00:00
Sean Silva
9a9e2646a3 docs: Fix long-standing typo in yaml2obj.rst.
llvm-svn: 164407
2012-09-21 19:48:16 +00:00
Dan Gohman
8242a28668 Say "bytes" instead of "address units", since that's what the
rest of LangRef uses.

llvm-svn: 164402
2012-09-21 18:41:30 +00:00
Dan Gohman
cacdd7ae8e Document the new !tbaa.struct metadata.
llvm-svn: 164398
2012-09-21 18:21:48 +00:00
David Blaikie
022673f281 Add missing 'to' and rephrase an explanation of GCC's assumptions.
Wordsmithing by Matt Beaumont-Gay in response to r164389.

llvm-svn: 164395
2012-09-21 18:03:02 +00:00
David Blaikie
2bafd0b320 Document "do not use defaults in covered switch-over-enum" coding standard.
llvm-svn: 164389
2012-09-21 17:47:36 +00:00
Sean Silva
b15391b636 docs: Fix Sphinx warning over Atomics.rst.
Atomics.rst was not linked into the toctree.

Docs now build warning-free!

llvm-svn: 164356
2012-09-21 02:46:32 +00:00
Sean Silva
6414239b4d docs: Fix Sphinx warning over yaml2obj.rst.
yaml2obj.rst was not included in the toctree

Input from Michael Spencer.

llvm-svn: 164355
2012-09-21 02:46:30 +00:00
Andrew Trick
867c22eebd Fix function names in coding style examples
llvm-svn: 164311
2012-09-20 17:02:04 +00:00
Sean Silva
babd754e40 Fix Sphinx warnings.
Toctree was not being interlinked properly.

llvm-svn: 164282
2012-09-20 03:20:53 +00:00
Sean Silva
7cdfe91e58 Sphinxify DebuggingJITedCode
LGTM by Michael Spencer

llvm-svn: 164280
2012-09-20 03:05:26 +00:00
Andrew Trick
39a94943a8 Fix static function names in CodingStandards examples.
Try not to violate conventions immediately before explaining them.

llvm-svn: 164278
2012-09-20 02:01:06 +00:00
Sean Silva
97a34663de Test commit
llvm-svn: 164174
2012-09-18 22:21:43 +00:00
Dmitri Gribenko
ddd1dbb78c Coding standards: fix typo: '= deleted' -> '= delete'.
llvm-svn: 164126
2012-09-18 14:00:58 +00:00
Craig Topper
4662d8cd85 Add LLVM_DELETED_FUNCTION to coding standards.
llvm-svn: 164101
2012-09-18 04:43:40 +00:00
Galina Kistanova
2c9af1ca4a Patch by Sean Silva!
The patch converts the "How to add a builder" document over to reStructuredText..

llvm-svn: 163860
2012-09-13 23:51:08 +00:00
Nadav Rotem
f25e382cd2 Add a new optimization pass: Stack Coloring, that merges disjoint static allocations (allocas). Allocas are known to be
disjoint if they are marked by disjoint lifetime markers (@llvm.lifetime.XXX intrinsics).

llvm-svn: 163299
2012-09-06 09:17:37 +00:00
Michael J. Spencer
63c8487435 [Docs] Fix Sphinx incremental build. Patch by Sean Silva!
llvm-svn: 163235
2012-09-05 19:44:47 +00:00
Chad Rosier
542e938cf4 [ms-inline asm] Enumerate the InlineAsm dialects and rename the nsdialect to
inteldialect.

llvm-svn: 163231
2012-09-05 19:00:49 +00:00
Chad Rosier
aaee8ac173 [ms-inline asm] Emit the (new) inline asm Non-Standard Dialect attribute.
llvm-svn: 163181
2012-09-05 00:08:17 +00:00
Chad Rosier
b049a3421f [ms-inline asm] Remove the Inline Asm Non-Standard Dialect attribute. This
implementation does not co-exist well with how the sideeffect and alignstack
attributes are handled.  The reverts r161641.

llvm-svn: 163174
2012-09-04 22:29:45 +00:00
Nadav Rotem
5ba0536202 remove old docs
llvm-svn: 162896
2012-08-30 09:23:13 +00:00
Bill Wendling
ffe4d583f6 Patch by Sean Silva to un-barf his computer by explicitly removing the '\n'
character instead of always the last character.

llvm-svn: 162767
2012-08-28 17:18:27 +00:00
Bill Wendling
0569e9a6f3 Change the linker_private_weak_def_auto' linkage to linkonce_odr_auto_hide' to
make it more consistent with its intended semantics.

The `linker_private_weak_def_auto' linkage type was meant to automatically hide
globals which never had their addresses taken. It has nothing to do with the
`linker_private' linkage type, which outputs the symbols with a `l' (ell) prefix
among other things.

The intended semantic is more like the `linkonce_odr' linkage type.

Change the name of the linkage type to `linkonce_odr_auto_hide'. And therefore
changing the semantics so that it produces the correct output for the linker.

Note: The old linkage name `linker_private_weak_def_auto' will still parse but
is not a synonym for `linkonce_odr_auto_hide'. This should be removed in 4.0.
<rdar://problem/11754934>

llvm-svn: 162114
2012-08-17 18:33:14 +00:00
Rafael Espindola
8a1cdcb7fc Remove references to compression in llvm-ar. It has been a long time since we
switched from a bytecode+bzip2 to the current bitcode.

llvm-svn: 161651
2012-08-10 01:57:52 +00:00
Chad Rosier
b0454bf13e [ms-inline asm] Add a new Inline Asm Non-Standard Dialect attribute.
This new attribute is intended to be used by the backend to determine how
the inline asm string should be parsed/printed. This patch adds the 
ia_nsdialect attribute and also adds a test case to ensure the IR is
correctly parsed, but there is no functional change at this time.

The standard dialect is assumed to be AT&T.  Therefore, this attribute
should only be added to MS-style inline assembly statements, which use
the Intel dialect.  If we ever support more dialects we'll need to
add additional state to the attribute.

llvm-svn: 161641
2012-08-10 00:00:22 +00:00
Bill Wendling
9f268f7056 Sphinxify the CommandLine document.
llvm-svn: 161479
2012-08-08 08:21:24 +00:00
Bill Wendling
c05422b99f Move header so that it can be picked up by other .rst files.
llvm-svn: 161478
2012-08-08 06:42:30 +00:00
Michael J. Spencer
9f255feb3f Add yaml2obj. A utility to convert YAML to binaries.
yaml2obj takes a textual description of an object file in YAML format
and outputs the binary equivalent. This greatly simplifies writing
tests that take binary object files as input.

llvm-svn: 161205
2012-08-02 19:16:56 +00:00
Bill Wendling
aa5e63c67e Sphinxify the Code Generator document.
llvm-svn: 161164
2012-08-02 08:49:53 +00:00
Sylvestre Ledru
2d9295b9eb Fix some minor typos
llvm-svn: 161037
2012-07-31 07:05:57 +00:00
Nick Lewycky
ec7899b258 Fix grammar-o. Fixes PR13482!
llvm-svn: 160996
2012-07-30 21:10:51 +00:00
Chad Rosier
e8c032f7f0 The TimePassesIsEnabled has since moved to PassManager.cpp.
llvm-svn: 160881
2012-07-27 19:03:02 +00:00
Dan Gohman
7ff5ef1757 Add a floor intrinsic.
llvm-svn: 160791
2012-07-26 17:43:27 +00:00
Duncan Sands
87fb0d7904 Take people straight to the contents of the file.
llvm-svn: 160777
2012-07-26 08:08:31 +00:00
Duncan Sands
475253f4fe Add the list of code owners to the top level of the LLVM source tree to
hopefully make it more visible.  Adjust the web-docs to have a link to
this file rather than the list itself.  I described code owners as also
being gatekeepers for their part of the code, which I think is true but
isn't in the code owner explanation on the web page.

llvm-svn: 160776
2012-07-26 08:04:09 +00:00
Sylvestre Ledru
afcce3c6bc Fix two typos in the doc
llvm-svn: 160762
2012-07-25 22:01:31 +00:00
Axel Naumann
9054f5c3c7 Twine: fix link to source, add link to class doc and container section.
80 char lines.

llvm-svn: 160726
2012-07-25 13:46:11 +00:00
Sylvestre Ledru
bf8acb65ac Fix a typo (the the => the)
llvm-svn: 160621
2012-07-23 08:51:15 +00:00
Nuno Lopes
a4fe91c294 Apparently it's possible to do an 'invoke asm'.
Update the language reference to reflect that.

llvm-svn: 160408
2012-07-17 23:51:33 +00:00
Hans Wennborg
f1c528e0ac ReleaseNotes.html: add note about specifying TLS models
llvm-svn: 160168
2012-07-13 12:44:23 +00:00
Duncan Sands
a11516d7d6 Post-dom frontier was removed in 3.0. Patch by chenwj.
llvm-svn: 160166
2012-07-13 10:11:28 +00:00
Chad Rosier
05bd4ea7aa Fixup broken doc link. Patch by Sean Silva <silvas@purdue.edu>.
llvm-svn: 160082
2012-07-11 21:49:14 +00:00
Dmitri Gribenko
452a9abd15 Since SmallMap was removed in r158644, remove documentation in ProgrammersManual.html.
llvm-svn: 159874
2012-07-06 23:06:47 +00:00
Chad Rosier
e145692d89 Update getFunction parameter documentation. Fixes PR13268.
llvm-svn: 159835
2012-07-06 17:15:03 +00:00
Bill Wendling
eca6391741 Sphinxify the CMake document.
llvm-svn: 159806
2012-07-06 05:51:50 +00:00
Nuno Lopes
1304227af1 add @llvm.donothing
llvm-svn: 159758
2012-07-05 17:37:07 +00:00
Peter Collingbourne
9918d151c5 Document the llvm.fabs intrinsic.
llvm-svn: 159657
2012-07-03 12:25:40 +00:00
Chandler Carruth
4b51f99c87 Move llvm/Support/IRBuilder.h -> llvm/IRBuilder.h
This was always part of the VMCore library out of necessity -- it deals
entirely in the IR. The .cpp file in fact was already part of the VMCore
library. This is just a mechanical move.

I've tried to go through and re-apply the coding standard's preferred
header sort, but at 40-ish files, I may have gotten some wrong. Please
let me know if so.

I'll be committing the corresponding updates to Clang and Polly, and
Duncan has DragonEgg.

Thanks to Bill and Eric for giving the green light for this bit of cleanup.

llvm-svn: 159421
2012-06-29 12:38:19 +00:00
Bill Wendling
0b92de0e9a Sphinxify the Atomics documentation.
llvm-svn: 159416
2012-06-29 09:00:01 +00:00
Bill Wendling
71e8e96966 Sphinxify the bitcode format document.
llvm-svn: 159340
2012-06-28 08:43:12 +00:00
Bill Wendling
dd435ac83b Sphinxify the exception handling doc.
llvm-svn: 159254
2012-06-27 07:20:57 +00:00
Bill Wendling
52ef38cfa1 Sphyinxify the Bugpoint document.
llvm-svn: 159199
2012-06-26 11:37:00 +00:00
Hans Wennborg
8c011bd43a Extend the IL for selecting TLS models (PR9788)
This allows the user/front-end to specify a model that is better
than what LLVM would choose by default. For example, a variable
might be declared as

  @x = thread_local(initialexec) global i32 42

if it will not be used in a shared library that is dlopen'ed.

If the specified model isn't supported by the target, or if LLVM can
make a better choice, a different model may be used.

llvm-svn: 159077
2012-06-23 11:37:03 +00:00
Michael J. Spencer
9129644c4d [docs] Sphinxify GettingStartedVS. Patch by Mikael Lyngvig!
llvm-svn: 158947
2012-06-21 23:27:09 +00:00
Bill Wendling
b856af08dc Cleanup some encoding mishaps.
llvm-svn: 158904
2012-06-21 07:01:02 +00:00
Bill Wendling
f83a5bb8a8 Sphinxify the tablegen document.
llvm-svn: 158903
2012-06-21 06:58:24 +00:00
Bill Wendling
e9e0fa46e7 Sphinxify the outdated Packaging documentation.
llvm-svn: 158901
2012-06-21 06:09:37 +00:00
Meador Inge
73a66eeb7d Put space after "code-block::".
llvm-svn: 158880
2012-06-20 23:57:00 +00:00
Meador Inge
05adf60070 Removed some left over HTML tags and a '}'.
llvm-svn: 158877
2012-06-20 23:48:01 +00:00
Bill Wendling
d36ed2f9ba Sphixify the GEP FAQ.
llvm-svn: 158858
2012-06-20 21:54:22 +00:00
Bill Wendling
a57ab60fdd Sphinxify the SegmentedStack document.
llvm-svn: 158819
2012-06-20 12:05:05 +00:00
Bill Wendling
8e1f27552c Move coding standards reference from development_process.rst to programming.rst.
llvm-svn: 158818
2012-06-20 11:56:24 +00:00
Bill Wendling
31591a087e Unindent list.
llvm-svn: 158817
2012-06-20 11:55:22 +00:00
Bill Wendling
b5642731b1 Un-indent list to remove ugly back-slash.
llvm-svn: 158816
2012-06-20 11:53:08 +00:00
Bill Wendling
877de126ed Fix the formatting a bit.
llvm-svn: 158815
2012-06-20 11:25:11 +00:00
Bill Wendling
58612bba3c Sphinxify the developer policy document.
llvm-svn: 158814
2012-06-20 11:20:07 +00:00
Bill Wendling
431f691da5 Sphinxify the lexicon doc.
llvm-svn: 158813
2012-06-20 10:36:41 +00:00
Bill Wendling
0f4631f7b7 Sphinxify BranchWeightMetadata document.
llvm-svn: 158810
2012-06-20 10:17:46 +00:00
Bill Wendling
7a14ffc3c1 Sphinxify the LTO document.
llvm-svn: 158808
2012-06-20 10:08:02 +00:00
Bill Wendling
514d349e9f Unindent list.
llvm-svn: 158806
2012-06-20 09:50:45 +00:00
Bill Wendling
76888338d4 Sphinxify the AliasAnalysis document.
llvm-svn: 158805
2012-06-20 09:49:57 +00:00
Bill Wendling
f453aab690 Unindent list.
llvm-svn: 158804
2012-06-20 09:49:06 +00:00
Bill Wendling
664b964cd3 Un-indent the list and remove ugly back-slash.
llvm-svn: 158803
2012-06-20 09:48:38 +00:00
Bill Wendling
dd3b7e1a50 Sphinxify the MakefileGuide document.
llvm-svn: 158789
2012-06-20 04:20:39 +00:00
Bill Wendling
88128b9637 Sphinxify the CodingStandard documentation.
llvm-svn: 158786
2012-06-20 02:57:56 +00:00
Bill Wendling
ea97fa38ce Add Projects.rst to the toctree.
llvm-svn: 158753
2012-06-19 22:25:41 +00:00
Bill Wendling
c771e334ac Use correct capitalization.
llvm-svn: 158752
2012-06-19 22:25:17 +00:00
Bill Wendling
9f7f1bb132 Indent coding examples.
llvm-svn: 158728
2012-06-19 17:48:06 +00:00
Bill Wendling
f81fa3c6c5 Remove bad HTML tags. Add missing :.
llvm-svn: 158726
2012-06-19 17:43:57 +00:00
Bill Wendling
0a6132949a Put flag names on one line.
llvm-svn: 158715
2012-06-19 09:29:05 +00:00
Bill Wendling
df8991b124 Fix italicized text.
llvm-svn: 158714
2012-06-19 09:27:54 +00:00
Bill Wendling
3338d431ac Use correct URL.
llvm-svn: 158713
2012-06-19 09:26:15 +00:00
Bill Wendling
bdbc61c8a1 Fix numbering of list items.
llvm-svn: 158712
2012-06-19 09:25:04 +00:00
Bill Wendling
93dd4eadf0 Fix some Sphinx mistakes.
llvm-svn: 158711
2012-06-19 09:23:23 +00:00
Bill Wendling
8c5537918b First attempt at Sphinx. Convert the Projects.html file to Sphinx format.
llvm-svn: 158709
2012-06-19 09:18:34 +00:00
Nuno Lopes
de7b3a54f2 revert r158660, since Chris has some issues with this patch (namely using code to reprent information only used by the compiler)
Original commit msg:
add the 'alloc' metadata node to represent the size of offset of buffers pointed to by pointers.
This metadata can be attached to any instruction returning a pointer

llvm-svn: 158688
2012-06-18 23:34:26 +00:00