Commit Graph

4466 Commits

Author SHA1 Message Date
Bill Wendling 74ede098b3 Sphinxify the MakefileGuide document.
llvm-svn: 158789
2012-06-20 04:20:39 +00:00
Bill Wendling 1c5e94a47c Sphinxify the CodingStandard documentation.
llvm-svn: 158786
2012-06-20 02:57:56 +00:00
Bill Wendling 444075a281 Add Projects.rst to the toctree.
llvm-svn: 158753
2012-06-19 22:25:41 +00:00
Bill Wendling 34ffc89e93 Use correct capitalization.
llvm-svn: 158752
2012-06-19 22:25:17 +00:00
Bill Wendling 7f0d23e427 Indent coding examples.
llvm-svn: 158728
2012-06-19 17:48:06 +00:00
Bill Wendling fb370510e7 Remove bad HTML tags. Add missing :.
llvm-svn: 158726
2012-06-19 17:43:57 +00:00
Bill Wendling 6bf4417261 Put flag names on one line.
llvm-svn: 158715
2012-06-19 09:29:05 +00:00
Bill Wendling f0d91f3beb Fix italicized text.
llvm-svn: 158714
2012-06-19 09:27:54 +00:00
Bill Wendling b746402512 Use correct URL.
llvm-svn: 158713
2012-06-19 09:26:15 +00:00
Bill Wendling 5901a4e5f3 Fix numbering of list items.
llvm-svn: 158712
2012-06-19 09:25:04 +00:00
Bill Wendling f06ac97fd7 Fix some Sphinx mistakes.
llvm-svn: 158711
2012-06-19 09:23:23 +00:00
Bill Wendling a84e2df4f9 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 f9abcb7ba9 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
Michael J. Spencer 626a4ecf3a [docs] Port FAQ over to Sphinx.
Patch by Mikael Lyngvig!

llvm-svn: 158677
2012-06-18 20:21:38 +00:00
Nuno Lopes b7c941bad9 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: 158660
2012-06-18 16:04:04 +00:00
Michael J. Spencer a9acafa64e [docs] Make it pretty.
llvm-svn: 158561
2012-06-15 22:17:44 +00:00
David Blaikie c198a68a14 Remove/modify C backend references from LLVM documentation.
Patch by Wei-Ren Chen.

llvm-svn: 158456
2012-06-14 16:52:55 +00:00
David Blaikie b64f23e674 Remove C backend reference from the FAQ.
llvm-svn: 158455
2012-06-14 16:43:11 +00:00
Duncan Sands be3d3a66ee Clarify a bit that the types have to be the same. Came up on IRC.
llvm-svn: 158453
2012-06-14 14:58:28 +00:00
Dmitri Gribenko a99fa5b062 Use correct syntax highliter in code blocks. Noticed by Sean Silva.
llvm-svn: 158359
2012-06-12 15:45:07 +00:00
Dmitri Gribenko 19408a76a6 FileCheck docs: remove leftover HTML markup.
llvm-svn: 158344
2012-06-12 00:48:47 +00:00
Michael J. Spencer 838e5add7e [llvm-nm] Update documentation to cover object file support and arguments.
llvm-svn: 158120
2012-06-06 23:34:10 +00:00
Duncan Sands 1f5d109918 Add a new broken compiler.
llvm-svn: 158053
2012-06-06 07:39:39 +00:00
Benjamin Kramer 21b8ad0560 Add 3.0 and 3.1 tags to the getting started guide.
llvm-svn: 158020
2012-06-05 20:35:50 +00:00
Lang Hames a59100cc08 Add a new intrinsic: llvm.fmuladd. This intrinsic represents a multiply-add
expression (a * b + c) that can be implemented as a fused multiply-add (fma)
if the target determines that this will be more efficient. This intrinsic
will be used to implement FP_CONTRACT support and an aggressive FMA formation
mode.

If your target has a fast FMA instruction you should override the
isFMAFasterThanMulAndAdd method in TargetLowering to return true.

