Dmitri Gribenko
9dd4687fcc
GoldPlugin.rst: minor typesetting fixes.
...
llvm-svn: 165334
2012-10-05 20:50:05 +00:00
Sean Silva
5ce54c2eb9
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
271ea6cdc5
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
03254cae95
docs: Fix typo on front page
...
llvm-svn: 165200
2012-10-04 04:41:27 +00:00
Sean Silva
fc6de0f2cb
docs: Sphinxify GoldPlugin document.
...
llvm-svn: 165198
2012-10-04 03:56:23 +00:00
Michael J. Spencer
99a241fa2c
[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
37f92c74d2
RST docs: convert HTML escapes to plain text in code examples.
...
llvm-svn: 164922
2012-09-30 20:51:02 +00:00
Dmitri Gribenko
0fd5ce068e
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
2e747e3596
Fix && to && in Coding Standards.
...
llvm-svn: 164920
2012-09-30 20:42:13 +00:00
Sean Silva
6f876c1028
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
5808c7d828
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
daa1c74da8
Fix more crlf issues.
...
llvm-svn: 164805
2012-09-27 22:14:10 +00:00
Micah Villmow
eb9c0d0ed5
Fix CRLF issues.
...
llvm-svn: 164782
2012-09-27 17:51:02 +00:00
Micah Villmow
7345a35777
Patch for HowToBuildOnARM documentation from Wei-Ren Chen.
...
llvm-svn: 164776
2012-09-27 15:05:49 +00:00
Sean Silva
b0a1edce8c
docs: Sphinxify HowToSubmitABug
...
llvm-svn: 164630
2012-09-25 20:52:04 +00:00
Sean Silva
747c639c27
docs: Fix long-standing typo in yaml2obj.rst.
...
llvm-svn: 164407
2012-09-21 19:48:16 +00:00
Dan Gohman
3397bb248f
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
e36188f30e
Document the new !tbaa.struct metadata.
...
llvm-svn: 164398
2012-09-21 18:21:48 +00:00
David Blaikie
f787f171a3
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
00bec9a4ad
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
835ef201ac
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
9f0311deee
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
e6af4b9a35
Fix function names in coding style examples
...
llvm-svn: 164311
2012-09-20 17:02:04 +00:00
Sean Silva
98f84c998f
Fix Sphinx warnings.
...
Toctree was not being interlinked properly.
llvm-svn: 164282
2012-09-20 03:20:53 +00:00
Sean Silva
51fc86ddfe
Sphinxify DebuggingJITedCode
...
LGTM by Michael Spencer
llvm-svn: 164280
2012-09-20 03:05:26 +00:00
Andrew Trick
fc9420c006
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
c99b54d095
Test commit
...
llvm-svn: 164174
2012-09-18 22:21:43 +00:00
Dmitri Gribenko
be88f563bf
Coding standards: fix typo: '= deleted' -> '= delete'.
...
llvm-svn: 164126
2012-09-18 14:00:58 +00:00
Craig Topper
1740e05c31
Add LLVM_DELETED_FUNCTION to coding standards.
...
llvm-svn: 164101
2012-09-18 04:43:40 +00:00
Galina Kistanova
8201936f60
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
7c277da364
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
00b0d38094
[Docs] Fix Sphinx incremental build. Patch by Sean Silva!
...
llvm-svn: 163235
2012-09-05 19:44:47 +00:00
Chad Rosier
d8c7610781
[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
f42fad6251
[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
38d24e6751
[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
9bf4e5d3f6
remove old docs
...
llvm-svn: 162896
2012-08-30 09:23:13 +00:00
Bill Wendling
783e7c02c6
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
34bc34ecae
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
740a6bc8a0
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
09f74b5517
[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
26f1f00999
Sphinxify the CommandLine document.
...
llvm-svn: 161479
2012-08-08 08:21:24 +00:00
Bill Wendling
7daef91de0
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
1ffd9de4f1
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
ff9feeb520
Sphinxify the Code Generator document.
...
llvm-svn: 161164
2012-08-02 08:49:53 +00:00
Sylvestre Ledru
ef7d8295b6
Fix some minor typos
...
llvm-svn: 161037
2012-07-31 07:05:57 +00:00
Nick Lewycky
7e9f6d7d58
Fix grammar-o. Fixes PR13482!
...
llvm-svn: 160996
2012-07-30 21:10:51 +00:00
Chad Rosier
c25f88b703
The TimePassesIsEnabled has since moved to PassManager.cpp.
...
llvm-svn: 160881
2012-07-27 19:03:02 +00:00
Dan Gohman
0b3d782933
Add a floor intrinsic.
...
llvm-svn: 160791
2012-07-26 17:43:27 +00:00
Duncan Sands
a2791b576f
Take people straight to the contents of the file.
...
llvm-svn: 160777
2012-07-26 08:08:31 +00:00
Duncan Sands
c769ccaff3
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
4fb32b10e5
Fix two typos in the doc
...
llvm-svn: 160762
2012-07-25 22:01:31 +00:00
Axel Naumann
7b44fbb95b
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
35521e2310
Fix a typo (the the => the)
...
llvm-svn: 160621
2012-07-23 08:51:15 +00:00
Nuno Lopes
acd8535de0
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
e2679c50d7
ReleaseNotes.html: add note about specifying TLS models
...
llvm-svn: 160168
2012-07-13 12:44:23 +00:00
Duncan Sands
5a5928a5eb
Post-dom frontier was removed in 3.0. Patch by chenwj.
...
llvm-svn: 160166
2012-07-13 10:11:28 +00:00
Chad Rosier
26b8e1d03f
Fixup broken doc link. Patch by Sean Silva <silvas@purdue.edu>.
...
llvm-svn: 160082
2012-07-11 21:49:14 +00:00
Dmitri Gribenko
d01af8772d
Since SmallMap was removed in r158644, remove documentation in ProgrammersManual.html.
...
llvm-svn: 159874
2012-07-06 23:06:47 +00:00
Chad Rosier
e3a87b1511
Update getFunction parameter documentation. Fixes PR13268.
...
llvm-svn: 159835
2012-07-06 17:15:03 +00:00
Bill Wendling
fab09c66f3
Sphinxify the CMake document.
...
llvm-svn: 159806
2012-07-06 05:51:50 +00:00
Nuno Lopes
4d6c832165
add @llvm.donothing
...
llvm-svn: 159758
2012-07-05 17:37:07 +00:00
Peter Collingbourne
2165cf6e36
Document the llvm.fabs intrinsic.
...
llvm-svn: 159657
2012-07-03 12:25:40 +00:00
Chandler Carruth
aafe0918bc
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
2908947b97
Sphinxify the Atomics documentation.
...
llvm-svn: 159416
2012-06-29 09:00:01 +00:00
Bill Wendling
e28d50a889
Sphinxify the bitcode format document.
...
llvm-svn: 159340
2012-06-28 08:43:12 +00:00
Bill Wendling
c66b152e07
Sphinxify the exception handling doc.
...
llvm-svn: 159254
2012-06-27 07:20:57 +00:00
Bill Wendling
b4e01abdb4
Sphyinxify the Bugpoint document.
...
llvm-svn: 159199
2012-06-26 11:37:00 +00:00
Hans Wennborg
cbe34b4cc9
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
d93399a15d
[docs] Sphinxify GettingStartedVS. Patch by Mikael Lyngvig!
...
llvm-svn: 158947
2012-06-21 23:27:09 +00:00
Bill Wendling
a10801fe6f
Cleanup some encoding mishaps.
...
llvm-svn: 158904
2012-06-21 07:01:02 +00:00
Bill Wendling
b5c7aa515e
Sphinxify the tablegen document.
...
llvm-svn: 158903
2012-06-21 06:58:24 +00:00
Bill Wendling
5b26461e09
Sphinxify the outdated Packaging documentation.
...
llvm-svn: 158901
2012-06-21 06:09:37 +00:00
Meador Inge
6a706af708
Put space after "code-block::".
...
llvm-svn: 158880
2012-06-20 23:57:00 +00:00
Meador Inge
46137da795
Removed some left over HTML tags and a '}'.
...
llvm-svn: 158877
2012-06-20 23:48:01 +00:00
Bill Wendling
9dc93279a5
Sphixify the GEP FAQ.
...
llvm-svn: 158858
2012-06-20 21:54:22 +00:00
Bill Wendling
814ad4a169
Sphinxify the SegmentedStack document.
...
llvm-svn: 158819
2012-06-20 12:05:05 +00:00
Bill Wendling
1eec272587
Move coding standards reference from development_process.rst to programming.rst.
...
llvm-svn: 158818
2012-06-20 11:56:24 +00:00
Bill Wendling
39174deb12
Unindent list.
...
llvm-svn: 158817
2012-06-20 11:55:22 +00:00
Bill Wendling
3a9192c19a
Un-indent list to remove ugly back-slash.
...
llvm-svn: 158816
2012-06-20 11:53:08 +00:00
Bill Wendling
4a8948d583
Fix the formatting a bit.
...
llvm-svn: 158815
2012-06-20 11:25:11 +00:00
Bill Wendling
f42595a75f
Sphinxify the developer policy document.
...
llvm-svn: 158814
2012-06-20 11:20:07 +00:00
Bill Wendling
29f569c3c6
Sphinxify the lexicon doc.
...
llvm-svn: 158813
2012-06-20 10:36:41 +00:00
Bill Wendling
8a6215c3b6
Sphinxify BranchWeightMetadata document.
...
llvm-svn: 158810
2012-06-20 10:17:46 +00:00
Bill Wendling
8cb8e9987b
Sphinxify the LTO document.
...
llvm-svn: 158808
2012-06-20 10:08:02 +00:00
Bill Wendling
dca6fccd1f
Unindent list.
...
llvm-svn: 158806
2012-06-20 09:50:45 +00:00
Bill Wendling
e78ab21781
Sphinxify the AliasAnalysis document.
...
llvm-svn: 158805
2012-06-20 09:49:57 +00:00
Bill Wendling
b2f7b95b9d
Unindent list.
...
llvm-svn: 158804
2012-06-20 09:49:06 +00:00
Bill Wendling
7aa439ece8
Un-indent the list and remove ugly back-slash.
...
llvm-svn: 158803
2012-06-20 09:48:38 +00:00
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
Chandler Carruth
be4ef0818d
Add a stub about the inline cost rewrite.
...
llvm-svn: 154892
2012-04-17 01:13:53 +00:00
Chandler Carruth
6a47837ef7
Add a stub for block placement pass. This needs fleshing out w/ details
...
about what folks should expect w.r.t. the new algorithm.
llvm-svn: 154891
2012-04-17 01:10:35 +00:00
Duncan Sands
93e8263d21
Forgot to remove fast math metadata from the release notes.
...
llvm-svn: 154858
2012-04-16 20:51:39 +00:00
Duncan Sands
9af6298293
Remove support for the special 'fast' value for fpmath accuracy for the moment.
...
llvm-svn: 154850
2012-04-16 19:39:33 +00:00
Tobias Grosser
dfc9ab2c16
Describe Polly as a 'Polyhedral Optimizer'
...
llvm-svn: 154834
2012-04-16 17:18:49 +00:00
Tobias Grosser
99d8e96d8e
Add Polly news to the release notes
...
llvm-svn: 154833
2012-04-16 17:17:00 +00:00
Hal Finkel
82f8b2180d
Link to the autovectorization EuroLLVM slides in the release notes.
...
llvm-svn: 154830
2012-04-16 17:06:49 +00:00
Duncan Sands
05f4df8d72
Make it possible to indicate relaxed floating point requirements at the IR level
...
through the use of 'fpmath' metadata. Currently this only provides a 'fpaccuracy'
value, which may be a number in ULPs or the keyword 'fast', however the intent is
that this will be extended with additional information about NaN's, infinities
etc later. No optimizations have been hooked up to this so far.
llvm-svn: 154822
2012-04-16 16:28:59 +00:00
Eli Bendersky
f08a5a45fb
Documentation fixes to LLVMBuild.html [PR 11563]
...
llvm-svn: 154804
2012-04-16 08:42:55 +00:00
Bill Wendling
d1f43f1ceb
Add credit and release notes for r150307. By Kai Nacke.
...
llvm-svn: 154796
2012-04-16 05:24:52 +00:00
Hal Finkel
1ac08679fd
Say something about -vectorize in the release notes.
...
llvm-svn: 154788
2012-04-16 03:49:43 +00:00
Jakub Staszak
9414f0f266
Fix class name.
...
llvm-svn: 154773
2012-04-15 20:22:36 +00:00
Jakub Staszak
89f1d0a5a4
Fix filename and register numbers.
...
llvm-svn: 154771
2012-04-15 20:13:47 +00:00
Duncan Sands
62d5f6f247
Add the MDBuilder helper class for conveniently creating metadata.
...
llvm-svn: 154766
2012-04-15 18:03:49 +00:00
Anshuman Dasgupta
d07ba6208f
Remove trailing whitespace.
...
llvm-svn: 154755
2012-04-14 20:59:13 +00:00
Anshuman Dasgupta
888bcf9c63
Add VLIW packetizer to ReleaseNotes.html and CREDITS.TXT. Committing patch
...
by Sundeep Kushwaha.
llvm-svn: 154754
2012-04-14 20:57:13 +00:00
Brendon Cahoon
5aa9db38ac
Add the loop unrolling info to ReleaseNotes.html and CREDITS.TXT.
...
llvm-svn: 154752
2012-04-14 16:54:12 +00:00
Duncan Sands
34bd91a49f
Rename "fpaccuracy" metadata to the more generic "fpmath". That's because I'm
...
thinking of generalizing it to be able to specify other freedoms beyond accuracy
(such as that NaN's don't have to be respected). I'd like the 3.1 release (the
first one with this metadata) to have the more generic name already rather than
having to auto-upgrade it in 3.2.
llvm-svn: 154744
2012-04-14 12:36:06 +00:00
Tony Linthicum
7f13de2d6f
Support for Hexagon backend.
...
llvm-svn: 154692
2012-04-13 19:09:44 +00:00
Anshuman Dasgupta
47628b2580
Add DFA generator for VLIW targets to ReleaseNotes.html and CREDITS.TXT.
...
llvm-svn: 154590
2012-04-12 15:17:35 +00:00
Duncan Sands
af06b26c8e
Express the number of ULPs in fpaccuracy metadata as a real rather than a
...
rational number, eg as 2.5 rather than 5, 2. OK'd by Peter Collingbourne.
llvm-svn: 154387
2012-04-10 08:22:43 +00:00
Duncan Sands
f1e1bb213f
Clarify that fpaccuracy metadata is giving the compiler permission to use a
...
less accurate method.
llvm-svn: 154319
2012-04-09 14:08:00 +00:00
Bill Wendling
ccf1109040
Formatting changes. Don't put spaces in front of some code, which only makes it look 'off'.
...
llvm-svn: 154282
2012-04-08 11:52:52 +00:00
NAKAMURA Takumi
b95f64134e
Target/X86/MCTargetDesc/X86MCAsmInfo.cpp: Enable DwarfCFI (aka DW2) on Cygming.
...
Cygwin-1.7 supports dw2. Some recent mingw distros support one, too.
I have confirmed test-suite/SingleSource/Benchmarks/Shootout-C++/except.cpp can pass on Cygwin.
llvm-svn: 154247
2012-04-07 02:24:20 +00:00
Eric Christopher
34164196af
Add a line number for the scope of the function (starting at the first
...
brace) so that we get more accurate line number information about the
declaration of a given function and the line where the function
first starts.
Part of rdar://11026482
llvm-svn: 153916
2012-04-03 00:43:49 +00:00
Benjamin Kramer
cca02750c8
Drop O4 from the llc manpage, it was removed in r70445.
...
llvm-svn: 153684
2012-03-29 20:40:18 +00:00
NAKAMURA Takumi
c9d9b92dc1
llvm/docs/*.html: Fix markups.
...
llvm-svn: 153508
2012-03-27 11:25:16 +00:00
Daniel Dunbar
9a05c8b479
docs/lit: Add some notes on the lit test run output format.
...
llvm-svn: 153450
2012-03-26 18:01:14 +00:00
Eric Christopher
885ed8240e
Update documentation for old api changes.
...
Fixes PR12050
llvm-svn: 153424
2012-03-26 01:56:34 +00:00
Rafael Espindola
1ff70a7cf2
s/restrict/describe/
...
Thanks Duncan.
llvm-svn: 153411
2012-03-25 11:14:35 +00:00
Eli Bendersky
f33086052d
Continue cleanup of LIT, getting rid of the remaining artifacts from dejagnu
...
* Removed test/lib/llvm.exp - it is no longer needed
* Deleted the dg.exp reading code from test/lit.cfg. There are no dg.exp files
left in the test suite so this code is no longer required. test/lit.cfg is
now much shorter and clearer
* Removed a lot of duplicate code in lit.local.cfg files that need access to
the root configuration, by adding a "root" attribute to the TestingConfig
object. This attribute is dynamically computed to provide the same
information as was previously provided by the custom getRoot functions.
* Documented the config.root attribute in docs/CommandGuide/lit.pod
llvm-svn: 153408
2012-03-25 09:02:19 +00:00
Rafael Espindola
f15b79548b
Add a small release not about the range metadata.
...
llvm-svn: 153391
2012-03-24 19:02:32 +00:00
Rafael Espindola
ef9f5504ea
First part of PR12251. Add documentation and verifier support for the range
...
metadata.
llvm-svn: 153359
2012-03-24 00:14:51 +00:00
Eric Christopher
64a232343a
Remove the C backend.
...
llvm-svn: 153307
2012-03-23 05:50:46 +00:00
Nick Lewycky
c7c66e4db4
Explicitly close optionally closed <li> tags.
...
llvm-svn: 153296
2012-03-23 00:56:26 +00:00
Nick Lewycky
1c76f15aa7
Add a release note for r145714.
...
llvm-svn: 153224
2012-03-21 22:58:28 +00:00
Nick Lewycky
f70a2bde45
This clause (although matching parts of the implementation) can't be correct.
...
Thanks to Eli for noticing the discrepancy.
llvm-svn: 153011
2012-03-18 09:35:50 +00:00
Chris Lattner
c9de7e5281
clarify the coding standards a bit.
...
llvm-svn: 152957
2012-03-16 22:34:37 +00:00
Daniel Dunbar
378f877758
docs: Update TestingGuide to change recommended practice to using LNT to drive
...
the test-suite.
llvm-svn: 152860
2012-03-15 22:19:35 +00:00
Eli Bendersky
f0a1305bc0
Some typos in lit command guide
...
llvm-svn: 152712
2012-03-14 11:34:19 +00:00
Bill Wendling
21ee0d21ae
Update the "hello world" example to resemble what we currently output.
...
Also do some minor reformatting.
llvm-svn: 152707
2012-03-14 08:07:43 +00:00
Eli Bendersky
2859178242
Typo in lit command guide
...
llvm-svn: 152702
2012-03-14 06:09:20 +00:00
Eli Bendersky
5262ad2afa
Add profiling support for Intel Parallel Amplifier XE (VTune) for JITted code in LLVM.
...
Also refactor the existing OProfile profiling code to reuse the same interfaces with the VTune profiling code.
In addition, unit tests for the profiling interfaces were added.
This patch was prepared by Andrew Kaylor and Daniel Malea, and reviewed in the llvm-commits list by Jim Grosbach
llvm-svn: 152620
2012-03-13 08:33:15 +00:00
Bill Wendling
4fa13ccbec
Add column width.
...
llvm-svn: 152115
2012-03-06 09:23:25 +00:00
Bill Wendling
4af807c59d
Remove short tag marker.
...
llvm-svn: 152114
2012-03-06 09:22:03 +00:00
Bill Wendling
61d5e4d4d5
Appease the HTML validation gods.
...
llvm-svn: 152113
2012-03-06 09:20:59 +00:00
Bill Wendling
23d60acc38
Fix validation errors.
...
llvm-svn: 152112
2012-03-06 09:17:39 +00:00
Bill Wendling
d672d9cd02
Fix validation errors.
...
llvm-svn: 152111
2012-03-06 09:17:04 +00:00
Bill Wendling
4bf1cc8312
Add missing end tags.
...
llvm-svn: 152110
2012-03-06 08:59:13 +00:00
Eric Christopher
8c096d65b3
Fix up link and a couple small edits.
...
llvm-svn: 152094
2012-03-06 02:25:41 +00:00
Eric Christopher
85cd2a0148
Add the beginnings of documentation for the Name Accelerator Tables.
...
Based on a writeup originally by Greg Clayton.
Abuse div and pre tags horribly. Needs a bit more cleanup.
llvm-svn: 152093
2012-03-06 02:25:38 +00:00
Eric Christopher
5acc7c1b74
Delete trailing whitespace to clean up.
...
llvm-svn: 152092
2012-03-06 02:25:36 +00:00
NAKAMURA Takumi
9b32e0f29f
llvm/docs/GarbageCollection.html: Prune utf8 BOM.
...
llvm-svn: 151968
2012-03-03 04:32:33 +00:00
Jia Liu
d9605a6582
add llvm.gcroot into GarbageCollection.html, patch bylost lostfreeman@gmail.com.
...
llvm-svn: 151908
2012-03-02 11:30:51 +00:00
Jia Liu
b1cb18468b
rplace Alpha with ARM in docs/WritingAnLLVMBackend.html, patch by chenwj
...
llvm-svn: 151811
2012-03-01 15:14:19 +00:00
Nick Lewycky
efe5e2ea9f
Where the alloca'd space actually lives in ram is undefined, and attempting to
...
pin it down is undefined behaviour.
llvm-svn: 151710
2012-02-29 08:26:44 +00:00
Craig Topper
8e76068c6e
Update tblgen command guide. Remove unused tblgen InstrEnumEmitter files.
...
llvm-svn: 151513
2012-02-27 02:31:09 +00:00
Chad Rosier
ce50eec7c6
Remove more GCC FE build stuff.
...
llvm-svn: 151507
2012-02-26 22:26:37 +00:00
Chad Rosier
579b40db6a
Installing the GCC front end is no longer supported.
...
llvm-svn: 151506
2012-02-26 22:17:05 +00:00
Chad Rosier
2270b005bb
Cleanup the LLVM Getting Started page.
...
llvm-svn: 151505
2012-02-26 22:12:59 +00:00
Chad Rosier
690a2b0902
Add href to clang in overview.
...
llvm-svn: 151503
2012-02-26 21:34:02 +00:00
Chad Rosier
233f147691
Remove references to llvm-gcc from overview and tutorial.
...
llvm-svn: 151502
2012-02-26 21:31:25 +00:00
Nadav Rotem
78bda89412
Add a random .LL file generator to stress-test different llvm components.
...
llvm-svn: 151479
2012-02-26 08:35:53 +00:00
Jim Grosbach
dfd306ea3c
Release not for ARM integrated assembler support.
...
llvm-svn: 151308
2012-02-23 23:52:06 +00:00
Chad Rosier
563f620932
Typo.
...
llvm-svn: 151302
2012-02-23 23:21:22 +00:00
Chad Rosier
6e220d5ad0
The LLVM Getting Started documentation is out of date. It would be nice if
...
someone could update this, but for now at least reference the Clang Getting
Started document, which is much more current.
llvm-svn: 151285
2012-02-23 21:23:24 +00:00
Chris Lattner
c4360f8492
libclc is now dual licensed, Tobias and Peter own their respective subprojects.
...
llvm-svn: 151186
2012-02-22 19:17:20 +00:00
David Greene
fb927af24f
Add Foreach Loop
...
Add some data structures to represent for loops. These will be
referenced during object processing to do any needed iteration and
instantiation.
Add foreach keyword support to the lexer.
Add a mode to indicate that we're parsing a foreach loop. This allows
the value parser to early-out when processing the foreach value list.
Add a routine to parse foreach iteration declarations. This is
separate from ParseDeclaration because the type of the named value
(the iterator) doesn't match the type of the initializer value (the
value list). It also needs to add two values to the foreach record:
the iterator and the value list.
Add parsing support for foreach.
Add the code to process foreach loops and create defs based
on iterator values.
Allow foreach loops to be matched at the top level.
When parsing an IDValue check if it is a foreach loop iterator for one
of the active loops. If so, return a VarInit for it.
Add Emacs keyword support for foreach.
Add VIM keyword support for foreach.
Add tests to check foreach operation.
Add TableGen documentation for foreach.
Support foreach with multiple objects.
Support non-braced foreach body with one object.
Do not require types for the foreach declaration. Assume the iterator
type from the iteration list element type.
llvm-svn: 151164
2012-02-22 16:09:41 +00:00
Jakob Stoklund Olesen
3a0f01f734
Add a Briggs and Torczon sparse set implementation.
...
For objects that can be identified by small unsigned keys, SparseSet
provides constant time clear() and fast deterministic iteration. Insert,
erase, and find operations are typically faster than hash tables.
SparseSet is useful for keeping information about physical registers,
virtual registers, or numbered basic blocks.
llvm-svn: 151110
2012-02-22 00:56:08 +00:00
Chad Rosier
991aa50e44
Fix documentation.
...
llvm-svn: 150860
2012-02-18 01:38:41 +00:00
Jakob Stoklund Olesen
0cdf264491
Note x86 regmask operands in release notes.
...
llvm-svn: 150712
2012-02-16 18:22:39 +00:00
Bill Wendling
0891de0332
Add blurb about module flags and reformat a bit.
...
llvm-svn: 150677
2012-02-16 10:23:43 +00:00
Bill Wendling
7346277b6b
Give a description of the Objective-C garbage collection module flags.
...
The rule governing the flags is this:
no-gc + no-gc = no-gc
no-gc + gc = no-gc
no-gc + gc-only = error
gc + gc = gc
gc + gc-only = gc-only
gc-only + gc-only = gc-only
llvm-svn: 150646
2012-02-16 01:10:50 +00:00
Daniel Dunbar
06b6812b5f
utils: Kill NewNightlyTest.pl, which has been replaced by LNT (as far as I know).
...
llvm-svn: 150610
2012-02-15 19:24:11 +00:00
Bill Wendling
911fdf47cd
Document the new module flags.
...
llvm-svn: 150301
2012-02-11 11:59:36 +00:00
Pete Cooper
13e082d8ba
Added description of invariant.load metadata to LangRef. It was added to the compiler in r144100
...
llvm-svn: 150257
2012-02-10 18:13:54 +00:00
Jia Liu
5b6562f58c
update --enable-targets list
...
llvm-svn: 150229
2012-02-10 04:58:24 +00:00
Devang Patel
af8f33726b
Now subprogram descriptors are not collected by llvm.dbg.sp NamedMDNode. Update document to reflect this change.
...
llvm-svn: 150187
2012-02-09 17:34:01 +00:00
Chris Lattner
8776bc13f5
fix broken link
...
llvm-svn: 150105
2012-02-08 22:20:00 +00:00
Chris Lattner
13f118f47b
No actual functional change here, just some clarifications:
...
Clarify that contributors are agreeing to license their code under the
license corresponding to the subproject that they are contributing to,
as requested by a potential contributor.
Also, as a drive-by, update the llvm-gcc/GPL section to mention dragonegg
and say that GPL code is all in its own repo's.
llvm-svn: 150065
2012-02-08 07:58:38 +00:00
Chris Lattner
042e3720c3
add an explicit section on static constructors.
...
llvm-svn: 150037
2012-02-08 01:44:00 +00:00
Bill Wendling
b377fc3bfa
Rephrase to add clarity.
...
llvm-svn: 149972
2012-02-07 08:42:29 +00:00
Bill Wendling
9228b3e37c
Document the 'unwind' removal.
...
llvm-svn: 149914
2012-02-06 21:59:44 +00:00
Bill Wendling
3f6a3a277c
[unwind removal] Remove any mention of the 'unwind' instruction. What was that
...
instruction anyway?!
llvm-svn: 149913
2012-02-06 21:57:33 +00:00
Devang Patel
c0449635b3
Update docs describing objective-c property encoding. This includes support for properties that are not backed by an ivar.
...
llvm-svn: 149879
2012-02-06 18:18:25 +00:00
Bill Wendling
46f28e0e27
Mention that the 'unwind' instruction is now deprecated.
...
llvm-svn: 149876
2012-02-06 17:58:34 +00:00
Eli Bendersky
3ea96a701e
Fix typo and broken link
...
llvm-svn: 149820
2012-02-05 11:17:49 +00:00
Eli Bendersky
cf65eff7a5
Add missing paren
...
llvm-svn: 149817
2012-02-05 09:21:25 +00:00
Hal Finkel
c34e51132c
Add a basic-block autovectorization pass.
...
This is the initial checkin of the basic-block autovectorization pass along with some supporting vectorization infrastructure.
Special thanks to everyone who helped review this code over the last several months (especially Tobias Grosser).
llvm-svn: 149468
2012-02-01 03:51:43 +00:00
Dan Gohman
fcbd65d27b
basic-aa does support AliasAnalysis chaining now.
...
llvm-svn: 149293
2012-01-30 23:05:41 +00:00
Talin
2a7df51ea2
DenseMap::find_as() and unit tests.
...
llvm-svn: 149229
2012-01-30 06:55:43 +00:00
Jim Grosbach
65e2465550
Tidy up. s/Low Level Virtual Machine/LLVM/.
...
LLVM isn't an acronym anymore.
llvm-svn: 148985
2012-01-25 22:00:23 +00:00
Nick Lewycky
75499f5d04
Fix broken link.
...
llvm-svn: 148692
2012-01-23 08:47:21 +00:00
Kostya Serebryany
a5054ad2f3
Extend Attributes to 64 bits
...
Problem: LLVM needs more function attributes than currently available (32 bits).
One such proposed attribute is "address_safety", which shows that a function is being checked for address safety (by AddressSanitizer, SAFECode, etc).
Solution:
- extend the Attributes from 32 bits to 64-bits
- wrap the object into a class so that unsigned is never erroneously used instead
- change "unsigned" to "Attributes" throughout the code, including one place in clang.
- the class has no "operator uint64 ()", but it has "uint64_t Raw() " to support packing/unpacking.
- the class has "safe operator bool()" to support the common idiom: if (Attributes attr = getAttrs()) useAttrs(attr);
- The CTOR from uint64_t is marked explicit, so I had to add a few explicit CTOR calls
- Add the new attribute "address_safety". Doing it in the same commit to check that attributes beyond first 32 bits actually work.
- Some of the functions from the Attribute namespace are worth moving inside the class, but I'd prefer to have it as a separate commit.
Tested:
"make check" on Linux (32-bit and 64-bit) and Mac (10.6)
built/run spec CPU 2006 on Linux with clang -O2.
This change will break clang build in lib/CodeGen/CGCall.cpp.
The following patch will fix it.
llvm-svn: 148553
2012-01-20 17:56:17 +00:00
Chad Rosier
89e0d22cc6
Fix typo.
...
llvm-svn: 148497
2012-01-19 21:50:08 +00:00
Jakob Stoklund Olesen
374ed322f2
Add a new kind of MachineOperand: MO_RegisterMask.
...
Register masks will be used as a compact representation of large clobber
lists. Currently, an x86 call instruction has some 40 operands
representing call-clobbered registers. That's more than 1kB of useless
operands per call site.
A register mask operand references a bit mask of call-preserved
registers, everything else is clobbered. The bit mask will typically
come from TargetRegisterInfo::getCallPreservedMask().
By abandoning ImplicitDefs for call-clobbered registers, it also becomes
possible to share call instruction descriptions between calling
conventions, and we can get rid of the WINCALL* instructions.
This patch introduces the new operand kind. Future patches will add
RegMask support to target-independent passes before finally the fixed
clobber lists can be removed from call instruction descriptions.
llvm-svn: 148250
2012-01-16 19:22:00 +00:00
Joe Abbey
36cd89e7bd
Adding a Hexagon cell for segmented stacks, as they have been implemented for X86 and not Sparc...
...
Committed as obvious
llvm-svn: 148237
2012-01-16 13:16:05 +00:00
Duncan Sands
df9d781510
Try to clarify a little how exception handling works.
...
llvm-svn: 148136
2012-01-13 19:59:16 +00:00
Bill Wendling
49c4dfb534
Revert accidental commit.
...
llvm-svn: 148065
2012-01-12 23:06:28 +00:00
Bill Wendling
ee5eaebc58
Fix the code that was WRONG.
...
The registers are placed into the saved registers list in the reverse order,
which is why the original loop was written to loop backwards.
llvm-svn: 148064
2012-01-12 23:05:03 +00:00
Eli Bendersky
bbf8c9a939
Fix dead link
...
llvm-svn: 147721
2012-01-07 04:11:27 +00:00
Eli Bendersky
88676cff61
test commit (verifyiing commit access)
...
llvm-svn: 147600
2012-01-05 08:18:41 +00:00
Jakob Stoklund Olesen
d19d3cab09
Freeze reserved registers before starting register allocation.
...
The register allocators don't currently support adding reserved
registers while they are running. Extend the MRI API to keep track of
the set of reserved registers when register allocation started.
Target hooks like hasFP() and needsStackRealignment() can look at this
set to avoid reserving more registers during register allocation.
llvm-svn: 147577
2012-01-05 00:26:49 +00:00
Eric Christopher
2007dc8892
Fix typo.
...
llvm-svn: 147456
2012-01-03 18:38:37 +00:00
Duncan Sands
7610e45910
Correct spelling.
...
llvm-svn: 147435
2012-01-02 16:55:01 +00:00
NAKAMURA Takumi
e9d3d21988
Happy new year 2012!
...
llvm-svn: 147395
2012-01-01 08:16:56 +00:00
Nadav Rotem
4c4d254f61
Update the LangRef documentation: the codegen does support this instruction.
...
llvm-svn: 147274
2011-12-25 21:32:35 +00:00
Nadav Rotem
1a0ae42d14
Add a few lines to the release notes:
...
1. pointer-vector
2. type legalizer changes and vector-select
3. X86 ISA changes.
llvm-svn: 146964
2011-12-20 08:02:50 +00:00
Dan Gohman
948ec427fa
Add a line to ReleaseNotes for half float.
...
llvm-svn: 146939
2011-12-20 01:10:56 +00:00
Jakob Stoklund Olesen
24159e346d
Remove a register class that can just as well be synthesized.
...
Add the new TableGen register class synthesizer feature to the release
notes.
llvm-svn: 146875
2011-12-19 16:53:40 +00:00
Dan Gohman
518cda42b9
The powers that be have decided that LLVM IR should now support 16-bit
...
"half precision" floating-point with a first-class type.
This patch adds basic IR support (but not codegen support).
llvm-svn: 146786
2011-12-17 00:04:22 +00:00
Eric Christopher
09cd3568f4
Fix spacing.
...
llvm-svn: 146782
2011-12-16 23:42:35 +00:00
Eric Christopher
3e3ecd0ab6
Update documentation.
...
llvm-svn: 146781
2011-12-16 23:42:33 +00:00
Devang Patel
c16e1ed4bb
Clarify and fix subprogram description.
...
llvm-svn: 146743
2011-12-16 17:50:04 +00:00
Jakob Stoklund Olesen
2a05f691ab
Note ARM constant island alignment in the release notes.
...
The command line option should be removed, but not until the feature has
gotten a lot of testing. The ARMConstantIslandPass tends to have subtle
bugs that only show up after a while.
llvm-svn: 146739
2011-12-16 16:07:41 +00:00
Evan Cheng
d647109ff9
Add a blurb about MachineInstr bundling support.
...
llvm-svn: 146603
2011-12-14 22:57:45 +00:00
Evan Cheng
c984bf8fb0
Add high level description of MachineInstr bundles.
...
llvm-svn: 146589
2011-12-14 21:32:14 +00:00
Duncan Sands
9aaec15ce3
Vectors are not aggregate types (see isAggregateType).
...
llvm-svn: 146561
2011-12-14 15:44:20 +00:00
Kostya Serebryany
30c85d1945
mention AddressSanitizer in 3.1 release notes
...
llvm-svn: 146505
2011-12-13 19:46:24 +00:00
Chris Lattner
9f2a83eb59
Rip llvm 3.0 out of the release notes, making room for LLVM 3.1
...
llvm-svn: 146493
2011-12-13 17:55:30 +00:00
Bill Wendling
7ad1f3663c
Use the example from clang, not the GCC frontend, which doesn't exist anymore.
...
llvm-svn: 146461
2011-12-13 01:07:07 +00:00
Daniel Dunbar
e29ffffa48
llvm-build: Switch to using the common subdirectory list instead of
...
autodiscovery.
llvm-svn: 146437
2011-12-12 22:45:59 +00:00
Daniel Dunbar
ea07f34afd
llvm-build: Add sketchy support for preserving comments when using
...
--write-llvmbuild.
llvm-svn: 146434
2011-12-12 22:45:35 +00:00
Tony Linthicum
1213a7a57f
Hexagon backend support
...
llvm-svn: 146412
2011-12-12 21:14:40 +00:00
Daniel Dunbar
27a7489a03
LLVMBuild: Remove trailing newline, which irked me.
...
llvm-svn: 146409
2011-12-12 19:48:00 +00:00
Chandler Carruth
f6bb278ee8
Update the LangRef documentation for llvm.ctlz and llvm.cttz to specify
...
the behavior with the newly added flag for undefined results on a zero
input.
I'm terrible at documentation, so comments and suggestions welcome here.
llvm-svn: 146361
2011-12-12 04:36:04 +00:00
Bill Wendling
4517fe5020
Random cleanups. No description changes.
...
llvm-svn: 146288
2011-12-09 22:41:40 +00:00
Bill Wendling
abe534c6cc
Revert r146041 et al. The FunctionPass doesn't take an address but the ID.
...
llvm-svn: 146268
2011-12-09 19:11:02 +00:00
Chad Rosier
c28f3e9e0b
Typo.
...
llvm-svn: 146234
2011-12-09 02:00:44 +00:00
Bill Wendling
82d9272fc2
Also pass in correct initializer here.
...
llvm-svn: 146044
2011-12-07 18:18:11 +00:00
Bill Wendling
41d3595a26
Correct initializer in example.
...
llvm-svn: 146041
2011-12-07 18:02:44 +00:00
Jakub Staszak
d64c99b07f
Make Release Notes HTML 4.01 Strict.
...
llvm-svn: 145991
2011-12-06 23:33:07 +00:00
Anshuman Dasgupta
bcfa2f83fb
Add documentation for machine-independent DFA packetizer
...
llvm-svn: 145988
2011-12-06 23:12:42 +00:00
Jakub Staszak
43d7cf6b82
Add link to builtin_expect in Release Notes.
...
llvm-svn: 145979
2011-12-06 22:31:27 +00:00
Jakub Staszak
cf9af0fc3b
Add link to llvm.expect in Release Notes.
...
llvm-svn: 145964
2011-12-06 20:56:36 +00:00
Dan Gohman
32772f7790
Fix a subtle semantic issue with poison values that came up in
...
recent discussions. Poison can't make every value that depends on
it act in maximally undefined ways, because the optimizer may still
hoist code following the usual rules for undef. Make Poison invoke
its full undefined behavior only when it reaches an instruction with
externally visible side effects.
llvm-svn: 145913
2011-12-06 03:35:58 +00:00
Dan Gohman
5f115a78cb
Line up the comments in a code example.
...
llvm-svn: 145908
2011-12-06 03:31:14 +00:00
Dan Gohman
9a2a0933ed
Rename "Trap Values" to "Poison Values", to better reflect their
...
purpose, and to avoid ambiguity with other uses of the word "trap"
in LangRef.
llvm-svn: 145907
2011-12-06 03:18:47 +00:00
Bill Wendling
b437ab8561
Move 'returns_twice' definition into alphabetical place.
...
llvm-svn: 145854
2011-12-05 21:27:54 +00:00
Nadav Rotem
3924cb0267
Add support for vectors of pointers.
...
llvm-svn: 145801
2011-12-05 06:29:09 +00:00
Jakub Staszak
5fd147f97e
Fix table of contents.
...
llvm-svn: 145793
2011-12-04 20:44:25 +00:00
Jakub Staszak
5fef792d8c
Add 'llvm.expect' intrinsic description.
...
llvm-svn: 145792
2011-12-04 18:29:26 +00:00
Chris Lattner
f433c08659
fix broken tag
...
llvm-svn: 145590
2011-12-01 17:25:28 +00:00
Bill Wendling
ad8b58b2ac
More cleanups. No content change.
...
llvm-svn: 145522
2011-11-30 21:52:43 +00:00
Bill Wendling
b6c2220600
Minor cleanup. No content change.
...
llvm-svn: 145521
2011-11-30 21:43:43 +00:00
Bill Wendling
3eb84cc75b
Remove an XXX which hasn't been fixed yet. It's too late now.
...
llvm-svn: 145518
2011-11-30 20:53:52 +00:00
Duncan Sands
e9adf5c860
Mention that -O4 does result in more optimization when used with
...
-fplugin-arg-dragonegg-enable-gcc-optzns, though it usually isn't
a win.
llvm-svn: 145486
2011-11-30 08:46:05 +00:00
Eric Christopher
b2d03a6d00
Update the docs for some of the test-suite configure changes and
...
be more clear about what to do and how to do it.
llvm-svn: 145426
2011-11-29 19:40:56 +00:00
Rafael Espindola
b61cc44265
grammar.
...
llvm-svn: 145423
2011-11-29 19:38:09 +00:00
Benjamin Kramer
098c1d9680
Add a link to Bill's blog post.
...
llvm-svn: 145419
2011-11-29 19:24:11 +00:00
Rafael Espindola
866a22aba7
Release notes for segmented stacks.
...
Patch by Sanjoy Das.
llvm-svn: 145416
2011-11-29 19:08:23 +00:00
Peter Collingbourne
7e09afb833
Remove content that has been moved to Clang release notes.
...
llvm-svn: 145362
2011-11-29 02:04:48 +00:00
Peter Collingbourne
7d9c13d81f
Fix grammar.
...
llvm-svn: 145361
2011-11-29 02:04:44 +00:00
Chandler Carruth
60062ed5dc
Add a link from the LLVM release notes to the Clang release notes.
...
I suspect we could profitably remove/move some of the bullet points
under Clang here to the Clang notes in order to keep things clean on
both sides. Unless I hear objections I'll start doing that once folks
have read over the Clang notes a bit.
llvm-svn: 145340
2011-11-29 00:32:43 +00:00
Rafael Espindola
8fa4bd048b
Expand the part about CFI a bit.
...
llvm-svn: 145324
2011-11-28 23:55:49 +00:00
Devang Patel
8e5bfd8349
Add documentation for llvm-cov.
...
llvm-svn: 145319
2011-11-28 23:39:25 +00:00
Joe Abbey
3483e11496
Merging two bullet points into one
...
llvm-svn: 145287
2011-11-28 22:07:12 +00:00
Peter Collingbourne
952adc32d9
Add OpenCL blurb to release notes.
...
llvm-svn: 145270
2011-11-28 20:04:12 +00:00
Bill Wendling
5ebc95ff4c
Remove dead llvm.eh.sjlj.dispatchsetup intrinsic.
...
llvm-svn: 145263
2011-11-28 19:23:13 +00:00
Michael J. Spencer
f7a4ed7d7f
Add object file related release notes.
...
llvm-svn: 145254
2011-11-28 18:20:09 +00:00
Jakob Stoklund Olesen
979dad7bd2
Explain what ExeDepsFix does.
...
llvm-svn: 145253
2011-11-28 18:03:11 +00:00
Rafael Espindola
c87cebf2bf
Fix spelling/grammar errors found by Duncan.
...
llvm-svn: 145250
2011-11-28 17:06:58 +00:00