llvm-svn: 158014
2012-06-05 19:07:46 +00:00
Benjamin Kramer bde9176663 Fix typos found by http://github.com/lyda/misspell-check
llvm-svn: 157885
2012-06-02 10:20:22 +00:00
Jakob Stoklund Olesen 83b0ac498a Remove the old register list functions from MCRegisterInfo.
These functions exposed the layout of the underlying data tables as
null-terminated uint16_t arrays.

Use the new MCSubRegIterator, MCSuperRegIterator, and MCRegAliasIterator
classes instead.

llvm-svn: 157855
2012-06-01 23:28:34 +00:00
Rafael Espindola e3c5f3e5b1 Fix typos noticed by Benjamin Kramer.
Also make the checks stronger and test that we reject ranges that overlap
a previous wrapped range.

llvm-svn: 157749
2012-05-31 16:04:26 +00:00
Rafael Espindola 97d7787788 Require intervals in the range metadata to be in a canonical form: They must
be non contiguous, non overlapping and sorted by the lower end.

While this is technically a backward incompatibility, every frontent currently
produces range metadata with a single interval and we don't have any pass
that merges intervals yet, so no existing bitcode files should be rejected by
this.

llvm-svn: 157741
2012-05-31 13:45:46 +00:00
Chris Lattner 747482c579 typo fix
llvm-svn: 157661
2012-05-30 00:40:23 +00:00
Chris Lattner ff9e08baf9 rdar://11542750 - llvm.trap should be marked no return.
llvm-svn: 157551
2012-05-27 23:20:41 +00:00
Jakob Stoklund Olesen 36a5c8e550 Add support for range expressions in TableGen foreach loops.
Like this:

  foreach i = 0-127 in ...

Use braces for composite ranges:

  foreach i = {0-3,9-7} in ...

llvm-svn: 157432
2012-05-24 22:17:39 +00:00
Chad Rosier fd7469c947 Typo. Patch by Nicklas Bo Jensen <nbjensen@gmail.com>.
llvm-svn: 157415
2012-05-24 21:17:47 +00:00
Tobias Grosser 6b31d170a4 Add half support to LLVM (for OpenCL)
Submitted by: Anton Lokhmotov  <Anton.Lokhmotov@arm.com>

Approved by: o Anton Korobeynikov
             o Micah Villmow
             o David Neto

llvm-svn: 157393
2012-05-24 15:59:06 +00:00
Bill Wendling 6081fa19c5 Remove old release notes. Ready them for additions from current development
cycle.

llvm-svn: 157378
2012-05-24 06:38:09 +00:00
Joel Jones 2edc84ee60 Reflect that tblgen is now llvm-tblgen
llvm-svn: 157371
2012-05-24 04:38:50 +00:00
Nuno Lopes ad40c0a425 revert my previous patches that introduced an additional parameter to the objectsize intrinsic.
After a lot of discussion, we realized it's not the best option for run-time bounds checking

llvm-svn: 157255
2012-05-22 15:25:31 +00:00
Nick Lewycky 853a8a982b Add RPO to the lexicon.
llvm-svn: 157166
2012-05-20 20:30:47 +00:00
John Criswell 4e711921ba Fixed grammar for the llvm.trap intrinsic description.
llvm-svn: 156881
2012-05-16 00:26:51 +00:00
Daniel Dunbar f8deeb241a [docs] Remove unsupported references to ExtraSource variable.
llvm-svn: 156857
2012-05-15 21:32:27 +00:00
Bill Wendling a548587d48 Add blurb for Crack.
llvm-svn: 156852
2012-05-15 20:47:23 +00:00
Akira Hatanaka 7006265874 Update MIPS' section in the release notes. Patch by Simon Atanasyan.
llvm-svn: 156847
2012-05-15 20:06:41 +00:00
Daniel Dunbar c364d68bf2 llvm-build: Add support for non-installed libraries (e.g., gtest).
- These libraries are only reported by llvm-config when run from a development
   tree.

llvm-svn: 156838
2012-05-15 18:44:17 +00:00
David Chisnall bd4b9f7277 Add some release notes about compiler-rt and libc++
llvm-svn: 156819
2012-05-15 13:06:46 +00:00
Dan Gohman 164fe18cfe Rename @llvm.debugger to @llvm.debugtrap.
llvm-svn: 156774
2012-05-14 18:58:10 +00:00
Akira Hatanaka 67c09afab1 Release notes for MIPS backend.
llvm-svn: 156772
2012-05-14 18:40:07 +00:00
Bill Wendling c3fd480203 Formatting changes. Remove the '...' placeholders.
llvm-svn: 156756
2012-05-14 08:11:53 +00:00
Bill Wendling e8f2cdf891 Add blurb about Julia.
llvm-svn: 156754
2012-05-14 06:23:51 +00:00
Justin Holewinski e65f29ff62 ReleaseNotes: Add info on PTX back-end
llvm-svn: 156745
2012-05-13 17:32:35 +00:00
Jean-Daniel Dupas 81b82a0ebf Fix Xcode case (Upper X, lower c)
llvm-svn: 156743
2012-05-13 14:36:15 +00:00
Benjamin Kramer 959f8afaa0 ReleaseNotes: Add a note about zero_undef on llvm.cttz/ctlz. Extend x86 section. Add a bullet for dwarf access tables.
llvm-svn: 156740
2012-05-13 13:10:35 +00:00
Benjamin Kramer cd1436ddc0 ReleaseNotes: Add a blurb about llvm-mc -g and move inliner changes into the optimizer sections. Verbosify some bullets.
llvm-svn: 156739
2012-05-13 12:01:16 +00:00
Benjamin Kramer 34b714fc8d ReleaseNotes: Document that LLVM was rewritten in python.
^~~~
                            llvm-build

llvm-svn: 156738
2012-05-13 11:46:05 +00:00
Benjamin Kramer 121e760b2a ReleaseNotes: Add bullets for removed targets. Extend the note about llvm-ld removal.
llvm-svn: 156737
2012-05-13 11:28:46 +00:00
Benjamin Kramer a10adf5fdb Outline some clang 3.1 highlights off the top of my head.
llvm-svn: 156736
2012-05-13 10:40:08 +00:00
Benjamin Kramer d3684057c6 Add a link for every project.
llvm-svn: 156735
2012-05-13 10:21:51 +00:00
Bill Wendling 374e9e825f Add blurb for LLVM D Compiler.
llvm-svn: 156733
2012-05-13 10:00:58 +00:00
Bill Wendling 60639ea6ff Add blurbs for pocl and TCE.
llvm-svn: 156732
2012-05-13 09:59:27 +00:00
Bill Wendling 4fefcdb179 Add OSL blurb.
llvm-svn: 156731
2012-05-13 09:55:24 +00:00
Bill Wendling 3f853ad8f8 Add FAUST blurb.
llvm-svn: 156730
2012-05-13 09:52:48 +00:00
Nadav Rotem e963870f77 Fix the tool documentation
llvm-svn: 156729
2012-05-13 05:52:56 +00:00
Gregory Szorc 43cb4edd84 Document Python bindings in release notes
llvm-svn: 156724
2012-05-12 21:12:22 +00:00
Bill Wendling 7d878db4e1 Make the URL a link instead.
llvm-svn: 156655
2012-05-11 22:38:33 +00:00
Bill Wendling 9cc768581a Add mention of Glasgow Haskell Compiler.
llvm-svn: 156648
2012-05-11 21:42:37 +00:00
Duncan Sands 1367e49f6b Some release notes for dragonegg.
llvm-svn: 156635
2012-05-11 19:59:43 +00:00
Dan Gohman dfab443ae8 Define a new intrinsic, @llvm.debugger. It will be similar to __builtin_trap(),
but it generates int3 on x86 instead of ud2.

llvm-svn: 156593
2012-05-11 00:19:32 +00:00
Nuno Lopes 01547b3ad2 change the objectsize intrinsic signature: add a 3rd parameter to denote the maximum runtime performance penalty that the user is willing to accept.
This commit only adds the parameter. Code taking advantage of it will follow.

llvm-svn: 156473
2012-05-09 15:52:43 +00:00
Seth Cantrell 40306e7e30 add to 3.1 release notes
llvm-svn: 156443
2012-05-08 23:34:38 +00:00
Daniel Dunbar d18888242e Revert r156393, "[tests] Remove some remaining DejaGNU related cruft.", this
patch wasn't ready yet.

llvm-svn: 156395
2012-05-08 18:26:07 +00:00
Daniel Dunbar 898f02a613 [tests] Remove some remaining DejaGNU related cruft.
llvm-svn: 156393
2012-05-08 18:11:49 +00:00
Daniel Dunbar 3d92154e60 [docs] Remove POD based man page docs (and build system support).
- Currently this leaves us with less build system support (e.g., installing man pages) for the docs than is desired. I'm working on fixing this, but it may take a while. If someone finds this particularly egregious let me know and I will prioritize it.

llvm-svn: 156389
2012-05-08 17:48:21 +00:00
Daniel Dunbar 9e5585dd82 [docs] Add support for building man pages using Sphinx.
llvm-svn: 156386
2012-05-08 16:50:47 +00:00
Daniel Dunbar 2e395e17c3 [docs] Integrate the command guide into the toctree.
llvm-svn: 156385
2012-05-08 16:50:43 +00:00
Daniel Dunbar 8f4a8a636c [docs] Add ReST version of all the man pages.
- The POD versions are slated for execution, but are still around until
   llvm.org machinery is in place.

llvm-svn: 156384
2012-05-08 16:50:35 +00:00
Pete Cooper 54d5f6489f Remove C Backend from the bugpoint docs
llvm-svn: 156333
2012-05-07 22:42:40 +00:00
Duncan Sands 859212767e Use correct variable in this example. Pointed out by waynix on IRC.
llvm-svn: 156067
2012-05-03 15:25:19 +00:00
Daniel Dunbar 340fdf2991 [docs] Include the Kaleidescope tutorial in the Sphinx docs build.
llvm-svn: 156032
2012-05-02 22:46:36 +00:00
Eli Bendersky 48221c5c54 Removed examples of stack frame inspection which no longer work for old JIT.
Added an example of MCJIT-based debugging.

llvm-svn: 155895
2012-05-01 06:15:40 +00:00
Jim Grosbach 691f4dd923 Remove a docs reference to the CBackend.
llvm-svn: 155716
2012-04-27 16:29:22 +00:00
Joerg Sonnenberger 18ad5b28b7 Add note about returns_twice magic removal from LLVM itself.
llvm-svn: 155657
2012-04-26 20:10:07 +00:00
Michael J. Spencer e734f5417f [CMake] Restructure how Clang, Polly and other external projects get included.
While making lld build under the tools directory I decided to refactor how this
works.

There is now a macro, add_llvm_external_project, which takes the name of the
expected subdirectory. This sets up two CMake options.

 * LLVM_EXTERNAL_${NAME}_SOURCE_DIR
     This is the path to the source. It defaults to
     ${CMAKE_CURRENT_SOURCE_DIR}/${name}.
 * LLVM_EXTERNAL_${NAME}_BUILD
     Enable and disable building the tool as part of LLVM.

I chose LLVM_EXTERNAL_${NAME} as a prefix so they all show up together in the
GUI.

llvm-svn: 155654
2012-04-26 19:43:35 +00:00
Benjamin Kramer 31f2704a3d Reapply the SmallMap patch with a fix.
Comparing ~0UL with an unsigned will always return false when long is 64 bits long.

llvm-svn: 155568
2012-04-25 18:01:58 +00:00
Eric Christopher 4ff88c67e0 Revert "First implementation of:"
This reverts commit 76271a3366731d4c372fdebcd8d3437e6e09a61b.

as it's breaking the bots.

llvm-svn: 155562
2012-04-25 17:51:00 +00:00
Stepan Dyatkovskiy 7ce39cdb9f First implementation of:
- FlatArrayMap. Very simple map container that uses flat array inside.
- MultiImplMap. Map container interface, that has two modes, one for small amount of elements and one for big amount.
- SmallMap. SmallMap is DenseMap compatible MultiImplMap. It uses FlatArrayMap for small mode, and DenseMap for big mode. 

Also added unittests for new classes and update for ProgrammersManual.
For more details about new classes see ProgrammersManual and comments in sourcecode.

llvm-svn: 155557
2012-04-25 17:09:38 +00:00
Michael J. Spencer 4943695da9 [docs] Update version number. I suggest that at some point we make the
build system generate this file with the proper version.

llvm-svn: 155221
2012-04-20 19:28:40 +00:00
Joel Jones cca0f80ff3 Fix broken internal link.
llvm-svn: 155213
2012-04-20 18:20:24 +00:00
Joel Jones c8be222fbf Add debugging hints for when bugpoint does not suffice, specifically for instcombine and TargetLowering
llvm-svn: 155209
2012-04-20 18:11:07 +00:00
Daniel Dunbar cd0d4b69d8 [docs] Update Makefile for images removal.
- Also, drop the lines.gif background from doxygen, this URL was wrong on the
   llvm.org server anyway.

llvm-svn: 155208
2012-04-20 17:27:12 +00:00
Benjamin Kramer 23e4db271c LLVM docs no longer contain images, don't try to install them.
llvm-svn: 155206
2012-04-20 17:14:26 +00:00
Joel Jones 58c5ac4793 Correct spelling, q.v. http://en.wikipedia.org/wiki/Bourne_shell
llvm-svn: 155202
2012-04-20 16:08:56 +00:00
Daniel Dunbar 9e599bb6ac [docs] Remove spurious or unused images.
llvm-svn: 155199
2012-04-20 15:06:20 +00:00
Daniel Dunbar 46d611a227 [docs] Update HTML pages to refer to CSS in a way that works locally and with Sphinx.
llvm-svn: 155153
2012-04-19 20:20:34 +00:00
Daniel Dunbar f1cfef17e3 [docs] Remove index.html, I am flipping the switch on llvm.org.
llvm-svn: 155151
2012-04-19 20:06:39 +00:00
Michael J. Spencer 9125493efe Remove llvm-ld and llvm-stub (which is only used by llvm-ld).
llvm-ld is no longer useful and causes confusion and so it is being removed.

* Does not work very well on Windows because it must call a gcc like driver to
  assemble and link.
* Has lots of hard coded paths which are wrong on many systems.
* Does not understand most of ld's options.
* Can be partially replaced by llvm-link | opt | {llc | as, llc -filetype=obj} |
  ld, or fully replaced by Clang.

I know of no production use of llvm-ld, and hacking use should be
replaced by Clang's driver.

llvm-svn: 155147
2012-04-19 19:27:54 +00:00
Daniel Dunbar 6dafd09680 [docs] Add back old index.html until I get llvm.org work done to support Sphinx docs.
llvm-svn: 155134
2012-04-19 16:37:30 +00:00
Daniel Dunbar fbb8041194 [docs] Convert docs index page into Sphinx.
- Work in progress, this is mostly important because it lets us incrementally migrate the remaining documentation.
 - Lots of styling, editing, and integration work yet to come…
 - PR12589

llvm-svn: 155133
2012-04-19 16:31:37 +00:00
Daniel Dunbar 09b8c0f115 [docs] Stub out structure for Sphinx-based docs.
- Work in progress, this is just the basic structure.

llvm-svn: 155132
2012-04-19 16:31:19 +00:00
Jim Grosbach dd9257428d Document that StringMap iteration order is non-deterministic.
llvm-svn: 155040
2012-04-18 20:28:55 +00:00
Eli Bendersky cc091aac5c A bit of cleanup in the TestingGuide doc - dg.exp files no longer exist
llvm-svn: 154992
2012-04-18 08:02:25 +00:00
Eli Bendersky d47b789d0b Some formatting and grammar fixes in the FileCheck documentation
llvm-svn: 154990
2012-04-18 07:44:03 +00:00