Rafael Espindola
d20830dfe5
Remove more dead documentation.
...
llvm-svn: 187403
2013-07-30 04:06:06 +00:00
Rafael Espindola
cb87e35ed6
Delete documentation for deleted options.
...
llvm-svn: 187380
2013-07-29 21:35:48 +00:00
Rafael Espindola
2a2a0973b8
Use pipefail when available.
...
This change makes test with RUN lines like
RUN: opt ... | FileCheck
fail if opt fails, even if it prints what FileCheck wants. Enabling this
found some interesting cases of broken tests that were not being noticed
because opt (or some other tool) was crashing late.
Pipefail is used when the shell supports it or when using the internal
python based tester.
llvm-svn: 187261
2013-07-26 22:32:58 +00:00
Hans Wennborg
ac1d6a0c98
Phabricator.rst: tiny fix
...
llvm-svn: 187164
2013-07-25 22:58:31 +00:00
Rafael Espindola
bff44dddff
Remove dead code from the makefile build system.
...
Back in r140220 we removed the autoconf code that would set LLVMCC_OPTION
since it was only used by the test-suite. This patch now removes code
that would only be used if LLVMCC_OPTION was set.
llvm-svn: 187154
2013-07-25 20:25:31 +00:00
Rafael Espindola
729866670b
Remove the mblaze backend from llvm.
...
Approval in here http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-July/064169.html
llvm-svn: 187145
2013-07-25 18:55:05 +00:00
Jakob Stoklund Olesen
5e5e297d16
Speling.
...
llvm-svn: 187076
2013-07-24 20:47:57 +00:00
Jakob Stoklund Olesen
b8f3590357
Update old llc documentation.
...
Patch by Hafiz Abid!
llvm-svn: 187056
2013-07-24 17:45:11 +00:00
Rafael Espindola
86e4b41169
llvm-ar is far closer to being a regular ar implementation now. Update the docs.
...
llvm-svn: 187034
2013-07-24 13:13:24 +00:00
Ahmed Bougacha
cf07cef719
docs: Update old VS 2008 references.
...
llvm-svn: 186968
2013-07-23 17:44:01 +00:00
Ahmed Bougacha
b08b115c4a
docs: cleanup VS 2008 release note.
...
Remove trailing ')'. Sorry about all that, should be good now!
llvm-svn: 186965
2013-07-23 17:32:57 +00:00
Ahmed Bougacha
bc4d7134f4
docs: Correct reST link.
...
llvm-svn: 186963
2013-07-23 17:28:35 +00:00
Ahmed Bougacha
e17ecff3c4
Update docs to drop support for VS 2008.
...
llvm-svn: 186961
2013-07-23 17:25:26 +00:00
Stephen Lin
b946407cb7
Fix FileCheck CHECK-LABEL documentation wording slightly; also mention that it allows error recovery.
...
llvm-svn: 186628
2013-07-18 23:26:58 +00:00
Stephen Lin
a6e877fab4
Correct inaccurate statement in FileCheck docs.
...
llvm-svn: 186290
2013-07-14 18:12:25 +00:00
Tom Stellard
2d17f67651
R600: Add ISA documents to the CompilerWriterInfo page
...
llvm-svn: 186176
2013-07-12 18:14:40 +00:00
Stephen Lin
f8bd2e5b86
Add new directive called CHECK-LABEL to FileCheck.
...
CHECK-LABEL is meant to be used in place on CHECK on lines containing identifiers or other unique labels (they need not actually be labels in the source or output language, though.) This is used to break up the input stream into separate blocks delineated by CHECK-LABEL lines, each of which is checked independently. This greatly improves the accuracy of errors and fix-it hints in many cases, and allows for FileCheck to recover from errors in one block by continuing to subsequent blocks.
Some tests will be converted to use this new directive in forthcoming patches.
llvm-svn: 186162
2013-07-12 14:51:05 +00:00
Hans Wennborg
0c14cf9a7c
CommandLine.rst: remove tiny bit of bad mark-up
...
llvm-svn: 186042
2013-07-10 22:09:22 +00:00
Alexey Samsonov
d7f6a6196e
Document LLVM_USE_SANITIZER CMake option
...
llvm-svn: 185925
2013-07-09 10:56:13 +00:00
Benjamin Kramer
9f566a5a43
IR headers moved to llvm/IR some aeons ago, update documentation.
...
llvm-svn: 185854
2013-07-08 19:59:35 +00:00
Stephen Lin
095fee30e8
Update docs to say that a FunctionPass should not inspect other functions than the one being processed.
...
Please let me know if you disagree with this assessment (no one has yet, after asking on llvm-commits and LLVMDev) and I will revert.
llvm-svn: 185848
2013-07-08 18:34:39 +00:00
Nico Rieck
a37acf702d
MC: Implement COFF .linkonce directive
...
llvm-svn: 185753
2013-07-06 12:13:10 +00:00
Nick Lewycky
efe31f2951
Fix language.
...
llvm-svn: 185739
2013-07-06 01:04:47 +00:00
Nick Lewycky
c2ec0725ce
Extend 'readonly' and 'readnone' to work on function arguments as well as
...
functions. Make the function attributes pass add it to known library functions
and when it can deduce it.
llvm-svn: 185735
2013-07-06 00:29:58 +00:00
Renato Golin
98c6081536
Add platform specific tests doc
...
llvm-svn: 185581
2013-07-03 20:56:33 +00:00
Michael Gottesman
3a6a967cc7
Fixed typo in LangRef where we were using _'' to quote instead of the correct _.
...
llvm-svn: 185479
2013-07-02 21:32:56 +00:00
Sean Silva
d01eead98c
[docs] Amend confusing title
...
"Writing an LLVM Compiler Backend" can be misinterpreted as meaning
"backend" in the sense of "using LLVM as a backend for your compiler for
your new language". This new name is less ambiguous.
As a bonus, this brings the title in line with the file name.
llvm-svn: 185377
2013-07-01 20:45:12 +00:00
Alexey Samsonov
2ca6536d7a
llvm-symbolizer: add support for Mach-O universal binaries
...
llvm-svn: 185137
2013-06-28 08:15:40 +00:00
Michael Gottesman
296adb8b12
At the request of Richard Smith, swapped the order of cold/builtin so it is in alphabetical order.
...
llvm-svn: 185113
2013-06-27 22:48:08 +00:00
Joey Gouly
b1b0dd8758
Add a Subtarget feature 'v8fp' to the ARM backend.
...
llvm-svn: 185073
2013-06-27 11:49:26 +00:00
Michael Gottesman
41748d7c86
Added support for the Builtin attribute.
...
The Builtin attribute is an attribute that can be placed on function call site that signal that even though a function is declared as being a builtin,
rdar://problem/13727199
llvm-svn: 185049
2013-06-27 00:25:01 +00:00
Nadav Rotem
87856b50cf
The SLP Vectorizer works across basic blocks. Update the docs.
...
llvm-svn: 184973
2013-06-26 17:59:35 +00:00
Tom Stellard
b162d94871
TableGen: Generate a function for getting operand indices based on their defined names
...
This patch modifies TableGen to generate a function in
${TARGET}GenInstrInfo.inc called getNamedOperandIdx(), which can be used
to look up indices for operands based on their names.
In order to activate this feature for an instruction, you must set the
UseNamedOperandTable bit.
For example, if you have an instruction like:
def ADD : TargetInstr <(outs GPR:$dst), (ins GPR:$src0, GPR:$src1)>;
You can look up the operand indices using the new function, like this:
Target::getNamedOperandIdx(Target::ADD, Target::OpName::dst) => 0
Target::getNamedOperandIdx(Target::ADD, Target::OpName::src0) => 1
Target::getNamedOperandIdx(Target::ADD, Target::OpName::src1) => 2
The operand names are case sensitive, so $dst and $DST are considered
different operands.
This change is useful for R600 which has instructions with a large number
of operands, many of which model single bit instruction configuration
values. These configuration bits are common across most instructions,
but may have a different operand index depending on the instruction type.
It is useful to have a convenient way to look up the operand indices,
so these bits can be generically set on any instruction.
llvm-svn: 184879
2013-06-25 21:22:09 +00:00
Meador Inge
d554a49042
Add a release note for removing the simplify-libcalls pass.
...
llvm-svn: 184522
2013-06-21 03:08:23 +00:00
Sean Silva
7ea06e5a9f
[docs] Fix broken link.
...
llvm-svn: 184514
2013-06-21 01:11:52 +00:00
Sean Silva
b6bfbad290
[docs] Fix formatting.
...
'\n' was displaying as 'n'
llvm-svn: 184507
2013-06-21 00:27:54 +00:00
Stephen Lin
fec5b0bb8d
Minor grammar and word usage fix to 'returned' parameter attribute section of LangRef
...
llvm-svn: 184479
2013-06-20 21:55:10 +00:00
Michael Gottesman
dd6716cd51
[ReleaseNotes] Added bullet point stating that APFloat::isNormal() is now IEEE 754R-2008 compliant and that the relevant method renaming occurred.
...
For more information see r184449, r184350, r184356, r184366.
llvm-svn: 184452
2013-06-20 18:47:51 +00:00
Stefanus Du Toit
736e2e20e5
Fix typos "metatadata" -> "metadata" in the LangRef.
...
llvm-svn: 184426
2013-06-20 14:02:44 +00:00
JF Bastien
e84854a125
Small correction to unordered memory code generation of ARM LDRD
...
The information was correct pre-LPAE.
llvm-svn: 184253
2013-06-18 23:07:16 +00:00
Rafael Espindola
668c642830
Remove the LLVM specific archive index.
...
Archive files (.a) can have a symbol table indicating which object
files in them define which symbols. The purpose of this symbol table
is to speed up linking by allowing the linker the read only the .o
files it is actually going to use instead of having to parse every
object's symbol table.
LLVM's archive library currently supports a LLVM specific format for
such table. It is hard to see any value in that now that llvm-ld is
gone:
* System linkers don't use it: GNU ar uses the same plugin as the
linker to create archive files with a regular index. The OS X ar
creates no symbol table for IL files, I assume the linker just parses
all IL files.
* It doesn't interact well with archives having both IL and native objects.
* We probably don't want to be responsible for yet another archive
format variant.
This patch then:
* Removes support for creating and reading such index from lib/Archive.
* Remove llvm-ranlib, since there is nothing left for it to do.
We should in the future add support for regular indexes to llvm-ar for
both native and IL objects. When we do that, llvm-ranlib should be
reimplemented as a symlink to llvm-ar, as it is equivalent to "ar s".
llvm-svn: 184019
2013-06-14 23:25:53 +00:00
Renato Golin
11cb23a6f7
Update Release Process doc
...
llvm-svn: 183825
2013-06-12 11:35:33 +00:00
Michael Liao
e7fdb1386a
Fix documentation on the path to Bitcode reader/writer
...
llvm-svn: 183761
2013-06-11 18:09:21 +00:00
Rafael Espindola
70a729dfd5
Require members of llvm.used to be named.
...
The effect of llvm.used is to introduce an invisible reference, so this seems
a reasonable restriction. It will be used to provide an easy ordering of
the entries in llvm.used.
llvm-svn: 183743
2013-06-11 13:18:13 +00:00
Logan Chien
855b17d1bc
Update code listings in LLVM tutorial.
...
Several LLVM headers are moved. The code listings in
LLVM tutorial are not updated yet.
This CL removes the code replica in the .rst, and replace
them with a literalinclude directive, so that sphinx can
include the latest code automatically.
llvm-svn: 183607
2013-06-08 09:03:03 +00:00
Rui Ueyama
1b0a949482
[docs] Add link to Microsoft PE/COFF Spec.
...
llvm-svn: 183562
2013-06-07 20:30:27 +00:00
Eli Bendersky
0220e6bd85
Add more explicit link targets to headers in LangRef.rst
...
llvm-svn: 183555
2013-06-07 20:24:43 +00:00
Eli Bendersky
fdc529ad95
Add explicit link targets to some headers in LangRef.rst
...
llvm-svn: 183548
2013-06-07 19:40:08 +00:00
Sean Silva
69fd257802
[docs] Add link to C++ ABI document.
...
llvm-svn: 183342
2013-06-05 21:11:16 +00:00
Sean Silva
ce4bb3cb12
[docs] Add link to SysV ABI document.
...
llvm-svn: 183341
2013-06-05 21:11:11 +00:00
Sean Silva
0d65a762ac
[docs] Replace non-existent LLVM_YAML_UNIQUE_TYPE() macro
...
LLVM_YAML_STRONG_TYPEDEF() is the correct macro to perform this function.
llvm-svn: 183280
2013-06-04 23:36:41 +00:00
Richard Smith
939889f6a4
Fix link.
...
llvm-svn: 183248
2013-06-04 20:42:42 +00:00
Bill Wendling
af8c57c7b3
We are now in 3.4 land. We don't need the 3.3 releaese notes in ToT anymore.
...
llvm-svn: 183210
2013-06-04 06:12:31 +00:00
Richard Sandiford
737b880110
Add links to the System z architecture manual and ABI
...
llvm-svn: 182990
2013-05-31 09:14:54 +00:00
Paul Redmond
219ef811ca
Fix warning and resulting formatting issue.
...
llvm-svn: 182939
2013-05-30 17:24:32 +00:00
Paul Redmond
eccbb323ea
Revise llvm.vectorizer.width documentation
...
- clarify that vectorizer.width only applies if the vectorizer decides to
vectorize.
llvm-svn: 182938
2013-05-30 17:22:46 +00:00
Ashok Thirumurthi
29d9318c0c
Added a sub-project status update section to the release notes with details
...
on the LLDB 3.3 release.
Reviewed by: Greg Clayton and Bill Wendling
llvm-svn: 182931
2013-05-30 14:23:07 +00:00
Sergey Matveev
8dbcb356f7
Fix incorrect parameter name in LIT docs.
...
llvm-svn: 182926
2013-05-30 12:37:52 +00:00
David Blaikie
c4fe5db111
Debug Info: Update documentation to match recent (& not so recent) schema changes
...
This updates the debug info metadata schema documentation for various
schema changes made recently surrounding filename information for
scopes and the representation of imported entities.
llvm-svn: 182817
2013-05-29 02:05:13 +00:00
Paul Redmond
5fdf836ba4
Add support for llvm.vectorizer metadata
...
- llvm.loop.parallel metadata has been renamed to llvm.loop to be more generic
by making the root of additional loop metadata.
- Loop::isAnnotatedParallel now looks for llvm.loop and associated
llvm.mem.parallel_loop_access
- document llvm.loop and update llvm.mem.parallel_loop_access
- add support for llvm.vectorizer.width and llvm.vectorizer.unroll
- document llvm.vectorizer.* metadata
- add utility class LoopVectorizerHints for getting/setting loop metadata
- use llvm.vectorizer.width=1 to indicate already vectorized instead of
already_vectorized
- update existing tests that used llvm.loop.parallel and
llvm.vectorizer.already_vectorized
Reviewed by: Nadav Rotem
llvm-svn: 182802
2013-05-28 20:00:34 +00:00
Renato Golin
467e256493
Typo
...
llvm-svn: 182766
2013-05-28 11:28:37 +00:00
Renato Golin
c08f218b48
Linking ReleaseProcess doc with the world
...
llvm-svn: 182763
2013-05-28 10:32:55 +00:00
Renato Golin
6347551e45
Adding ReleaseProcess doc
...
llvm-svn: 182759
2013-05-28 09:48:52 +00:00
Kai Nacke
4157b371f6
Add LDC compiler to list of external OS projects using LLVM 3.3
...
llvm-svn: 182718
2013-05-26 17:37:43 +00:00
Diego Novillo
c63995394d
Add a new function attribute 'cold' to functions.
...
Other than recognizing the attribute, the patch does little else.
It changes the branch probability analyzer so that edges into
blocks postdominated by a cold function are given low weight.
Added analysis and code generation tests. Added documentation for the
new attribute.
llvm-svn: 182638
2013-05-24 12:26:52 +00:00
Tim Northover
bc93308489
ARM: implement @llvm.readcyclecounter intrinsic
...
This implements the @llvm.readcyclecounter intrinsic as the specific
MRC instruction specified in the ARM manuals for CPUs with the Power
Management extensions.
Older CPUs had slightly different methods which may also have to be
implemented eventually, but this should cover all v7 cases.
rdar://problem/13939186
llvm-svn: 182603
2013-05-23 19:11:20 +00:00
Rui Ueyama
142736fc64
Fix typo in docs/GettingStarted.rst.
...
llvm-svn: 182496
2013-05-22 18:09:39 +00:00
Rafael Espindola
f6474d2834
Make R600 non-experimental.
...
The r600 backend has been in tree for some time now. Marking it as
non-experimental to avoid accidental breakage.
llvm-svn: 182442
2013-05-22 00:35:47 +00:00
Sean Silva
8ca1178f45
LangRef.rst: Clarify how basic blocks without named label are handled.
...
Describe that they are assigned numbered label using the same counter
as for unnamed temporaries.
Based on http://llvm.org/bugs/show_bug.cgi?id=16043 and mailing list
discussion.
Patch by Paul Sokolovsky!
llvm-svn: 182332
2013-05-20 23:31:12 +00:00
Daniel Dunbar
bf2e7b593e
[docs] Minor doc tweaks.
...
llvm-svn: 182324
2013-05-20 22:39:48 +00:00
Dmitri Gribenko
d95ddb744f
docs/Passes: fix some typos
...
Patch by Yacine Belkadi.
llvm-svn: 182197
2013-05-18 18:01:44 +00:00
Arnaud A. de Grandmaison
ca08b076f3
Add Jade to the list of external projects using LLVM in the release notes.
...
Patch by: Antoine Lorence <Antoine.Lorence@insa-rennes.fr>
llvm-svn: 181886
2013-05-15 14:05:01 +00:00
Michael Liao
91a1b2c9eb
Add 'CHECK-DAG' support
...
Refer to 'FileCheck.rst'f for details of 'CHECK-DAG'.
llvm-svn: 181827
2013-05-14 20:34:12 +00:00
Richard Sandiford
eb9af29426
[SystemZ] Add disassembler support
...
llvm-svn: 181777
2013-05-14 10:17:52 +00:00
Alexander Kornienko
72a196a159
Better output for long help strings for command-line options.
...
Summary:
This patch allows using \n inside long help strings for command-line
options, so that all lines are equally indented. This is not a perfect solution,
as we don't (and probably don't want to) know about terminal width, but it
allows to format long help strings somehow readable without manually padding
them with spaces. A motivating example is -help output from clang-format (source
code in tools/clang-format/ClangFormat.cpp, see cl options offset, length,
style, and dump-config).
Reviewers: atrick, alexfh
Reviewed By: alexfh
CC: llvm-commits, rafael
Differential Revision: http://llvm-reviews.chandlerc.com/D779
llvm-svn: 181608
2013-05-10 17:15:51 +00:00
Richard Sandiford
ef494aa857
Add SystemZ feats to CodeGenerator.rst
...
llvm-svn: 181431
2013-05-08 14:23:43 +00:00
Rafael Espindola
9a383405a7
Remove exception handling support from the old JIT.
...
llvm-svn: 181354
2013-05-07 20:53:59 +00:00
Bill Wendling
37df82db8f
We're in 3.4 land now.
...
llvm-svn: 181350
2013-05-07 20:31:28 +00:00
Rafael Espindola
d522158df0
Add empty release notes for 3.4.
...
The idea is that docs/ReleaseNotes.rst is 3.3 and will be copied to the
branch by the release manager just before creating the release
candidates.
This ReleaseNotes_34.rst will then be moved over ReleaseNotes.rst after
the 3.3 release.
llvm-svn: 181349
2013-05-07 20:26:16 +00:00
Andrew Trick
1fc397f532
Add two points to release notes about recent command line library changes.
...
Patch by Dan Liew!
llvm-svn: 181335
2013-05-07 17:34:35 +00:00
Richard Sandiford
b11f9274ee
Mention SystemZ in the release notes
...
llvm-svn: 181328
2013-05-07 15:52:32 +00:00
Rafael Espindola
c2565855ff
Note that EH is now supported in MCJIT.
...
llvm-svn: 181305
2013-05-07 12:29:17 +00:00
Tim Northover
8b5b360781
Correct logical shift documentation
...
llvm-svn: 181290
2013-05-07 06:17:14 +00:00
Andrew Trick
7cb710d58c
Implemented public interface for modifying registered (not positional or sink options) command line options at runtime.
...
Patch by Dan Liew!
llvm-svn: 181254
2013-05-06 21:56:35 +00:00
Andrew Trick
0537a98878
Support command line option categories.
...
Patch by Dan Liew!
llvm-svn: 181253
2013-05-06 21:56:23 +00:00
Ulrich Weigand
1ceebf6ee0
[SystemZ] Add configure bits
...
This patch wires up the SystemZ target in configure, so that it can now be
built using --enable-targets=systemz. It is not yet included in the default
build (--enable-targets=all); this will be done by a follow-up patch.
Patch by Richard Sandiford.
llvm-svn: 181208
2013-05-06 16:22:34 +00:00
Richard Osborne
ba03fbabe5
[docs] Update Target Feature Matrix for the XCore backend.
...
Disassembler support has recently been added. Fill in some other unknowns
at the same time.
llvm-svn: 181156
2013-05-05 14:09:55 +00:00
Amara Emerson
d9104c0359
Revert r181009.
...
llvm-svn: 181079
2013-05-03 23:57:17 +00:00
Richard Sandiford
ae426b4a61
Remove comment that no target supports 128-bit IEEE floats
...
The soon-to-be-committed SystemZ port uses 128-bit IEEE floats.
MIPS64 GNU/Linux does too (albeit with unusual NaNs).
llvm-svn: 181016
2013-05-03 14:32:27 +00:00
Amara Emerson
2f54d9fe10
Add support for reading ARM ELF build attributes.
...
Build attribute sections can now be read if they exist via ELFObjectFile, and
the llvm-readobj tool has been extended with an option to dump this information
if requested. Regression tests are also included which exercise these features.
Also update the docs with a fixed ARM ABI link and a new link to the Addenda
which provides the build attributes specification.
llvm-svn: 181009
2013-05-03 11:36:35 +00:00
Pekka Jaaskelainen
b531a11701
Added pocl and TCE blurbs to the ReleaseNotes.
...
llvm-svn: 181001
2013-05-03 07:37:04 +00:00
Tobias Grosser
fe9b161fdd
Added table of contents declaration in CommandLine Library documentation.
...
Contributed-by: Dan Liew <daniel.liew@imperial.ac.uk>
llvm-svn: 180919
2013-05-02 14:59:52 +00:00
Aaron Ballman
c8aefe43ed
Updating the getting started guide for Visual Studio users. Specifically, pointing out that you have to pass additional parameters to llvm-lit and explicitly specify python on the command line.
...
llvm-svn: 180869
2013-05-01 19:13:50 +00:00
Nikola Smiljanic
39354b3263
Fix spelling
...
llvm-svn: 180843
2013-05-01 13:05:43 +00:00
Nadav Rotem
4b01c3a45d
Update the release notes about the min/max reductions that Arnold added.
...
llvm-svn: 180805
2013-04-30 21:04:04 +00:00
Dmitri Gribenko
7d8b607f46
Documentation: end option description with a period
...
Patch by Dimitry Andric.
llvm-svn: 180675
2013-04-27 16:34:24 +00:00
Michael Gottesman
a0509add5b
Updated GettingStarted.rst so that it references utils/git-svn for git-svnup instead of catting it into the documentation itself.
...
llvm-svn: 180589
2013-04-26 01:04:45 +00:00
Alexey Samsonov
2fb337e77a
Add basic zlib support to LLVM. This would allow to use compression/uncompression in selected LLVM tools.
...
llvm-svn: 180083
2013-04-23 08:28:39 +00:00
Eli Bendersky
0577df4aec
Document the -filetype option of llc (PR #12902 )
...
llvm-svn: 180031
2013-04-22 17:16:35 +00:00
Rafael Espindola
74f2e46eef
Clarify that llvm.used can contain aliases.
...
Also add a check for llvm.used in the verifier and simplify clients now that
they can assume they have a ConstantArray.
llvm-svn: 180019
2013-04-22 14:58:02 +00:00
Stephen Lin
b8bd232a3d
Add CodeGen support for functions that always return arguments via a new parameter attribute 'returned', which is taken advantage of in target-independent tail call opportunity detection and in ARM call lowering (when placed on an integral first parameter).
...
llvm-svn: 179925
2013-04-20 05:14:40 +00:00
Eli Bendersky
c0ef3d8514
Fix grammar in LLVMBuild.rst
...
llvm-svn: 179768
2013-04-18 16:39:32 +00:00
Eli Bendersky
97ad9245f1
Fixes to LangRef.rst: incorrect attributes syntax and misplaced 'nobuiltin'
...
Patch by Stephen Lin
llvm-svn: 179763
2013-04-18 16:11:44 +00:00
Eli Bendersky
239a78b835
More consistent formatting and tidying-up
...
llvm-svn: 179716
2013-04-17 20:17:08 +00:00
Eli Bendersky
ca38084d57
Make formatting more consistent and tidy-up.
...
llvm-svn: 179689
2013-04-17 17:17:20 +00:00
Nadav Rotem
136d50adb2
Fix a grammar mistake, and add a line about the two phases that the BB/SLP vectorizers have (top-down and bottom-up).
...
llvm-svn: 179566
2013-04-15 22:21:25 +00:00
Nadav Rotem
c875cc1273
Fix the internal link.
...
llvm-svn: 179565
2013-04-15 22:11:07 +00:00
Nadav Rotem
2ee204d91d
Update the release notes about the vectorizers.
...
llvm-svn: 179564
2013-04-15 22:10:39 +00:00
John Criswell
02fc72d47a
Grammar and punctuation fixes.
...
No content changes.
llvm-svn: 179540
2013-04-15 17:38:06 +00:00
Tim Northover
865f4bcb5d
Enable all targets by default on Visual Studio.
...
llvm-svn: 179518
2013-04-15 11:53:05 +00:00
Nadav Rotem
a440a356e0
Document our desire to enable the loop vectorizer on -Os in future releases.
...
llvm-svn: 179511
2013-04-15 05:56:55 +00:00
Nadav Rotem
57da1fdd55
Docs: merge the description of the BB and SLP vectorizers and document the -fslp-vectorize-aggressive flag.
...
llvm-svn: 179510
2013-04-15 05:53:23 +00:00
Jia Liu
f3076492c2
fix include path in doc Extending LLVM
...
llvm-svn: 179503
2013-04-15 03:26:13 +00:00
Nadav Rotem
efa56e18be
Document the SLP infrastructure.
...
llvm-svn: 179480
2013-04-14 07:42:25 +00:00
Nico Rieck
d6df0547fe
Teach llvm-readobj to print ELF program headers
...
llvm-svn: 179363
2013-04-12 04:07:39 +00:00
Nico Rieck
f3f0b79704
Add -expand-relocs to llvm-readobj
...
This option expands shown relocations from single line to a dictionary
format:
Relocation {
Offset: 0x4
Type: R_386_32 (1)
Symbol: sym
Info: 0x0
}
llvm-svn: 179359
2013-04-12 04:01:52 +00:00
Nico Rieck
5143243484
Add man page for llvm-readobj
...
llvm-svn: 179244
2013-04-11 00:05:57 +00:00
Nico Rieck
1da4529b15
MC: Support COFF image-relative MCSymbolRefs
...
Add support for the COFF relocation types IMAGE_REL_I386_DIR32NB and
IMAGE_REL_AMD64_ADDR32NB for 32- and 64-bit respectively. These are
similar to normal 4-byte relocations except that they do not include
the base address of the image.
Image-relative relocations are used for debug information (32-bit) and
SEH unwind tables (64-bit).
A new MCSymbolRef variant called 'VK_COFF_IMGREL32' is introduced to
specify such relocations. For AT&T assembly, this variant can be accessed
using the symbol suffix '@imgrel'.
llvm-svn: 179240
2013-04-10 23:28:17 +00:00
Nadav Rotem
757aec9507
Remove the confusing sentence.
...
llvm-svn: 179085
2013-04-09 04:48:40 +00:00
Nadav Rotem
fe47d58cf0
Update the docs about the fact that the loop vectorizer is enabled by default for -O3.
...
llvm-svn: 179060
2013-04-08 21:34:49 +00:00
Tim Northover
85c19f5a73
Add ACLE link to ARM documentation sections
...
llvm-svn: 179006
2013-04-08 08:42:24 +00:00
Eli Bendersky
4ee93cd45b
Missing word
...
llvm-svn: 178774
2013-04-04 18:29:19 +00:00
Jakub Staszak
09da37d10d
Fix a typo.
...
llvm-svn: 178567
2013-04-02 20:02:36 +00:00
Justin Holewinski
45df882045
Add start of user documentation for NVPTX
...
Summary: This is the beginning of user documentation for the NVPTX back-end. I want to ensure I am integrating this properly into the rest of the LLVM documentation.
Differential Revision: http://llvm-reviews.chandlerc.com/D600
llvm-svn: 178428
2013-03-30 16:41:14 +00:00
Sean Silva
2a74699dd5
[docs] llvmbugs is not the place for patches.
...
llvm-svn: 178426
2013-03-30 15:33:02 +00:00
Sean Silva
ab4997d0ec
[docs] Annotate mailing lists with their "name".
...
Nobody says "the developer's list" or "commits archive"; they always say
"llvmdev" or "llvm-commits". It makes sense for our documentation to
at least make that association explicitly.
llvm-svn: 178425
2013-03-30 15:33:01 +00:00
Sean Silva
84b296c8d1
[docs] Reorganize mailing lists.
...
Order them roughly by "which one should a newbie join first".
llvm-svn: 178424
2013-03-30 15:32:54 +00:00
Sean Silva
0129924384
[docs] Pull IRC and Mailing Lists under a new "Community" heading.
...
llvm-svn: 178423
2013-03-30 15:32:51 +00:00
Sean Silva
163b5c4bd5
[docs] The GEP FAQ is not "design and overview"
...
llvm-svn: 178422
2013-03-30 15:32:50 +00:00
Sean Silva
9d205c8edc
[docs] Put DeveloperPolicy under "Development Process Documentation"
...
llvm-svn: 178421
2013-03-30 15:32:47 +00:00
Sean Silva
c9fbd23621
[docs] The STL "binary search" has a non-obvious name.
...
std::lower_bound is the canonical "binary search" in the STL
(std::binary_search generally is not what you want). The name actually
makes a lot of sense (and also has a beautiful symmetry with the
std::upper_bound algorithm). The name is nonetheless non-obvious.
Also, remove mention of "radix search". It's not even clear how that
would work in the context of a sorted vector. AFAIK "radix search" only
makes sense when you have a trie-like data structure.
llvm-svn: 178376
2013-03-29 21:57:47 +00:00
Thomas Schwinge
b1322d5691
Correct spelling of Git.
...
llvm-svn: 178254
2013-03-28 18:06:20 +00:00
Michael Gottesman
88d1883de7
Added documentation to LangRef for the intrinsic llvm.ptr.annotation.* which for some reason was never written.
...
llvm-svn: 177950
2013-03-26 00:34:27 +00:00
Dmitri Gribenko
51cb2fa1c3
Documentation: Replace dead link for binfmt_misc
...
Patch by Thomas Schwinge.
llvm-svn: 177876
2013-03-25 17:08:25 +00:00
Jakob Stoklund Olesen
8ef2419d60
Mention the new TableGen pattern format in the release notes.
...
Make threats about removing the old syntax.
llvm-svn: 177848
2013-03-25 00:36:53 +00:00
Jakob Stoklund Olesen
91a5848cab
Allow TableGen DAG arguments to be just a name.
...
DAG arguments can optionally be named:
(dag node, node:$name)
With this change, the node is also optional:
(dag node, node:$name, $name)
The missing node is treated as an UnsetInit, so the above is equivalent
to:
(dag node, node:$name, ?:$name)
This syntax is useful in output patterns where we currently require the
types of variables to be repeated:
def : Pat<(subc i32:$b, i32:$c), (SUBCCrr i32:$b, i32:$c)>;
This is preferable:
def : Pat<(subc i32:$b, i32:$c), (SUBCCrr $b, $c)>;
llvm-svn: 177843
2013-03-24 19:36:51 +00:00
Tobias Grosser
be2c6e9734
GettingStarted: Add Git clone instructions for compiler-rt and test-suite
...
Contributed-by: Thomas Schwinge <thomas@codesourcery.com>
llvm-svn: 177841
2013-03-24 15:15:19 +00:00
Jakob Stoklund Olesen
83aa671f09
Give Sparc instruction patterns direct types instead of register classes.
...
Also update the documentation since Sparc is the nicest backend, and
used as an example in WritingAnLLVMBackend.
llvm-svn: 177835
2013-03-24 00:56:20 +00:00
Sean Silva
4359068aea
[docs] Slight reword for precision.
...
The new wording cannot be construed as suggesting the use of
SmallVectorImpl<T> as e.g. a class member (just because the class
happens to be in an interface).
llvm-svn: 177778
2013-03-22 23:52:38 +00:00
Sean Silva
4ee92f9de4
[docs] Document usage of SmallVectorImpl in interfaces.
...
llvm-svn: 177775
2013-03-22 23:41:29 +00:00
Eli Bendersky
6f6cbdbb8c
fix small doc typo
...
llvm-svn: 177737
2013-03-22 16:09:06 +00:00
Eric Christopher
911f1d3474
Formatting fixups.
...
llvm-svn: 177458
2013-03-19 23:10:26 +00:00
Ulrich Weigand
e618abd6e0
Extend TableGen instruction selection matcher to improve handling
...
of complex instruction operands (e.g. address modes).
Currently, if a Pat pattern creates an instruction that has a complex
operand (i.e. one that consists of multiple sub-operands at the MI
level), this operand must match a ComplexPattern DAG pattern with the
correct number of output operands.
This commit extends TableGen to alternatively allow match a complex
operands against multiple separate operands at the DAG level.
This allows using Pat patterns to match pre-increment nodes like
pre_store (which must have separate operands at the DAG level) onto
an instruction pattern that uses a multi-operand memory operand,
like the following example on PowerPC (will be committed as a
follow-on patch):
def STWU : DForm_1<37, (outs ptr_rc:$ea_res), (ins GPRC:$rS, memri:$dst),
"stwu $rS, $dst", LdStStoreUpd, []>,
RegConstraint<"$dst.reg = $ea_res">, NoEncode<"$ea_res">;
def : Pat<(pre_store GPRC:$rS, ptr_rc:$ptrreg, iaddroff:$ptroff),
(STWU GPRC:$rS, iaddroff:$ptroff, ptr_rc:$ptrreg)>;
Here, the pair of "ptroff" and "ptrreg" operands is matched onto the
complex operand "dst" of class "memri" in the "STWU" instruction.
Approved by Jakob Stoklund Olesen.
llvm-svn: 177428
2013-03-19 19:51:09 +00:00
Eli Bendersky
f78a9786ee
Update documentation of llvm-link to reflect recent cleanups.
...
llvm-svn: 177411
2013-03-19 16:04:19 +00:00
Sean Silva
8eaf3ca770
[docs] Remove incorrect information about lit.
...
Lit does support redirects in the 2>&1 style.
llvm-svn: 177403
2013-03-19 15:22:02 +00:00
Eric Christopher
7e66bd3951
Make the fields in the diagram match the descriptive text above them.
...
llvm-svn: 177314
2013-03-18 20:21:47 +00:00
Matthew Curtis
a8b88cc0a8
ReleaseNotes: Tweak hexagonv2/hexagonv3 removal note.
...
llvm-svn: 177284
2013-03-18 13:08:24 +00:00
Sean Silva
ca11d2c7ff
[docs] Discuss a potential bug to be aware of.
...
llvm-svn: 177224
2013-03-16 16:58:20 +00:00
Matthew Curtis
e2228a7048
ReleaseNotes: Add Hexagon Target section
...
And mention removal of hexagonv2 and hexagonv3 support (r176859).
llvm-svn: 176860
2013-03-12 12:20:51 +00:00
Eli Bendersky
9c0d49331e
Missing period in doc
...
llvm-svn: 176809
2013-03-11 16:51:15 +00:00
Sean Silva
22ba6ec69a
[docs] Remove explicit authorship.
...
In the spirit of r172109. Version control keeps a far more detailed
record of authorship anyways.
llvm-svn: 176807
2013-03-11 16:25:16 +00:00
Michael Liao
a7699084b9
Remove tailing whitespaces
...
llvm-svn: 176570
2013-03-06 18:24:34 +00:00
Alexey Samsonov
2bc1012561
Docs for llvm-symbolizer command-line tool
...
llvm-svn: 176337
2013-03-01 07:58:27 +00:00
Benjamin Kramer
a87d5128dd
Brag about function call vectorization in the docs.
...
llvm-svn: 176292
2013-02-28 19:33:46 +00:00
Sean Silva
f8e58016f6
[docs] Discuss manpage output.
...
llvm-svn: 176199
2013-02-27 18:48:42 +00:00
Sean Silva
1b46534445
[docs] Provide pointer for building Sphinx docs.
...
llvm-svn: 176195
2013-02-27 18:33:21 +00:00
Sean Silva
cf6848f112
[docs] Use reST link instead of direct HTML link.
...
llvm-svn: 176108
2013-02-26 18:22:18 +00:00
Renato Golin
276ec45704
Adding ARM as supported architecture
...
llvm-svn: 176096
2013-02-26 17:23:13 +00:00
Renato Golin
2c2fce0e00
GCC 4.6.3 O3 miscompiles on ARM
...
llvm-svn: 176090
2013-02-26 13:32:40 +00:00
Kostya Serebryany
cf880b9443
Unify clang/llvm attributes for asan/tsan/msan (LLVM part)
...
These are two related changes (one in llvm, one in clang).
LLVM:
- rename address_safety => sanitize_address (the enum value is the same, so we preserve binary compatibility with old bitcode)
- rename thread_safety => sanitize_thread
- rename no_uninitialized_checks -> sanitize_memory
CLANG:
- add __attribute__((no_sanitize_address)) as a synonym for __attribute__((no_address_safety_analysis))
- add __attribute__((no_sanitize_thread))
- add __attribute__((no_sanitize_memory))
for S in address thread memory
If -fsanitize=S is present and __attribute__((no_sanitize_S)) is not
set llvm attribute sanitize_S
llvm-svn: 176075
2013-02-26 06:58:09 +00:00
Renato Golin
8b90511e6b
ARM build docs easier for copy&paste
...
llvm-svn: 176033
2013-02-25 18:25:58 +00:00
Renato Golin
f2ea19ea2e
Add global structure vectorization to docs
...
llvm-svn: 175965
2013-02-23 13:25:41 +00:00
Pekka Jaaskelainen
119a2b6f31
Made it more explicit that the self-referential llvm.loop identifier metadata
...
should be unique for each loop.
llvm-svn: 175888
2013-02-22 12:03:07 +00:00
Bill Wendling
09bd1f71ee
Implement the NoBuiltin attribute.
...
The 'nobuiltin' attribute is applied to call sites to indicate that LLVM should
not treat the callee function as a built-in function. I.e., it shouldn't try to
replace that function with different code.
llvm-svn: 175835
2013-02-22 00:12:35 +00:00
Paul Redmond
eaaed3b1fe
add missing space which prevented the llvm.loop code-block from appearing in the
...
generated html.
llvm-svn: 175769
2013-02-21 17:20:45 +00:00
Alex Rosenberg
7f5af7f5d2
Spelling corrections
...
llvm-svn: 175415
2013-02-18 02:44:09 +00:00
Dmitri Gribenko
2b7dd6b147
Documentation: correct syntax (one missing comma, one extra comma)
...
llvm-svn: 175375
2013-02-16 20:07:40 +00:00
Sean Silva
6c95b97bf6
[docs] PR15254: Add "AST" to the lexicon.
...
llvm-svn: 175077
2013-02-13 21:17:20 +00:00
Bill Wendling
a361c9dd30
Add a blurb about the attributes changes to the release notes.
...
llvm-svn: 175075
2013-02-13 21:10:15 +00:00
Pekka Jaaskelainen
0d23725a8d
Metadata for annotating loops as parallel. The first consumer for this
...
metadata is the loop vectorizer.
See the documentation update for more info.
llvm-svn: 175060
2013-02-13 18:08:57 +00:00
Tim Northover
fb6f08d5bb
Mention AArch64 in release notes for 3.3
...
llvm-svn: 175055
2013-02-13 12:46:32 +00:00
Manuel Klimek
51e31d211c
Update phab docs to clarify how to accept a change.
...
llvm-svn: 175047
2013-02-13 09:07:18 +00:00
Eric Christopher
19690538d3
This is actually located at the end, not the middle.
...
llvm-svn: 175041
2013-02-13 07:22:25 +00:00
Dmitri Gribenko
1c3e3c1433
Documentation: HowToUseAttributes: formatting (use monospaced font)
...
llvm-svn: 174982
2013-02-12 18:26:08 +00:00
Joe Abbey
ba3e901e14
Adding a HowTo for Attributes.
...
This is based on Bill Wendling's email. No additional content has been added,
but now there's a place for Attributes to capture future information.
llvm-svn: 174961
2013-02-12 11:45:22 +00:00
Bill Schmidt
8c0a8e5f6d
Restore the resurrected doc link previously deleted
...
llvm-svn: 174884
2013-02-11 14:14:32 +00:00
Bill Schmidt
37fea43384
Remove a dead PowerPC doc link
...
llvm-svn: 174881
2013-02-11 13:16:30 +00:00
Kostya Serebryany
d688bab563
[tsan/msan] adding thread_safety and uninitialized_checks attributes
...
llvm-svn: 174864
2013-02-11 08:13:54 +00:00
Tom Stellard
72fffbab66
ReleaseNotes: Add section for R600 backend
...
llvm-svn: 174764
2013-02-08 22:24:41 +00:00
Sean Silva
7adbc0eaa4
[docs] Tweaks for clarity, readability, and correctness.
...
llvm-svn: 174749
2013-02-08 21:51:26 +00:00
Bill Schmidt
995bc3f721
More modifications to PowerPC doc links
...
llvm-svn: 174742
2013-02-08 21:08:22 +00:00
Hal Finkel
f3f32d0193
Update PowerPC links in CompilerWriterInfo.rst
...
This updates the current references to links that work for me.
In the future, we should update the list of references itself to provide
information on newer architecture variants.
Thanks to Sean Silva for pointing out that the current links were broken!
llvm-svn: 174739
2013-02-08 20:24:46 +00:00
Sean Silva
5672a3755b
[ReleaseNotes] tidy up organization and formatting
...
llvm-svn: 174587
2013-02-07 05:56:46 +00:00
Nadav Rotem
d58a614be5
Update Release notes regarding TTI.
...
llvm-svn: 174586
2013-02-07 05:44:58 +00:00
Nadav Rotem
e56b05822d
Document the loop vectorizer changes.
...
llvm-svn: 174585
2013-02-07 05:42:31 +00:00
Guy Benyei
5ea04c385f
Canonicalize line endings to Linux style also when the --strict-whitespace flag is in use. This flag is supposed to affect horizontal whitespaces only.
...
llvm-svn: 174541
2013-02-06 20:40:38 +00:00
Bill Wendling
63b8819445
Initial submission for the attribute group feature.
...
Attribute groups are of the form:
#0 = attributes { noinline "no-sse" "cpu"="cortex-a8" alignstack=4 }
Target-dependent attributes are represented as strings. Attributes can have
optional values associated with them. E.g., the "cpu" attribute has the value
"cortex-a8".
Target-independent attributes are listed as enums inside the attribute classes.
Multiple attribute groups can be referenced by the same object. In that case,
the attributes are merged together.
llvm-svn: 174493
2013-02-06 06:52:58 +00:00
Bill Wendling
bf902f1d0d
Alphabetize the function attributes.
...
llvm-svn: 174490
2013-02-06 06:22:58 +00:00
Dmitri Gribenko
a84c59c95a
Coding standards: don't use ``inline`` when defining a function in a class
...
definition
Current practice is not to use 'inline' in:
class Foo {
public:
inline void bar() {
// ...
}
};
llvm-svn: 174317
2013-02-04 10:24:58 +00:00
Patrik Hagglund
d91ae4d960
Pass CPPFLAGS/CFLAGS/CXXFLAGS from the environment of configure to
...
Makefile.config.
This is implied at the bottom of the help text of configure (besides
CC/CXX/LDFLAGS, already passed to Makefile.config).
For backward compatibility, the values of CFLAGS and CXXFLAGS defaults
to empty, overriding the default values provided by autoconf (for
example, '-g -O2' when CC=gcc').
$(CPP) is not used by our makefiles. Therefore, the value of CPP is
not passed to Makefile.config, despite beeing mentioned by 'configure
--help'.
llvm-svn: 174313
2013-02-04 08:15:53 +00:00
Michael Gottesman
e743a30850
Removed reference to LLVM as a project (since in LangRef it is used solely as a reference to the IR). Thanks silvas!
...
llvm-svn: 174301
2013-02-04 03:22:00 +00:00
Michael Gottesman
8901bb66fb
Added new Global Variable marker ``externally_initialized'' to LangRef.
...
llvm-svn: 174270
2013-02-03 09:57:18 +00:00
Michael Gottesman
ef2bc77330
Added clarification paragraph to LangRef's documentation of
...
GlobalVariable about LLVM's assumptions vis-a-vis Global Variable
initial values and Global Variable initializers.
This is in preparation for adding the new keyword
externally_initialized.
Specifically, the patch explains how LLVM optimizes global initializers
by assumign that global variables defined within the module are not
modified from their initial values before the start of the global
initializer.
llvm-svn: 174269
2013-02-03 09:57:15 +00:00
Sean Silva
59e7bd5b5e
[docs] Fixup fallout from other grammar fixup.
...
My "excuse" for not refactoring the grammar here is to not diverge too
far from the grammar in the comments of TGParser.cpp, since I'm not
taking on the quest of majorly refactoring TGParser.cpp at the moment.
One benefit of doing this is that Ideas for refactoring and clarifying
the grammar in this document should translate almost immediately to
beneficial refactorings that can be made to TGParser.cpp.
llvm-svn: 174144
2013-02-01 03:50:20 +00:00
Sean Silva
6868ac4c9c
[docs] Add missing colon to TableGen grammar.
...
Spotted by Eli Bendersky.
llvm-svn: 174143
2013-02-01 03:32:38 +00:00
Tim Northover
e0e3aefdd3
Add AArch64 as an experimental target.
...
This patch adds support for AArch64 (ARM's 64-bit architecture) to
LLVM in the "experimental" category. Currently, it won't be built
unless requested explicitly.
This initial commit should have support for:
+ Assembly of all scalar (i.e. non-NEON, non-Crypto) instructions
(except the late addition CRC instructions).
+ CodeGen features required for C++03 and C99.
+ Compilation for the "small" memory model: code+static data <
4GB.
+ Absolute and position-independent code.
+ GNU-style (i.e. "__thread") TLS.
+ Debugging information.
The principal omission, currently, is performance tuning.
This patch excludes the NEON support also reviewed due to an outbreak of
batshit insanity in our legal department. That will be committed soon bringing
the changes to precisely what has been approved.
Further reviews would be gratefully received.
llvm-svn: 174054
2013-01-31 12:12:40 +00:00
Michael Gottesman
006039cc74
Fixed a mistake in my previous commit where I changed the wording slightly and forgot to undo the change after changing my mind and deciding to only commit the style changes.
...
llvm-svn: 174041
2013-01-31 05:48:48 +00:00
Michael Gottesman
1cffcf74d1
Formatting Fix. Changed " to `` around the word 'constant' in the Lang Ref
...
section Global Variable so that the style matches the other keywords in
said section.
llvm-svn: 174040
2013-01-31 05:44:04 +00:00
Andrew Trick
7e6f928a7a
LangRef: Add a Rationale for volatile rules.
...
llvm-svn: 174007
2013-01-31 00:49:39 +00:00
Andrew Trick
89fc5a6627
...in light of recent activity related to llvm.memcpy flags. I want to
...
prevent an llvm developer from mistakenly thinking that just because the
intrinsic has volatile flags that volatile operations can be converted
to or folded into them.
Platforms may rely on volatile loads and stores of natively supported
data width to be executed as single instruction. When compiling
C, this expectation likely holds for l-values of volatile primitive
types with native hardware support, but not necessarily for aggregate
types. The frontend upholds these expectations, which are not
specified in the IR.
llvm-svn: 173974
2013-01-30 21:19:35 +00:00
Eli Bendersky
0b85ba7d9e
Remove a mention of TargetInstrDescriptor, which no longer exists in the code
...
llvm-svn: 173971
2013-01-30 20:54:21 +00:00
Sean Silva
1330eccb5f
[docs] Guide prospective TableGen backend writers.
...
Boilerplate is often the hardest part of getting started with these
kinds of things, so throw them a bone.
llvm-svn: 173969
2013-01-30 20:39:46 +00:00
Patrik Hagglund
a832ab1bfc
Documentation: Updating the data layout default specifications to
...
correspond to the code.
Patch by Stephen McGruer.
llvm-svn: 173914
2013-01-30 09:02:06 +00:00
Dmitri Gribenko
69b5647369
Documentation: add empty lines so that lists are properly recognized
...
llvm-svn: 173845
2013-01-29 23:14:41 +00:00
Sean Silva
bdb940f960
docs: reorganize front page slightly
...
llvm-svn: 173718
2013-01-28 21:28:10 +00:00
Dmitri Gribenko
675911d99c
Documentation: fix syntax error
...
Patch by David Waggoner
llvm-svn: 173571
2013-01-26 13:30:13 +00:00
Michael Gottesman
4c8de298bb
Fixed typo.
...
llvm-svn: 173478
2013-01-25 20:20:00 +00:00
Michael Gottesman
8f290a9b3a
Added new section to the git-svn getting started section that provides a
...
custom git script called git-svnup which handles all of the work of
using the git-mirrors/keeping the git-svn numbers in sync.
llvm-svn: 173472
2013-01-25 19:31:09 +00:00
Hal Finkel
c7d4dc13a4
Add an addition operator to TableGen
...
This adds an !add(a, b) operator to tablegen; this will be used
to cleanup the PPC register definitions.
llvm-svn: 173445
2013-01-25 14:49:08 +00:00
Eli Bendersky
4f2162f8f8
Fix small typo
...
llvm-svn: 173298
2013-01-23 22:05:19 +00:00
Bill Wendling
7c8f96a91b
Add the heuristic to differentiate SSPStrong from SSPRequired.
...
The requirements of the strong heuristic are:
* A Protector is required for functions which contain an array, regardless of
type or length.
* A Protector is required for functions which contain a structure/union which
contains an array, regardless of type or length. Note, there is no limit to
the depth of nesting.
* A protector is required when the address of a local variable (i.e., stack
based variable) is exposed. (E.g., such as through a local whose address is
taken as part of the RHS of an assignment or a local whose address is taken as
part of a function argument.)
llvm-svn: 173231
2013-01-23 06:43:53 +00:00
Bill Wendling
d154e283f2
Add the IR attribute 'sspstrong'.
...
SSPStrong applies a heuristic to insert stack protectors in these situations:
* A Protector is required for functions which contain an array, regardless of
type or length.
* A Protector is required for functions which contain a structure/union which
contains an array, regardless of type or length. Note, there is no limit to
the depth of nesting.
* A protector is required when the address of a local variable (i.e., stack
based variable) is exposed. (E.g., such as through a local whose address is
taken as part of the RHS of an assignment or a local whose address is taken as
part of a function argument.)
This patch implements the SSPString attribute to be equivalent to
SSPRequired. This will change in a subsequent patch.
llvm-svn: 173230
2013-01-23 06:41:41 +00:00
Sean Silva
243bc85355
docs: Update title of external tutorial.
...
llvm-svn: 173224
2013-01-23 03:21:41 +00:00
Joel Jones
7818be446c
Fix spelling
...
llvm-svn: 173103
2013-01-21 23:20:47 +00:00
Michael Ilseman
830875bbda
Docs for SparseMultiSet
...
llvm-svn: 173092
2013-01-21 21:46:32 +00:00
Michael J. Spencer
0ad0f5ebe4
[docs] Update IRC information.
...
llvm-svn: 172970
2013-01-20 09:38:14 +00:00
Nadav Rotem
f4779c1a33
Update the gcc-loops benchmark
...
llvm-svn: 172966
2013-01-20 07:01:04 +00:00
Nadav Rotem
af15daa14f
Update the linpack benchmark with different array sizes.
...
llvm-svn: 172965
2013-01-20 06:52:47 +00:00
Sean Silva
cc0614ef41
ReleaseNotes: note Sphinx migration.
...
llvm-svn: 172955
2013-01-20 03:32:55 +00:00
Sean Silva
1eab30dc17
docs: Nuke the old release notes.
...
This change also removes a bunch of boilerplate and stuffing which made
it unnecessarily hard to navigate and see the comparatively miniscule
actual content that was added to this document during the 3.2
development period (or maybe even sticking around from earlier
releases...).
The new organization (a flat list) optimizes for making it easy for
people who know about changes to add them to the document. It's
completely trivial for anyone with basic knowledge of LLVM to come in
later (such as when preparing for the actual release) and cluster any
changes into logical groups. However, I have left some comments
indicating how to add larger descriptions, if someone is feeling
adventurous ;)
Hopefully this organization will highlight how little effort is being
put into producing accurate, high-quality release notes, prompting a
corresponding improvement for the 3.3 release.
I have preserved the changes to this document that are not present
in the 3.2 release notes. There were only two... I'm pretty sure we've
been busier than that... (version control shows +213347/-173656 raw
lines just in the LLVM repo since the 3.2 release).
llvm-svn: 172954
2013-01-20 03:29:50 +00:00
Sean Silva
9d0eb9444e
docs: Use proper markup.
...
These are really definition lists.
llvm-svn: 172950
2013-01-20 02:19:42 +00:00
Sean Silva
12159ffe11
docs: Inline documentation structure into homepage.
...
This brings back {Ctrl,Cmd}-f'ability, and makes some really bad
organizational choices easier to see (and therefore fix).
llvm-svn: 172949
2013-01-20 02:19:36 +00:00
Dmitri Gribenko
9e4fc280f9
Documentation: remove more mentions of Tcl
...
Followup for r172836
llvm-svn: 172918
2013-01-19 20:35:18 +00:00
Dmitri Gribenko
e813112c71
Documentation: replace some non-ASCII characters by equivalent markup
...
llvm-svn: 172917
2013-01-19 20:34:20 +00:00
Daniel Dunbar
9585612876
[MC/Mach-O] Implement integrated assembler support for linker options.
...
- Also, fixup syntax errors in LangRef and missing newline in the MCAsmStreamer.
llvm-svn: 172837
2013-01-18 19:37:00 +00:00
Dmitri Gribenko
09a682ab5a
Documentation: remove all mentions of DejaGNU and Tcl
...
We don't have DejaGNU tests now.
llvm-svn: 172836
2013-01-18 19:27:43 +00:00
Eli Bendersky
f747bd621d
Streamline the mentions of grep and FileCheck in TestingGuide.rst
...
grep is now only mentioned once in a sentence that explicitly says it's
deprecated. For FileCheck, there's no reason to repeat part of the
documentation that exists in CommandGuide/FileCheck.
llvm-svn: 172835
2013-01-18 19:01:34 +00:00
Daniel Dunbar
8a81c24312
[Linker] Drop support for IR-level extended linking support (archives, etc.).
...
- This code is dead, and the "right" way to get this support is to use the
platform-specific linker-integrated LTO mechanisms, or the forthcoming LLVM
linker.
llvm-svn: 172749
2013-01-17 19:52:25 +00:00
Daniel Dunbar
1dc66cafca
[docs] Get rid of some UTF8 characters (non-breaking space maybe).
...
llvm-svn: 172741
2013-01-17 18:57:32 +00:00
Daniel Dunbar
252bedc568
[IR] Reserve/define the purpose for the "Linker Options" metadata flags.
...
llvm-svn: 172681
2013-01-17 00:16:27 +00:00
Lang Hames
045f439310
Update the description of the llvm.fmuladd.* intrinsics to avoid use of the
...
ambiguous term 'legal'.
Suggested by Andrew Booker. Thanks Andrew!
llvm-svn: 172680
2013-01-17 00:00:49 +00:00
Dmitri Gribenko
4dc2ba15d7
Documentation: fix a typo 'IEE754'
...
Reported on IRC by _savage
llvm-svn: 172677
2013-01-16 23:40:37 +00:00
Daniel Dunbar
d77d9fb04d
[IR] Add 'Append' and 'AppendUnique' module flag behaviors.
...
llvm-svn: 172659
2013-01-16 21:38:56 +00:00
Daniel Dunbar
25c4b5718b
[IR] Add verifier support for llvm.module.flags.
...
- Also, update the LangRef documentation on module flags to match the
implementation.
llvm-svn: 172498
2013-01-15 01:22:53 +00:00
Dmitri Gribenko
bb13a3c457
Documentation: use monospaced font for intrinsics' names
...
llvm-svn: 172360
2013-01-13 16:07:49 +00:00
Dmitri Gribenko
c5137404f4
Fix broken link to LangRef
...
llvm-svn: 172359
2013-01-13 16:06:11 +00:00
Tim Northover
4694b54f3f
Use more canonical exception-handling link in docs.
...
llvm-svn: 172325
2013-01-12 19:54:21 +00:00
Tim Northover
53acb32afc
Fix broken links around Itanium C++ ABI in documentation.
...
llvm-svn: 172312
2013-01-12 12:38:54 +00:00
Justin Holewinski
f73d7a53ed
Remove PTX->NVPTX in CodeGenerator document and update its text.
...
llvm-svn: 172235
2013-01-11 18:47:10 +00:00
Justin Holewinski
ceab0dea55
Update CodeGenerator document to add a "Not Applicable" category to the
...
Target Feature Matrix, and update the PTX column with this new category.
llvm-svn: 172234
2013-01-11 18:37:54 +00:00
Sean Silva
92a44897a2
docs: Fix long standing linking antipattern.
...
Before we learned about :doc:, we used :ref: and put a dummy link at the
top of each page. Don't do that anymore.
This fixes PR14891 as a special case.
llvm-svn: 172162
2013-01-11 02:28:08 +00:00
Sean Silva
216ff2ff29
docs: fix misleading description.
...
PR14890
llvm-svn: 172160
2013-01-11 01:54:16 +00:00
Chris Lattner
045a73e62d
remove the rest of the "written by" lines in the documentation. It is
...
against the developer policy to include this sort of thing as SVN blame
already captures this in a far more fine-grained way.
llvm-svn: 172109
2013-01-10 21:24:04 +00:00
Sean Silva
8e68b792b4
docs: fix broken link.
...
PR14889
llvm-svn: 172046
2013-01-10 06:39:37 +00:00
Sean Silva
45e4147345
TableGen/LangRef: link bang operators into the productionlist
...
Now BangOperator should be nicely hyperlinked.
Pointed out by Joel Jones.
llvm-svn: 171942
2013-01-09 02:20:31 +00:00
Sean Silva
543fd7f8be
TableGen/LangRef: discuss specific C-like escapes
...
Suggested by Joel Jones.
llvm-svn: 171941
2013-01-09 02:20:30 +00:00
Sean Silva
dce94d3bd2
docs: Fix mention of DefmID to MultiClassID.
...
llvm-svn: 171940
2013-01-09 02:20:24 +00:00
Sean Silva
c95fe2804d
docs: Bring TableGen syntax a bit closer to reality.
...
It's not just def's but actually a limited subset of Object's that are
allowed inside a multiclass.
Spotted by Joel Jones.
llvm-svn: 171935
2013-01-09 02:11:55 +00:00
Nadav Rotem
9f20781bad
Docs: mention that we support float reductions when -ffast-math is used.
...
llvm-svn: 171873
2013-01-08 17:46:30 +00:00
Eric Christopher
72a529566c
Remove the llvm-local DW_TAG_vector_type tag and add a test to
...
make sure that vector types do work.
llvm-svn: 171833
2013-01-08 01:53:52 +00:00
Eric Christopher
9948d5eb6f
Remove what appears to be a dead llvm-specific debug tag.
...
llvm-svn: 171821
2013-01-08 00:16:33 +00:00
Dmitri Gribenko
0655f6c3d9
Documentation: add a note that Clang on Mageia 2 can not find libstdc++ headers
...
llvm-svn: 171729
2013-01-07 12:17:44 +00:00
David Blaikie
8e390ea199
Documentation updates for pointer-to-member debug info added in r171698.
...
llvm-svn: 171701
2013-01-07 06:02:07 +00:00
Sean Silva
1b60018178
tblgen, docs: Add initial syntax reference.
...
llvm-svn: 171685
2013-01-07 02:43:44 +00:00
Dmitri Gribenko
d326f6723a
Documentation: add clang 3.0 + libstdc++ 4.7.x as a known bad combination that
...
is actually used by a few Linux distributions
llvm-svn: 171671
2013-01-06 21:23:27 +00:00
Renato Golin
cd48362e62
Add reference to dcommit on GettingStarted
...
Signed-off-by: Renato Golin <renato.golin@linaro.org>
llvm-svn: 171642
2013-01-06 00:14:27 +00:00
Dmitri Gribenko
801e76900d
GettingStarted: improve formatting and document that configure checks for
...
'clang' to use it as the compiler.
llvm-svn: 171630
2013-01-05 18:10:06 +00:00
Nadav Rotem
09b5a1be8b
Update the gcc-loops benchmarks results with the new automatic unrolling feature.
...
llvm-svn: 171509
2013-01-04 19:10:34 +00:00
Eli Bendersky
dcde5cb8da
fix a couple of typos
...
llvm-svn: 171508
2013-01-04 19:09:15 +00:00
Nadav Rotem
014e19c2ca
Add linpack-pc bench
...
llvm-svn: 171499
2013-01-04 19:00:42 +00:00
Nadav Rotem
7daadf21fe
Update the docs about the new unroll features.
...
llvm-svn: 171470
2013-01-04 17:49:45 +00:00
Nadav Rotem
7ea18a763b
Reformat the rst text.
...
llvm-svn: 171449
2013-01-03 01:56:33 +00:00
Nadav Rotem
a616d68f2c
LoopVectorizer: Document the unrolling feature.
...
llvm-svn: 171445
2013-01-03 01:47:02 +00:00
Sean Silva
e3c5e48fc4
docs: update docs/README.txt and make it useful.
...
llvm-svn: 171353
2013-01-02 02:31:51 +00:00
NAKAMURA Takumi
43632a26a5
Update the copyright coredits -- Happy new year 2013!
...
llvm-svn: 171342
2013-01-01 10:00:19 +00:00
Sean Silva
6e4ebb5424
docs: Fix FIXME
...
I actually made a think-o when writing this FIXME since I wrote LangRef
but it should actually have said WritingAnLLVMBackend.
llvm-svn: 171293
2012-12-31 11:49:51 +00:00
Dmitri Gribenko
12be928dfb
Documentation: add a section to prevent spurious test failures like the one
...
fixed in r171243.
llvm-svn: 171258
2012-12-30 14:51:03 +00:00
Sean Silva
0f2eabce10
docs: Add FAQ about "storing to a virtual register".
...
This came up for the N+1'st time today in IRC.
llvm-svn: 171155
2012-12-27 10:23:04 +00:00
Sean Silva
33fc6cff4b
docs: Move link to the new "external tutorials" area.
...
llvm-svn: 171154
2012-12-27 08:57:08 +00:00
Nadav Rotem
f85d3ee072
docs: Update the benchmark with updated perf numbers.
...
llvm-svn: 171149
2012-12-27 08:32:44 +00:00
Nadav Rotem
0bbf81e311
Update the docs with the new workload that was added.
...
llvm-svn: 171115
2012-12-26 19:45:00 +00:00
Nadav Rotem
a1d2436b5f
revert an accidental commit.
...
llvm-svn: 171098
2012-12-26 06:16:03 +00:00
Nadav Rotem
7375d35711
Doc: add fmuladd to the list of vectorizeable functions. Thanks hfinkel.
...
llvm-svn: 171094
2012-12-26 06:03:35 +00:00
Dmitri Gribenko
32e0aa3a50
Documentation: fix typos reported in PR13866
...
llvm-svn: 171006
2012-12-23 18:46:11 +00:00
Sean Silva
ff120c7fc5
docs: Add link to external LLVM backend tutorial.
...
llvm-svn: 170998
2012-12-23 07:34:51 +00:00
Sean Silva
850861df62
docs: More robust image scaling fix.
...
Hopefully these benchmarks will be updated in the future, so avoid
hardcoding image dimensions.
llvm-svn: 170819
2012-12-21 00:28:42 +00:00
Sean Silva
35915c6459
docs: Prevent image scaling.
...
Tell the image to be its natural size.
llvm-svn: 170816
2012-12-21 00:20:25 +00:00
Sean Silva
e9ba463632
docs: Try out nosidebar.
...
Please squawk if you find this appalling or otherwise don't like it.
llvm-svn: 170803
2012-12-20 23:35:22 +00:00
Sean Silva
287e7d275c
docs: Cleanup trailing whitespace.
...
llvm-svn: 170799
2012-12-20 22:59:36 +00:00
Sean Silva
e140b2ee67
docs: actually indent these consistently
...
llvm-svn: 170792
2012-12-20 22:49:13 +00:00
Sean Silva
8c44a4733c
docs: Indent consistently in code examples.
...
llvm-svn: 170791
2012-12-20 22:47:41 +00:00
Sean Silva
99e12f91a6
docs: Improve navigation for Vectorizers.rst
...
Add links in the intro paragraph.
Add table of contents.
llvm-svn: 170790
2012-12-20 22:42:20 +00:00
Sean Silva
fd706f7da9
docs: bring back link for reddit.
...
llvm-svn: 170776
2012-12-20 22:24:37 +00:00
Sean Silva
eae2d90508
docs: Make document name congruent with title.
...
Hopefully nobody has linked to it yet...
OK'd by Nadav.
llvm-svn: 170768
2012-12-20 21:50:41 +00:00
James Molloy
4f6fb953a7
Add a new attribute, 'noduplicate'. If a function contains a noduplicate call, the call cannot be duplicated - Jump threading, loop unrolling, loop unswitching, and loop rotation are inhibited if they would duplicate the call.
...
Similarly inlining of the function is inhibited, if that would duplicate the call (in particular inlining is still allowed when there is only one callsite and the function has internal linkage).
llvm-svn: 170704
2012-12-20 16:04:27 +00:00
Sean Silva
fe15616449
docs: Show TOC for GettingStarted.rst.
...
This is a pretty lengthy document, so put the table of contents in your
face so that it's easier to scope out the content.
This document is a mess currently and needs to be
refactored/revised/split-up.
llvm-svn: 170646
2012-12-20 03:32:39 +00:00
Sean Silva
08fd0888cb
docs: Clean up adornments.
...
For whatever reason the usage of '^^^' and '---' adornments were
reversed compared to the "canonical" style of the LLVM docs (which is
currently "the style used in SphinxQuickstartTemplate.rst"). This change
doesn't affect the document structure at all, I'm just doing it for
trivial stylistic consistency (the document content is *much* more
important---thanks Nadav for writing this up!).
Also, trim the adornments to be the same length as the section names.
llvm-svn: 170638
2012-12-20 02:40:45 +00:00
Sean Silva
13ed79c66b
docs: ASCII-fy
...
llvm-svn: 170637
2012-12-20 02:23:25 +00:00
Nadav Rotem
17d745618e
doc: resize the image.
...
llvm-svn: 170622
2012-12-20 00:29:18 +00:00
Nadav Rotem
12da396abc
Doc: update the chart.
...
llvm-svn: 170618
2012-12-20 00:03:36 +00:00
Meador Inge
0fbf321af2
docs: Fix title underline warnings
...
Building Vectorizers.rst produces a few warnings of the form:
WARNING: Title underline too short.
Fixed by adding the extra needed dashes under the title.
llvm-svn: 170582
2012-12-19 20:16:40 +00:00
Nadav Rotem
0328f5e57d
doc: add subsections.
...
llvm-svn: 170568
2012-12-19 18:04:44 +00:00
Nadav Rotem
8f4a6cced2
DOC: document the use of O2, O3 and Os with -fvectorize.
...
llvm-svn: 170567
2012-12-19 18:02:36 +00:00
Dmitri Gribenko
d3be5d9bf6
Documentation: add a missing space
...
llvm-svn: 170542
2012-12-19 12:51:48 +00:00
Nadav Rotem
90c8b4bfa5
DOC: fix the url format.
...
llvm-svn: 170513
2012-12-19 08:43:05 +00:00
Nadav Rotem
15bdbbe309
DOC: add a benchmarks that compares us to gcc and icc.
...
llvm-svn: 170509
2012-12-19 08:28:24 +00:00
Nadav Rotem
af14a3f20b
docs: fix typos.
...
llvm-svn: 170504
2012-12-19 07:36:35 +00:00
Nadav Rotem
c4efbb8b4e
DOC: Add a webpage that describes the loop and bb vectorizers.
...
llvm-svn: 170503
2012-12-19 07:22:24 +00:00
Chandler Carruth
9dcfcf50c2
Actually update the grammar of this sentence to reflect the removal of CellSPU.
...
llvm-svn: 170268
2012-12-15 08:56:20 +00:00
Duncan Sands
503ce6953f
Release notes for dragonegg 3.2.
...
llvm-svn: 170243
2012-12-14 21:10:59 +00:00
Chandler Carruth
58b3cb6cc2
The CellSPU backend is more than experimental, it's dead now...
...
llvm-svn: 170201
2012-12-14 13:44:05 +00:00
Chandler Carruth
1e83227942
Remove a section that was in 3.1's notes.
...
Just give a shout if this was actually still important....
llvm-svn: 170200
2012-12-14 13:43:59 +00:00
Chandler Carruth
e6ccc13dbb
Remove several entries from the 3.2 release notes that were in the 3.1
...
release notes already. =]
llvm-svn: 170198
2012-12-14 13:41:02 +00:00
Chandler Carruth
7c5d60c01d
Fix the order of these sections of the release notes.
...
llvm-svn: 170197
2012-12-14 13:37:18 +00:00
Chandler Carruth
108d19e6b5
Add a rough draft of some content about the new SROA. I'll try to proof
...
read this and clean it up tomorrow, but hopefully it's a good
placeholder.
llvm-svn: 170196
2012-12-14 13:37:17 +00:00
Chandler Carruth
b745ac48a6
Delete a long-stale "if its ready" comment. All indications is that this
...
will look a bit different when we have time to get it ready to turn on,
and we won't likely need this reminder.
llvm-svn: 170195
2012-12-14 13:37:12 +00:00
Chandler Carruth
ec86541e9f
Provide some actual highlight bullets for Clang.
...
If anyone has better highlights (I'm obviously biased by the things that
I'm excited about) jump in and add them!
llvm-svn: 170194
2012-12-14 13:22:57 +00:00
Sean Silva
f77e570557
docs: Improve discussion of syntax highlighting.
...
llvm-svn: 170145
2012-12-13 20:14:25 +00:00
Dmitri Gribenko
90fa0c6194
Documentation: CompilerWriterInfo.rst: update link to Intel documentation
...
Replaces old Pentium 4 documentation link with generic current documentation link.
Patch by Kevin Schoedel.
llvm-svn: 170144
2012-12-13 20:02:11 +00:00
Dmitri Gribenko
b70e6b64a5
Add a dummy documentation file to unbreak 'make install'. We need to find how
...
to package reST-formatted documentation.
llvm-svn: 170126
2012-12-13 13:37:35 +00:00
Dmitri Gribenko
aa0e77cf24
Makefile.sphinx: reST conversion is complete!
...
No need to copy HTML files anymore.
llvm-svn: 170029
2012-12-12 21:35:43 +00:00
Dmitri Gribenko
508d98f67f
Documentation: use paths relative to document root in links.
...
llvm-svn: 170027
2012-12-12 21:16:29 +00:00
Nick Kledzik
f60a9279ea
Initial implementation of a utility for converting native data
...
structures to and from YAML using traits. The first client will
be the test suite of lld. The documentation will show up at:
http://llvm.org/docs/YamlIO.html
llvm-svn: 170019
2012-12-12 20:46:15 +00:00
Dmitri Gribenko
f8bb4eadca
Documentation: SphinxQuickstartTemplate.rst: add guidelines about highlighting
...
console sessions and add more highlighter names.
llvm-svn: 170011
2012-12-12 20:07:18 +00:00
Dmitri Gribenko
28574d36aa
Documentation: llvm-bcanalyzer.rst: cleanup.
...
llvm-svn: 170001
2012-12-12 19:15:53 +00:00
Dmitri Gribenko
3fa700f17d
Documentation: AliasAnalysis.rst: improve internal and external links
...
llvm-svn: 169993
2012-12-12 17:03:50 +00:00
Dmitri Gribenko
11ffe2c47e
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
427cfcb937
Documentation: cleanup
...
llvm-svn: 169990
2012-12-12 16:58:13 +00:00
Dmitri Gribenko
99e8b43498
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
125939cbf7
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
134f76a2bc
Documentation: cleanup: remove useless anchors and write :ref:s explicitly.
...
llvm-svn: 169932
2012-12-11 23:35:23 +00:00
Dmitri Gribenko
a2d35d153f
Documentation: Lexicon.rst: add 'SLP' acronym
...
llvm-svn: 169928
2012-12-11 23:13:23 +00:00
Dmitri Gribenko
ed4325f7ac
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
38782b8e87
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
c11b91ec18
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
18dc538690
docs: Convert GarbageCollection.html to reST
...
Patch by Alexander Zinenko!
llvm-svn: 169702
2012-12-09 15:52:47 +00:00
Dmitri Gribenko
2247085c37
Documentation: HowToReleaseLLVM.rst: remove trailing whitespace.
...
llvm-svn: 169700
2012-12-09 15:33:26 +00:00
Dmitri Gribenko
0c79cd6107
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
be7f2f9e49
Fixed some grammar and punctuation error.
...
No content changes.
llvm-svn: 169627
2012-12-07 19:21:10 +00:00
Dmitri Gribenko
7a93668614
Convert HowToReleaseLLVM.html to reST
...
Patch by Alexander Zinenko.
llvm-svn: 169608
2012-12-07 16:42:48 +00:00
Sean Silva
b084af416a
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
8150e9e55a
Documentation: fix typos and formatting.
...
llvm-svn: 169546
2012-12-06 21:12:35 +00:00
Sean Silva
33af5003c7
docs: Explain plain preformatted text
...
llvm-svn: 169352
2012-12-05 04:07:33 +00:00
Sean Silva
d7fb396eb2
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
f75e74f67e
docs: Begin Sphinxification of docs/tutorial/
...
llvm-svn: 169309
2012-12-04 21:16:41 +00:00
Sean Silva
8f14642ae0
docs: fixup legacy HTML link
...
llvm-svn: 169308
2012-12-04 21:16:34 +00:00
Justin Holewinski
ed7d8d5500
Update release notes for NVPTX
...
llvm-svn: 169280
2012-12-04 16:11:51 +00:00
Eli Bendersky
0ffc0d4ff3
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
42e10733ae
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
c454f07e33
docs: Fix broken link.
...
llvm-svn: 169211
2012-12-04 03:45:27 +00:00
Sean Silva
4b587854fe
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
beb15ca8f0
docs: Convert ProgrammersManual to reST.
...
Patch by Alexander Zinenko!
llvm-svn: 169208
2012-12-04 03:20:08 +00:00
Eli Bendersky
035513831b
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
494cfc0786
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
0bd335efcd
Unbreak Sphinx build
...
llvm-svn: 169106
2012-12-02 02:47:48 +00:00
Eli Bendersky
04a382c796
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
e4adf43168
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
4ca99ba6b5
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
7174c5a074
Documentation: convert WritingAnLLVMBackend.html to reST
...
llvm-svn: 169087
2012-12-01 12:13:48 +00:00
Michael Ilseman
f15af485a0
Removed redundancy in wording
...
llvm-svn: 169053
2012-11-30 23:14:52 +00:00
Michael Ilseman
1e1c524afd
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
f589e2418d
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
59aeece231
Documentation for llvm-link: reformat
...
llvm-svn: 168924
2012-11-29 19:14:35 +00:00
Dmitri Gribenko
c9e206f090
Documentation for llvm-cov: reformat
...
llvm-svn: 168922
2012-11-29 19:10:21 +00:00
Dmitri Gribenko
1521681b59
Documentation for llvm-stress: reformat
...
llvm-svn: 168920
2012-11-29 19:05:55 +00:00
Dmitri Gribenko
6c80bcb56f
Documentation for opt: reformat
...
llvm-svn: 168919
2012-11-29 19:02:50 +00:00
Dmitri Gribenko
76561e9741
Documentation for llc: reformat.
...
llvm-svn: 168912
2012-11-29 18:16:11 +00:00
Dmitri Gribenko
e260d3af52
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
cbb07bea14
Documentation for tblgen: formatting
...
llvm-svn: 168904
2012-11-29 17:41:05 +00:00
Dmitri Gribenko
6e303f7615
Documentation for lit: formatting improvements.
...
llvm-svn: 168902
2012-11-29 17:05:34 +00:00
Dmitri Gribenko
8bd389d8d7
Documentation: formatting improvements
...
llvm-svn: 168897
2012-11-29 16:12:13 +00:00
Dmitri Gribenko
194d3685ec
Documentation: use correct highlighter
...
llvm-svn: 168871
2012-11-29 12:00:32 +00:00
Dmitri Gribenko
5cb3f1097f
Documentation: improve formatting and remove unneeded empty lines.
...
llvm-svn: 168817
2012-11-28 21:40:54 +00:00
Eli Bendersky
7875088078
Some grammar fixes
...
llvm-svn: 168752
2012-11-28 00:27:25 +00:00
NAKAMURA Takumi
5e74510398
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
f7512cfc25
Fast-math flags documentation added to LangRef
...
llvm-svn: 168652
2012-11-27 00:48:29 +00:00
Bill Wendling
8fd23aba48
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
6ac1de48f9
Documentation: convert SourceLevelDebugging.html to reST
...
llvm-svn: 168493
2012-11-22 11:56:02 +00:00
Chandler Carruth
315e719dff
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
2fef6b6a1e
Fix a typo in FileCheck.rst
...
llvm-svn: 168466
2012-11-21 22:40:52 +00:00
Eli Bendersky
ba50ce4825
Some sphinx-ing and consistency fixes
...
llvm-svn: 168380
2012-11-20 19:37:58 +00:00
Joe Abbey
159fac4970
Better 80cols... *sigh*
...
llvm-svn: 168373
2012-11-20 18:14:15 +00:00
Joe Abbey
0974e04d13
Fixing a broken link.
...
llvm-svn: 168372
2012-11-20 17:51:08 +00:00
Sean Silva
23344e4981
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
9c1a86b29c
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
a621edde3f
docs: Sphinxify LLVMBuild documentation.
...
llvm-svn: 168348
2012-11-20 03:13:53 +00:00
Eli Bendersky
9d07f94863
ReST-ify some markup in the LIT document
...
llvm-svn: 168345
2012-11-20 00:26:08 +00:00
Sean Silva
33f2c07c95
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
94717e9fbe
First version of Polly release notes for 3.2
...
llvm-svn: 168302
2012-11-19 08:58:29 +00:00
Dmitri Gribenko
431aa1227c
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
8ed8188590
Documentation: convert SystemLibrary documentation to reST
...
llvm-svn: 168289
2012-11-18 18:40:21 +00:00
Dmitri Gribenko
e6abe2f008
Documentation: remove a copy of the FileCheck man page from TestingGuide
...
llvm-svn: 168288
2012-11-18 18:28:14 +00:00
Dmitri Gribenko
42c31d26ff
Documentation: use a :doc: link instead of an absolute http:// link.
...
llvm-svn: 168286
2012-11-18 10:35:18 +00:00
Dmitri Gribenko
162c524ce7
Documentation: fix broken link.
...
llvm-svn: 168285
2012-11-18 10:32:14 +00:00
Sean Silva
7333a848c8
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
cd9f22edca
Bump sphinx config to 3.3.
...
llvm-svn: 168273
2012-11-17 22:12:59 +00:00
Sean Silva
0fc33ec10f
docs: Add link to HowToSetUpLLVMStyleRTTI
...
llvm-svn: 168271
2012-11-17 21:01:44 +00:00
Will Schmidt
9544fc7dd8
ReleaseNotes.html updates reflecting PPC64 Elf Linux efforts and progress.
...
llvm-svn: 168189
2012-11-16 19:46:35 +00:00
Duncan Sands
d71b4e4568
Add the Erlang/HiPE calling convention, patch by Yiannis Tsiouris.
...
llvm-svn: 168166
2012-11-16 12:36:39 +00:00
Michael Ilseman
234ba6f2cd
Remove trailing whitespace
...
llvm-svn: 168121
2012-11-16 00:58:59 +00:00
Jyotsna Verma
095d4fe02b
Fix typo.
...
llvm-svn: 168091
2012-11-15 21:21:01 +00:00
Joel Jones
8fe56e00ed
Add description of how to build docs
...
llvm-svn: 168088
2012-11-15 21:15:08 +00:00
Craig Topper
22a6503df6
Add missing documentation for llvm.exp2, llvm.log10, and llvm.log2.
...
llvm-svn: 168026
2012-11-15 07:01:39 +00:00
Craig Topper
61d045781a
Add llvm.ceil, llvm.trunc, llvm.rint, llvm.nearbyint intrinsics.
...
llvm-svn: 168025
2012-11-15 06:51:10 +00:00
Eric Christopher
456c08d69d
Add some release notes that say we removed the CellSPU port.
...
llvm-svn: 168014
2012-11-15 00:59:52 +00:00
Sean Silva
905a2d3d17
docs: Improve typographical correctness.
...
llvm-svn: 167998
2012-11-14 23:15:51 +00:00
Sean Silva
e0db519ae9
docs: Sphinxify TestSuiteMakefileGuide
...
Some small related fixups to TestingGuide too.
llvm-svn: 167996
2012-11-14 23:11:10 +00:00
Eric Christopher
950d8703b1
Remove the CellSPU port.
...
Approved by Chris Lattner.
llvm-svn: 167984
2012-11-14 22:09:20 +00:00
Sean Silva
a89edf6a61
docs: Sphinxify TestingGuide
...
llvm-svn: 167979
2012-11-14 21:09:30 +00:00
Alexander Kornienko
92987fb311
Support for [[ @LINE ]], [[@LINE+<offset>]], [[@LINE-<offset>]] expressions in
...
FileCheck.
llvm-svn: 167978
2012-11-14 21:07:37 +00:00
Alexander Kornienko
317adfc8b7
Added %(line), %(line+<number>), %(line-<number>) substitutions to lit
...
llvm-svn: 167971
2012-11-14 20:26:19 +00:00
Dmitri Gribenko
a72e9f0140
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
6468f0a9ef
docs: nuke GCCFEBuildInstrs.html
...
llvm-svn: 167961
2012-11-14 19:34:48 +00:00
Sean Silva
5f265fb124
docs: Fix Sphinx toctree warning.
...
llvm-svn: 167905
2012-11-14 01:49:23 +00:00
Sean Silva
6c440b932e
docs: chmod -x HowToUseInstrMappings.rst
...
llvm-svn: 167903
2012-11-14 01:41:58 +00:00
Duncan Sands
e6beec6765
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
84705096b2
Update link to external document
...
llvm-svn: 167781
2012-11-12 23:43:34 +00:00
Nadav Rotem
0767d177ec
fix a spelling mistake
...
llvm-svn: 167734
2012-11-12 18:45:12 +00:00
Nadav Rotem
913805703d
Update the vectorizer docs.
...
llvm-svn: 167688
2012-11-11 06:47:51 +00:00
Pawel Wodnicki
5bf57b4c1e
fix typo PR1476
...
llvm-svn: 167536
2012-11-07 17:00:18 +00:00
Pawel Wodnicki
6d3a0a73eb
fix for PR1476
...
llvm-svn: 167535
2012-11-07 16:56:52 +00:00
Eli Bendersky
659d206678
Fix a broken sentence
...
llvm-svn: 167521
2012-11-07 01:52:41 +00:00
Eli Bendersky
8a7e80f6f5
Document the -input-file option of FileCheck
...
llvm-svn: 167517
2012-11-07 01:41:30 +00:00
Alexey Samsonov
bdb2594cb3
docs: use code font for console commands in phabricator manual
...
llvm-svn: 167459
2012-11-06 15:04:37 +00:00
Chandler Carruth
89ad975c68
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
6f6f55ee61
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
13539d1b0a
Documentation: fix typos.
...
llvm-svn: 167302
2012-11-02 18:06:51 +00:00
Arnold Schwaighofer
9d08a15b0f
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
70f4e794b5
Fix typo in CodeGenerator doc
...
llvm-svn: 167137
2012-10-31 16:41:07 +00:00
Jakub Staszak
850eb67cc0
Typo.
...
llvm-svn: 166969
2012-10-29 21:49:46 +00:00
Nadav Rotem
c59ae207ef
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
0a3322e5da
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
34e3477593
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
2962d9599e
Suggest llvm_unreachable over assert(0).
...
llvm-svn: 166821
2012-10-26 22:08:46 +00:00
Benjamin Kramer
6dc1e2f287
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
fd2cf7f9d9
Minor enhancement to build process notes for ARM platforms.
...
llvm-svn: 166769
2012-10-26 12:09:47 +00:00
Micah Villmow
e337f71203
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
5c87daf2c8
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
9356608f56
Add a bit of documentation on the annotated disassembly output.
...
llvm-svn: 166639
2012-10-24 23:30:22 +00:00
Nadav Rotem
1052df1049
Document the -force-vector-width flag.
...
llvm-svn: 166621
2012-10-24 20:47:55 +00:00
Dmitri Gribenko
9fb49d2b30
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
895b003f88
Vectorization docs.
...
llvm-svn: 166364
2012-10-20 02:34:34 +00:00
Daniel Dunbar
a3d9cabf8f
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
519a349c8a
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
bc4a4565de
Fix some doc-os.
...
llvm-svn: 166290
2012-10-19 17:23:39 +00:00
Daniel Dunbar
f1706edf5d
lit: Allow XFAIL: lines to also refer to "features".
...
llvm-svn: 166224
2012-10-18 20:43:04 +00:00
Micah Villmow
c8702fc261
Update the LangRef documentation for the per pointer address space support.
...
llvm-svn: 166201
2012-10-18 18:18:17 +00:00
Eli Bendersky
71a19ecd41
test commit: verifying access from new address
...
llvm-svn: 166197
2012-10-18 18:12:05 +00:00
Nadav Rotem
00cadb3ed7
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
89a452a9a6
Update the release notes about how to enable the loop vectorizer.
...
llvm-svn: 166123
2012-10-17 19:49:21 +00:00
Nadav Rotem
ec92817e05
Update the release notes about the store-merge dag optimization.
...
llvm-svn: 166116
2012-10-17 18:35:21 +00:00
Nadav Rotem
d9779f15cf
Update the release notes about the new TargetTransformInfo API changes.
...
llvm-svn: 166115
2012-10-17 18:33:50 +00:00
Nadav Rotem
c260387050
Update the release notes about the new loop vectorizer.
...
llvm-svn: 166113
2012-10-17 18:30:09 +00:00
Sean Silva
13c64c08c2
docs: Add link to integrated assembler HowTo
...
llvm-svn: 166106
2012-10-17 16:36:27 +00:00
Jan Wen Voung
69082be39c
Fix a typo in bitcode docs, from 165814.
...
llvm-svn: 165944
2012-10-15 16:47:58 +00:00
Dmitri Gribenko
2378c5e230
Documentation: Lexicon.rst: add "BB Vectorization" and "TBAA".
...
llvm-svn: 165879
2012-10-13 17:34:49 +00:00
Jan Wen Voung
77c6c85e84
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
3b942abef3
docs: Update example to conform to coding standards.
...
llvm-svn: 165782
2012-10-12 01:55:51 +00:00
Sean Silva
b39f47b067
docs: Minor clean up of Phabricator documentation.
...
llvm-svn: 165779
2012-10-12 01:21:24 +00:00
Sean Silva
d91ff4c942
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
d7802ad8a5
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
d73b2818a1
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
8398126bdd
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
66304d5411
GettingStarted.rst: s/&/&/g
...
llvm-svn: 165690
2012-10-11 01:10:37 +00:00
NAKAMURA Takumi
4b71c205b9
GettingStarted.rst: Fix the label to DeveloperPolicy.html.
...
llvm-svn: 165689
2012-10-11 01:10:27 +00:00
Sean Silva
529ecebe4c
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
9ce5c06626
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
b0d9dec1ff
Fix typo in docs.
...
llvm-svn: 165464
2012-10-08 23:54:10 +00:00
Micah Villmow
9cfc13d46c
Move TargetData to DataLayout.
...
llvm-svn: 165403
2012-10-08 16:39:34 +00:00
Sean Silva
a4fe992756
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
954e430e9b
Sphinxify the GettinStarted documentation.
...
llvm-svn: 165372
2012-10-07 07:10:13 +00:00
Bill Wendling
c3b3463fcf
Sphinxify the ExtendingLLVM documentation.
...
llvm-svn: 165371
2012-10-07 04:56:08 +00:00
Bill Wendling
668043f0db
Sphinxify the compiler writer info documentation.
...
llvm-svn: 165369
2012-10-07 04:34:10 +00:00
Rafael Espindola
ec2a51c154
Document MapVector.
...
llvm-svn: 165366
2012-10-07 00:56:09 +00:00
Dmitri Gribenko
8b76113f05
HowToSetUpLLVMStyleRTTI.rst: remove unneeded semicolons in code examples.
...
llvm-svn: 165335
2012-10-05 20:52:13 +00:00
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
Jakob Stoklund Olesen
6d110aa84d
Add a blurb about the new ExecutionDepsFix pass.
...
llvm-svn: 145220
2011-11-28 01:46:19 +00:00
Chris Lattner
ef714c0b05
dwarf parsing stuff.
...
llvm-svn: 145207
2011-11-27 22:39:23 +00:00
Chris Lattner
b035c31215
first pass of writing complete!
...
llvm-svn: 145206
2011-11-27 22:36:22 +00:00
Chris Lattner
7b32d97e02
arm and carve out a place ot mention segmented stacks.
...
llvm-svn: 145204
2011-11-27 22:12:32 +00:00
Rafael Espindola
799ca897e7
Add a description of the status of segmented stacks.
...
llvm-svn: 145201
2011-11-27 22:05:46 +00:00
Chris Lattner
7257f76728
optimize, mc, x86
...
llvm-svn: 145200
2011-11-27 22:03:34 +00:00
Chris Lattner
644976405f
some writing.
...
llvm-svn: 145198
2011-11-27 21:30:28 +00:00
Chris Lattner
9661de7d30
fix some out-of-date attribution.
...
llvm-svn: 145197
2011-11-27 21:02:12 +00:00
Chris Lattner
6442197819
distribute various bullets to different sections.
...
llvm-svn: 145196
2011-11-27 20:51:47 +00:00
Chris Lattner
080dd7ce30
rewrite the known problems section. Including a short list of individual bugs per target isn't particularly useful. Link to the target features matrix.
...
llvm-svn: 145193
2011-11-27 19:38:20 +00:00
Chris Lattner
4857190a50
move the detailed information about the EH rewrite to a comment, Bill is
...
blog'izing it.
llvm-svn: 145192
2011-11-27 19:26:30 +00:00
Chris Lattner
e9a31c40b6
tweak subprojects' section
...
llvm-svn: 145191
2011-11-27 18:53:41 +00:00
Chris Lattner
25a7790603
some random notes.
...
llvm-svn: 145190
2011-11-27 18:47:37 +00:00
Chris Lattner
3dcdc29d11
add some final random notes, I've completed my pass over all the commits.
...
I'll work on turning this into something intelligible tomorrow.
llvm-svn: 145177
2011-11-27 08:32:32 +00:00
Chris Lattner
d5bb9e6c4c
add some notes.
...
llvm-svn: 145173
2011-11-27 07:37:53 +00:00
Chris Lattner
bc639298e5
remove asmparsing and documentation support for "volatile load", which was only produced by LLVM 2.9 and earlier. LLVM 3.0 and later prefers "load volatile".
...
llvm-svn: 145172
2011-11-27 06:56:53 +00:00
Chris Lattner
ebed15e973
some notes.
...
llvm-svn: 145170
2011-11-27 06:24:49 +00:00
Chris Lattner
74a3e00ebf
add some notes
...
llvm-svn: 145163
2011-11-27 05:47:57 +00:00
Benjamin Kramer
8c8486dbb2
Move the branch probability blurb into the optimizer section. Add a minimal bullet for AVX.
...
llvm-svn: 145145
2011-11-26 11:14:54 +00:00
David Chisnall
07618783f3
Added Objective-C and libc++ details to the 3.0 release notes.
...
llvm-svn: 145144
2011-11-26 10:56:17 +00:00
Benjamin Kramer
a02af616b1
shpelling
...
llvm-svn: 145138
2011-11-25 21:26:00 +00:00
Benjamin Kramer
889b243fd6
Remove ZooLib from the projects list.
...
I don't see how the project is using LLVM and we really can't list every user of
the clang analyzer. Sorry.
llvm-svn: 145137
2011-11-25 21:03:06 +00:00
Chris Lattner
c3e4fdcc10
add a user
...
llvm-svn: 145136
2011-11-25 20:36:17 +00:00
Chris Lattner
614d0391e9
add some notes
...
llvm-svn: 145135
2011-11-25 20:33:27 +00:00
Chris Lattner
e5b37be30a
add faust
...
llvm-svn: 145134
2011-11-25 20:28:16 +00:00
Jim Grosbach
651e2ee792
Add a few notes for ARM and a blurb about the MCJIT.
...
llvm-svn: 145118
2011-11-24 00:49:21 +00:00
Chris Lattner
0e439c9b7c
x86/windows issues fixed.
...
llvm-svn: 144878
2011-11-17 01:42:23 +00:00
Chandler Carruth
d1eafe118d
There are already problems with building LLVM under VS2005, and it's
...
quite old now. Update the documentation to reflect this, and direct
people to use VS2008 or newer.
llvm-svn: 144818
2011-11-16 19:52:13 +00:00
Devang Patel
8cd896404a
Merge ObjCPropertyDebugInfo.html into SourceLevelDebugging.html
...
llvm-svn: 144724
2011-11-15 22:59:54 +00:00
Chris Lattner
dfcdd0c5be
jakob fixed X87 inline asm!
...
llvm-svn: 144719
2011-11-15 22:48:24 +00:00
Chris Lattner
7cdcbe3788
add ImmutableSet/Map dox, patch by Caitlin Sadowski!
...
llvm-svn: 144716
2011-11-15 22:40:14 +00:00
Chris Lattner
212a0867e9
add PTX backend info
...
llvm-svn: 144711
2011-11-15 22:23:46 +00:00
Chris Lattner
92f2183360
some notes.
...
llvm-svn: 144708
2011-11-15 22:13:27 +00:00
Akira Hatanaka
b89a58df96
Update section "MIPS Target Improvements" in the llvm 3.0 release notes.
...
llvm-svn: 144699
2011-11-15 21:33:05 +00:00
Devang Patel
aa284c564f
Add ObjCPropertyDebugInfo.html
...
llvm-svn: 144600
2011-11-15 01:14:37 +00:00
Devang Patel
41eac807ee
Document debug info support for objective-c properties.
...
llvm-svn: 144599
2011-11-15 01:11:58 +00:00
Wesley Peck
1c29a83acc
Add release notes for the MicroBlaze backend.
...
llvm-svn: 144550
2011-11-14 18:56:41 +00:00
Tobias Grosser
8bee91ffc6
Add clang_complete to release notes
...
llvm-svn: 144529
2011-11-14 09:09:26 +00:00
Tobias Grosser
cfa35956c3
Add Polly to release notes
...
llvm-svn: 144528
2011-11-14 09:09:23 +00:00
Daniel Dunbar
6d617b48c7
LLVMBuild: Add explicit information on whether targets define an assembly printer, assembly parser, or disassembler.
...
llvm-svn: 144344
2011-11-11 00:23:56 +00:00
Nicolas Geoffray
5e515797b6
Add blurb for VMKit.
...
llvm-svn: 144336
2011-11-10 23:37:56 +00:00
Chris Lattner
6d3eeec068
random notes, llvm-gcc is gone, fix a few broken tags.
...
llvm-svn: 144311
2011-11-10 20:15:40 +00:00
Duncan Sands
a294c549ca
Release notes for DragonEgg.
...
llvm-svn: 144298
2011-11-10 18:44:29 +00:00
Daniel Dunbar
82219ad4dc
llvm-build: Add an explicit component type to represent targets.
...
- Gives us a place to hang target specific metadata (like whether the target has a JIT).
llvm-svn: 144250
2011-11-10 00:49:51 +00:00
Bill Wendling
302d7ce0ab
Reformat the quote and tag the math stuff with <tt> tags.
...
llvm-svn: 144204
2011-11-09 19:33:56 +00:00
Bill Wendling
b33bd11c71
Add Eero to the list of external projects.
...
llvm-svn: 144076
2011-11-08 05:22:54 +00:00
Bill Wendling
1654bb22ca
Cleanup the formatting.
...
llvm-svn: 144053
2011-11-08 00:32:45 +00:00
Bill Wendling
fc1935c8bf
Add ISPC to the external projects list.
...
llvm-svn: 144026
2011-11-07 22:05:17 +00:00
Andrew Trick
6c0a11bf61
Release Notes: add a description of -enable-iv-rewrite.
...
llvm-svn: 143878
2011-11-06 17:59:24 +00:00
NAKAMURA Takumi
a61f0cc731
docs/GettingStarted.html: [Git] Add another example for "[Gmail]/Drafts" in Traditional Chinese.
...
Thanks to Chen Weiren.
llvm-svn: 143862
2011-11-06 06:51:58 +00:00
Peter Collingbourne
dc66efeb10
Recommend the -flto flag instead of -use-gold-plugin, and update
...
other aspects of the gold plugin docs to reflect reality.
llvm-svn: 143785
2011-11-05 04:17:28 +00:00
Daniel Dunbar
e9733850be
llvm-build: Add initial --write-cmake-fragment option.
...
llvm-svn: 143744
2011-11-04 23:10:37 +00:00
Bill Wendling
ef3cdeab45
Fix some misplaced punctuation.
...
llvm-svn: 143737
2011-11-04 20:40:41 +00:00
Daniel Dunbar
ab3b1804fe
llvm-build: Add initial code for --write-make-fragment.
...
llvm-svn: 143661
2011-11-03 22:46:19 +00:00
Bill Wendling
ed4cc4432f
Keep the Crack language as an external project.
...
llvm-svn: 143643
2011-11-03 20:10:01 +00:00
Daniel Dunbar
bf9bba47a1
build: Add initial cut at LLVMBuild.txt files.
...
llvm-svn: 143634
2011-11-03 18:53:17 +00:00
Daniel Dunbar
445e8f9d35
llvm-build: Add "--write-library-table" option for generating the C++ library
...
dependency table used by llvm-config.
llvm-svn: 143628
2011-11-03 17:56:28 +00:00
Daniel Dunbar
774421ec26
docs: Sketch docs for llvm-build tool.
...
llvm-svn: 143627
2011-11-03 17:56:24 +00:00
Daniel Dunbar
6972721d5f
docs: Add initial docs on LLVMBuild organization.
...
llvm-svn: 143619
2011-11-03 17:55:59 +00:00
Galina Kistanova
98989469a2
Cleaned text, fixed HTML.
...
llvm-svn: 143607
2011-11-03 05:57:26 +00:00
Galina Kistanova
3246d3556b
Few corrections on the document page.
...
llvm-svn: 143578
2011-11-02 22:05:18 +00:00
Tobias Grosser
325569f716
docs: Fix two typos
...
llvm-svn: 143565
2011-11-02 19:51:04 +00:00
Daniel Dunbar
f5918316e4
docs: Remove an out-of-date and unnecessary tool list.
...
llvm-svn: 143544
2011-11-02 15:57:05 +00:00
Daniel Dunbar
9a28c4a522
docs: Separate development process type of documentation from programming
...
documentation.
llvm-svn: 143543
2011-11-02 15:56:58 +00:00
Daniel Dunbar
1ad9bd9a4e
docs: Remove UsingLibraries page, which was inaccurate / out-of-date and not
...
particularly useful.
llvm-svn: 143542
2011-11-02 15:56:55 +00:00
Bill Wendling
eda350d8ab
Add LuaAV to external projects list.
...
llvm-svn: 143431
2011-11-01 04:08:23 +00:00
Tanya Lattner
e9839c045f
Reapply r141657.
...
Also revert the change to CREATE_SUBDIRS as this is what caused the CSS to break on the website and generate the much longer URLs.
llvm-svn: 143401
2011-10-31 23:46:50 +00:00
Ted Kremenek
aff3640d13
Update 'Getting Started' to suggest using GCC 4.2 or higher (or Clang). There is no reason to support older versions of GCC.
...
llvm-svn: 143366
2011-10-31 21:23:15 +00:00
Galina Kistanova
9545514c60
Added instruction how to add a builder to docs.
...
llvm-svn: 143365
2011-10-31 21:13:06 +00:00
NAKAMURA Takumi
a35cdd68cf
docs/*.html: Fix markups.
...
llvm-svn: 143349
2011-10-31 13:04:26 +00:00
NAKAMURA Takumi
b8004d9b4c
docs/*.html: Appease W3C Checker to add "charset=utf-8".
...
llvm-svn: 143348
2011-10-31 11:21:59 +00:00
Nick Lewycky
cd196f6b4f
Close <div> that was indenting the rest of the page.
...
llvm-svn: 143328
2011-10-31 01:32:21 +00:00
Roman Divacky
2634d778a6
Update on PPC32.
...
llvm-svn: 143306
2011-10-30 07:49:04 +00:00
Bill Wendling
edc208762e
Revise ThreadSanitizer mention so that it lists the correct frontends.
...
llvm-svn: 143268
2011-10-29 01:11:15 +00:00
Bill Wendling
ca8dc4a617
Add Cling to the External Projects list.
...
llvm-svn: 143267
2011-10-29 01:10:01 +00:00
Jim Grosbach
07ae229048
Clarify example snippets a bit.
...
llvm-svn: 143224
2011-10-28 20:52:20 +00:00
Dan Gohman
4c9fca99c9
Remove the Alpha backend.
...
llvm-svn: 143164
2011-10-27 22:56:32 +00:00
Eli Friedman
5487356336
The default alias analysis is -noaa; update the docs to reflect that. Patch by Michael Ilseman.
...
llvm-svn: 143159
2011-10-27 22:32:13 +00:00
Daniel Dunbar
a054790390
tests: Rip out a bunch of now unused test code relating to use of llvm-gcc in LLVM tests.
...
llvm-svn: 143143
2011-10-27 20:59:26 +00:00
Peter Collingbourne
f7d1e7be55
Add a pinned metadata name for fpaccuracy, and document it
...
llvm-svn: 143135
2011-10-27 19:19:14 +00:00
Peter Collingbourne
ec9ff67e22
Document tbaa metadata in LangRef (documentation largely based on
...
comments at top of TypeBasedAliasAnalysis.cpp).
llvm-svn: 143134
2011-10-27 19:19:07 +00:00
Bill Wendling
a2ae87bef2
Add include-what-you-use to the External Projects list.
...
llvm-svn: 143073
2011-10-26 22:55:18 +00:00
Bill Wendling
16133782dc
Some formatting changes.
...
llvm-svn: 143045
2011-10-26 18:46:16 +00:00
Bill Wendling
d535a6ee92
Add the blurb about the new exception handling.
...
llvm-svn: 143042
2011-10-26 18:33:01 +00:00
Bill Wendling
5ee37be14f
Add clReflect to the External Projects list.
...
llvm-svn: 143041
2011-10-26 18:23:06 +00:00
Bill Wendling
4d9c8e5f31
Add LanguageKit and Pragmatic Smalltalk to the External Projects list.
...
llvm-svn: 143040
2011-10-26 18:20:54 +00:00
Bill Wendling
fe845d5340
Add ThreadSanitizer to the External Projects list.
...
llvm-svn: 143024
2011-10-26 09:25:01 +00:00
Bill Wendling
39fe265e9c
Add ZooLib to the External Projects list.
...
llvm-svn: 143022
2011-10-26 07:42:45 +00:00
Bill Wendling
8fae82a196
Add the Stupid D Compiler to the External Projects list.
...
llvm-svn: 143020
2011-10-26 07:38:19 +00:00
Bill Wendling
c902d13653
Fix grammar.
...
llvm-svn: 143012
2011-10-26 04:24:15 +00:00
Eli Friedman
2c25d9c0c5
Add a note about the removal of the atomic intrinsics to the "Major Changes" section of the release notes.
...
llvm-svn: 142998
2011-10-26 00:55:23 +00:00
Eli Friedman
4bfff503fd
Remove dead atomic intrinsics from LangRef.
...
llvm-svn: 142994
2011-10-26 00:36:41 +00:00
Bill Wendling
0ed5747220
Add mention of AddressSanitizer to external OS projects.
...
llvm-svn: 142991
2011-10-26 00:17:54 +00:00
Bill Wendling
fd9eb573e4
Add mention of Mono to external OS projects.
...
llvm-svn: 142990
2011-10-26 00:16:17 +00:00
Bill Wendling
3bb971b74b
Add mention of ClamAV to external OS projects.
...
llvm-svn: 142989
2011-10-26 00:14:36 +00:00
Bill Wendling
97b889d6e5
Add mention of Renderscript to external OS projects.
...
llvm-svn: 142988
2011-10-26 00:12:04 +00:00
Bill Wendling
3bb93ad281
Add mention of GHC to external OS projects.
...
llvm-svn: 142987
2011-10-26 00:09:55 +00:00
Bill Wendling
bf72f2ca19
Add mention of SAFECode to external OS projects.
...
llvm-svn: 142966
2011-10-25 20:40:26 +00:00
Bill Wendling
58209296e0
Add mention of Pure to external OS projects.
...
llvm-svn: 142965
2011-10-25 20:39:06 +00:00
Bill Wendling
e8caad5241
Add mention of Portable OpenCL to external OS projects.
...
llvm-svn: 142963
2011-10-25 20:37:45 +00:00
Bill Wendling
3e3968e7aa
Add mention of gwScript to external OS projects.
...
llvm-svn: 142960
2011-10-25 20:35:31 +00:00
Bill Wendling
ae9aa3541e
Add mention of Tart to external OS projects.
...
llvm-svn: 142955
2011-10-25 20:27:37 +00:00
Bill Wendling
53aa7a8110
Add TTA-based Co-design Environment to external OS projects.
...
llvm-svn: 142954
2011-10-25 20:24:32 +00:00
Bruno Cardoso Lopes
4f6d7d489f
According to Mips folks, the backend is now generally reliable (they can
...
compile and use a bunch of stuff using o32 abi). Also the rt-rk.com team
claims that the JIT support they contributed, is complete for the mips
"static" relocation model.
llvm-svn: 142950
2011-10-25 20:09:31 +00:00
Bill Wendling
99ba0b6339
Comment out external projects so that they can be refreshed for 3.0.
...
llvm-svn: 142893
2011-10-25 01:01:42 +00:00
Dan Gohman
b43c36f391
Remove the Blackfin backend.
...
llvm-svn: 142880
2011-10-25 00:05:42 +00:00
Dan Gohman
dfc96aea90
Remove the SystemZ backend.
...
llvm-svn: 142878
2011-10-24 23:48:32 +00:00
Tanya Lattner
8a8d6466ff
Revert r141657 for now. This has broken css and changed links on llvm.org. I'd like to understand exactly why the links have changed and if a newer doxygen is required. This may be reapplied once we upgrade on llvm.org and it is fully tested.
...
llvm-svn: 142686
2011-10-21 20:51:54 +00:00
David Greene
fba251f267
Document Paste
...
Document paste as a shorthand for !strconcat.
llvm-svn: 142528
2011-10-19 13:04:59 +00:00
David Greene
e7c3ea9704
Document NAME
...
Document NAME as a special member of def records that should
not be defined anywhere else.
llvm-svn: 142527
2011-10-19 13:04:56 +00:00
Bill Wendling
d569648aa5
Remove mention of llvm-gcc and add mention of dragonegg.
...
llvm-svn: 142243
2011-10-17 20:28:54 +00:00
Bill Wendling
3fafe6d3f8
Install the PNG file as well. PR4780.
...
llvm-svn: 142125
2011-10-16 08:24:30 +00:00
Bill Wendling
01e554f905
Update tutorial to reflect the current APIs. Also correct a small omission in
...
LangImpl6.html (it needed to defined the 'binary :' operator).
PR9052
llvm-svn: 142123
2011-10-16 08:06:54 +00:00
Bill Wendling
e33d040331
Enable CREATE_SUBDIRS for a performance win, because there are a lot of files being generated.
...
llvm-svn: 142112
2011-10-16 06:43:10 +00:00
NAKAMURA Takumi
bccadaf1a3
CMake: Introduce LLVM_CLANG_SOURCE_DIR, "tools/clang" by default. Clang will not be built if LLVM_CLANG_SOURCE_DIR="" or ${LLVM_CLANG_SOURCE_DIR}/CMakeLists.txt is not found.
...
llvm-svn: 142103
2011-10-16 02:54:33 +00:00
Douglas Gregor
936c75bd51
Mention some of the improvements in Clang 3.0 over 2.9.
...
llvm-svn: 142029
2011-10-15 00:48:01 +00:00
Lang Hames
91fc0905a2
Fixed typo.
...
llvm-svn: 141906
2011-10-13 23:04:49 +00:00
Eli Friedman
c1702c8f22
Enhance the memdep interface so that users can tell the difference between a dependency which cannot be calculated and a path reaching the entry point of the function. This patch introduces isNonFuncLocal, which replaces isUnknown in some cases.
...
Patch by Xiaoyi Guo.
llvm-svn: 141896
2011-10-13 22:14:57 +00:00
NAKAMURA Takumi
9423f99d68
docs/CMake.html: Clarify LLVM_LIT_TOOLS_DIR as :PATH.
...
llvm-svn: 141872
2011-10-13 17:36:02 +00:00
Chris Lattner
7bd0ea3487
target data is a contract with the code generator, not the "processor"
...
llvm-svn: 141734
2011-10-11 23:02:17 +00:00
Chris Lattner
487974042e
improve some of the documentation around target data layout strings.
...
llvm-svn: 141733
2011-10-11 23:01:39 +00:00
Eric Christopher
6647b83087
Add a new wrapper node for a DILexicalBlock that encapsulates it and a
...
file. Since it should only be used when necessary propagate it through
the backend code generation and tweak testcases accordingly.
This helps with code like in clang's test/CodeGen/debug-info-line.c where
we have multiple #line directives within a single lexical block and want
to generate only a single block that contains each file change.
Part of rdar://10246360
llvm-svn: 141729
2011-10-11 22:59:11 +00:00
Daniel Dunbar
037fc9311a
Clean up a few references to System/. We still have docs/SystemLibrary.html
...
lying around...
llvm-svn: 141703
2011-10-11 20:02:52 +00:00
Lang Hames
ff2c52ce63
Fixed docs to reflect the proper default value and behaviour of the natural stack alignment.
...
llvm-svn: 141687
2011-10-11 17:50:14 +00:00
Duncan Sands
1cb28fdd54
Mention the cmake build guide on the main docs page.
...
llvm-svn: 141674
2011-10-11 16:35:07 +00:00
Bill Wendling
c8a78ded33
Update to a newer doxygen version. PR8214. Patch by Jeremy Huddleston.
...
llvm-svn: 141657
2011-10-11 07:25:38 +00:00
Bill Wendling
ffc3bd0e08
Minor modifications to make the Hello World example resemble the Hello World
...
pass in the tree. Also some minor formatting changes.
PR9413
llvm-svn: 141655
2011-10-11 07:03:52 +00:00
Bill Wendling
b4d076e37e
Use the proper name for "externally visible" linkage -- 'external'. This is the
...
keyword in LLVM for externally visible linkage.
PR10636
llvm-svn: 141649
2011-10-11 06:41:28 +00:00
Bill Wendling
05d9151d2c
Reword the SetVector description to reflect reality.
...
Patch by Michael Ilseman!
llvm-svn: 141648
2011-10-11 06:33:56 +00:00
Lang Hames
de7ab801cc
Add a natural stack alignment field to TargetData, and prevent InstCombine from
...
promoting allocas to preferred alignments that exceed the natural
alignment. This avoids some potentially expensive dynamic stack realignments.
The natural stack alignment is set in target data strings via the "S<size>"
option. Size is in bits and must be a multiple of 8. The natural stack alignment
defaults to "unspecified" (represented by a zero value), and the "unspecified"
value does not prevent any alignment promotions. Target maintainers that care
about avoiding promotions should explicitly add the "S<size>" option to their
target data strings.
llvm-svn: 141599
2011-10-10 23:42:08 +00:00
David Greene
33f619971f
Remove Multidefs
...
Multidefs are a bit unwieldy and incomplete. Remove them in favor of
another mechanism, probably for loops.
Revert "Make Test More Thorough"
Revert "Fix a typo."
Revert "Vim Support for Multidefs"
Revert "Emacs Support for Multidefs"
Revert "Document Multidefs"
Revert "Add a Multidef Test"
Revert "Update Test for Multidefs"
Revert "Process Multidefs"
Revert "Parser Multidef Support"
Revert "Lexer Support for Multidefs"
Revert "Add Multidef Data Structures"
llvm-svn: 141378
2011-10-07 18:25:05 +00:00
Evan Cheng
77f79a1a4f
Jakob is the code owner of register allocation and TableGen.
...
llvm-svn: 141372
2011-10-07 17:26:38 +00:00
David Greene
b6eb065ffc
Fix a typo.
...
Fix the argument passed in the multidef example.
llvm-svn: 141243
2011-10-05 23:16:44 +00:00
David Greene
ce3852464a
Document Multidefs
...
Provide documentation for multidefs, explaining in detail how they
work.
llvm-svn: 141236
2011-10-05 22:42:49 +00:00
David Chisnall
b24263ec49
Tell people using the tutorial how to make it actually work.
...
llvm-svn: 141103
2011-10-04 19:36:30 +00:00
Rafael Espindola
74e5a2a712
Remove last references to hotpatch.
...
llvm-svn: 141057
2011-10-04 03:08:43 +00:00
Rafael Espindola
cc349c8dd8
Add the returns_twice attribute to LLVM.
...
llvm-svn: 141001
2011-10-03 14:45:37 +00:00
Torok Edwin
52cac090c4
some 3.0 API notes
...
llvm-svn: 140851
2011-09-30 13:07:52 +00:00
Eric Christopher
508503b473
Add a note on removing LLVMC.
...
llvm-svn: 140715
2011-09-28 19:47:28 +00:00
Bill Wendling
b762df5840
Remove incorrect passage.
...
llvm-svn: 140631
2011-09-27 20:16:57 +00:00
Bill Wendling
d9f23c4f6b
Add FCA to the lexicon.
...
llvm-svn: 140619
2011-09-27 18:44:01 +00:00
Bill Wendling
614c8e5146
Remove some not-really-correct wording.
...
llvm-svn: 140600
2011-09-27 10:37:28 +00:00
Bill Wendling
878a67397d
Fix grammar.
...
llvm-svn: 140564
2011-09-26 21:10:31 +00:00
Bill Wendling
dec0ee3237
Remove dead table entry.
...
llvm-svn: 140563
2011-09-26 21:08:28 +00:00
Bill Wendling
58c80f886c
Some minor (and more involved) cleanups. No real context changes.
...
llvm-svn: 140561
2011-09-26 21:06:33 +00:00
Chris Lattner
ad4ab93e48
Duncan owns dragonegg too, it's all his fault :)
...
llvm-svn: 140430
2011-09-23 22:46:43 +00:00
Chris Lattner
e643b854a5
Resynch intro to section with copyright section.
...
llvm-svn: 140326
2011-09-22 18:54:31 +00:00
Bill Wendling
91fecb36b6
Remove mention of llvm-gcc and llvm-g++. -Ministry of Truth
...
llvm-svn: 140163
2011-09-20 18:24:04 +00:00
Bill Wendling
12e58f9c22
Remove some missed references to dead intrinsics.
...
llvm-svn: 140129
2011-09-20 01:14:54 +00:00
Bill Wendling
011618454d
Update the EH doc to reflect the new EH model.
...
This basically involved removing references to llvm.eh.exception,
llvm.eh.selector, and llvm.eh.resume and replacing them with references to the
landingpad and resume instructions.
llvm-svn: 140128
2011-09-20 01:08:53 +00:00
Eric Christopher
cafab2ef2e
More llvmc bits. Spotted by Benjamin on IRC.
...
llvm-svn: 140124
2011-09-20 00:42:28 +00:00
Eric Christopher
69c02e9476
Remove more of llvmc and dependencies.
...
llvm-svn: 140121
2011-09-20 00:34:27 +00:00
Jakob Stoklund Olesen
1c4831764c
X86 has asterisk-free inline asm support now.
...
Floating point stack inline asm works.
llvm-svn: 140033
2011-09-19 18:15:46 +00:00
Bill Wendling
fd24834588
Remove obsolete .pod files.
...
llvm-svn: 140000
2011-09-18 12:52:55 +00:00
Bill Wendling
1e7126d68c
Fix up the formating and change llvm-gcc to clang.
...
Note that this example doesn't work anymore!
llvm-svn: 139999
2011-09-18 12:51:05 +00:00
Bill Wendling
2488f168cc
Remove mention of llvm-gcc/llvm-g++ from doc.
...
llvm-svn: 139998
2011-09-18 12:37:20 +00:00
Chad Rosier
f0d3786945
Add -rfunc and -rglob options to llvm-extract to support regular
...
expression matching.
llvm-svn: 139945
2011-09-16 21:09:17 +00:00
Nick Lewycky
ac17552138
s/SequeuentiallyConsistent/SequentiallyConsistent/g
...
llvm-svn: 139481
2011-09-11 15:50:05 +00:00
Nick Lewycky
bdf62403d9
Fix verb tense agreement.
...
llvm-svn: 139480
2011-09-11 15:30:08 +00:00
Devang Patel
24a674bfc7
Update docs to reflect recent addition of new CompileUnit elements.
...
llvm-svn: 139374
2011-09-09 17:07:15 +00:00
Duncan Sands
a098436b32
Split the init.trampoline intrinsic, which currently combines GCC's
...
init.trampoline and adjust.trampoline intrinsics, into two intrinsics
like in GCC. While having one combined intrinsic is tempting, it is
not natural because typically the trampoline initialization needs to
be done in one function, and the result of adjust trampoline is needed
in a different (nested) function. To get around this llvm-gcc hacks the
nested function lowering code to insert an additional parent variable
holding the adjust.trampoline result that can be accessed from the child
function. Dragonegg doesn't have the luxury of tweaking GCC code, so it
stored the result of adjust.trampoline in the memory GCC set aside for
the trampoline itself (this is always available in the child function),
and set up some new memory (using an alloca) to hold the trampoline.
Unfortunately this breaks Go which allocates trampoline memory on the
heap and wants to use it even after the parent has exited (!). Rather
than doing even more hacks to get Go working, it seemed best to just use
two intrinsics like in GCC. Patch mostly by Sanjoy Das.
llvm-svn: 139140
2011-09-06 13:37:06 +00:00
Chandler Carruth
ceb4e6408a
Update the CMake documentation to the correct variables.
...
Patch by arrowdodger!
llvm-svn: 139106
2011-09-04 23:24:13 +00:00
Rafael Espindola
a45c20b049
Remove the old tail duplication pass. It is not used and is unable to update
...
ssa, so it has to be run really early in the pipeline. Any replacement
should probably use the SSAUpdater.
llvm-svn: 138841
2011-08-30 23:03:45 +00:00
Rafael Espindola
f3458e5594
Preliminary documentation in docs/SegmentedStacks.html.
...
llvm-svn: 138823
2011-08-30 20:25:49 +00:00
Tobias Grosser
e8f2009f27
Update docs: Bugpoint understands -O[123]
...
Eli added this in revision 132695.
llvm-svn: 138805
2011-08-30 18:26:11 +00:00
Eli Friedman
0cb3b56de5
Some minor updates to atomic acquire/release docs in LangRef.
...
llvm-svn: 138472
2011-08-24 20:28:39 +00:00
Rafael Espindola
f9a688176f
Fix an example in the documentation.
...
Patch by Sanjoy Das!
llvm-svn: 138346
2011-08-23 18:26:56 +00:00
NAKAMURA Takumi
2b462b54b9
docs/ReleaseNotes.html: Mention that Windows 2000 will not be supported any more.
...
llvm-svn: 138297
2011-08-22 23:22:05 +00:00
Eli Friedman
95f69a42d2
Some minor wording updates and cross-linking for atomic docs. Explicitly note that we don't try to portably define what volatile in LLVM IR means.
...
llvm-svn: 138274
2011-08-22 21:35:27 +00:00
Devang Patel
59e27c5f12
Do not use named md nodes to track variables that are completely optimized. This does not scale while doing LTO with debug info. New approach is to include list of variables in the subprogram info directly.
...
llvm-svn: 138145
2011-08-19 23:28:12 +00:00
John Criswell
f0d536a445
Fixed some punctuation. Sentences can be combined with semi-colons but not
...
commas.
llvm-svn: 138043
2011-08-19 16:57:55 +00:00
Devang Patel
eb1bb4e419
Until now all debug info MDNodes referred to a root MDNode, a compile unit. This simplified handling of these needs in dwarf writer. However, one side effect of this is that during link time optimization all these MDNodes are _not_ uniqued. In other words there will be N number of MDNodes describing "int", "char" and all other types, which would suddenly grow when each object file starts using libraries like STL.
...
MDNodes graph structure such that compiler unit keeps track of important MDNodes and update dwarf writer to process mdnodes top-down instead of bottom up.
llvm-svn: 137778
2011-08-16 22:09:43 +00:00
Devang Patel
2b8acaf4f3
Add a finalize() hook, that'll let DIBuilder construct compile unit lazily.
...
llvm-svn: 137673
2011-08-15 23:00:00 +00:00
Eli Friedman
d8874dc1d6
Fix the getelementptr description so it is extremely clear that array indices passed to getelementptr are signed.
...
llvm-svn: 137538
2011-08-12 23:37:55 +00:00
Eli Friedman
02e737b08e
Move "atomic" and "volatile" designations on instructions after the opcode
...
of the instruction.
Note that this change affects the existing non-atomic load and store
instructions; the parser now accepts both forms, and the change is noted
in the release notes.
llvm-svn: 137527
2011-08-12 22:50:01 +00:00
Eli Friedman
c13f05c978
Some reorganization of atomic docs. Added explicit section for NonAtomic. Added example for illegal non-atomic operation.
...
llvm-svn: 137520
2011-08-12 21:50:54 +00:00
Bill Wendling
fae1475823
Initial commit of the 'landingpad' instruction.
...
This implements the 'landingpad' instruction. It's used to indicate that a basic
block is a landing pad. There are several restrictions on its use (see
LangRef.html for more detail). These restrictions allow the exception handling
code to gather the information it needs in a much more sane way.
This patch has the definition, implementation, C interface, parsing, and bitcode
support in it.
llvm-svn: 137501
2011-08-12 20:24:12 +00:00
Chris Lattner
30e697ebaf
apparently variable naming conventions never got added, document the
...
prevailing convention. Thanks to Dave Zarzycki for the patch.
llvm-svn: 137497
2011-08-12 19:49:16 +00:00
Chris Lattner
2c945b3d88
minor typo
...
llvm-svn: 137496
2011-08-12 19:48:19 +00:00
Chris Lattner
3253173c34
fix one reference that slipped through, thanks Eli
...
llvm-svn: 137488
2011-08-12 18:12:40 +00:00
Chris Lattner
190552d3e0
add new accessors to reflect new terminology in struct types.
...
llvm-svn: 137468
2011-08-12 17:31:02 +00:00
NAKAMURA Takumi
5dd4132ab8
docs/GettingStarted.html: [Git] Add instructions how to generate patchset with Git.
...
llvm-svn: 137444
2011-08-12 07:48:06 +00:00
NAKAMURA Takumi
d92a5fe2fb
docs/GettingStarted.html: [Git] Mention branch.master.rebase for the tracking branch.
...
Thanks to Jeff Yasskin to reword.
llvm-svn: 137443
2011-08-12 07:48:01 +00:00
NAKAMURA Takumi
d9b1c6ecd0
docs/GettingStarted.html: [Git] Split the subsubsection for committer's section.
...
llvm-svn: 137442
2011-08-12 07:47:55 +00:00
NAKAMURA Takumi
0300d88af5
docs: Update HTML markup(s).
...
llvm-svn: 137433
2011-08-12 06:17:17 +00:00
NAKAMURA Takumi
8e01926b24
docs/llvm.css: Introduce <blockquote><pre>. It may be used as blockquoted "doc_code".
...
llvm-svn: 137432
2011-08-12 06:17:11 +00:00
Eli Friedman
4826b7f13a
Misc atomic doc tweaks; reordering operations across Acquire/Release can be beneficial.
...
llvm-svn: 137425
2011-08-12 03:38:32 +00:00
Eli Friedman
c67b9d3879
Fix up this paragraph (including a nasty typo).
...
llvm-svn: 137408
2011-08-12 01:26:06 +00:00
Andrew Trick
7bab70a7a5
Clarify the definition of SequentiallyConsistent operations.
...
llvm-svn: 137403
2011-08-12 00:36:38 +00:00
Eli Friedman
1696033373
Fix mismatched tag.
...
llvm-svn: 137388
2011-08-11 23:48:52 +00:00
Eli Friedman
7b8cc7e938
Revision to Atomics guide, per Chris's comments.
...
llvm-svn: 137386
2011-08-11 23:44:25 +00:00
Justin Holewinski
6c6a7fd692
PTX: Add basic documentation to CodeGenerator.html
...
llvm-svn: 137315
2011-08-11 17:34:16 +00:00
Eli Friedman
224fe0d4cb
Changes per Jeffrey's comments.
...
llvm-svn: 137243
2011-08-10 20:17:43 +00:00
Eli Friedman
753625397b
Fix minor typo.
...
llvm-svn: 137177
2011-08-09 23:26:12 +00:00
Eli Friedman
59b66883ea
Representation of 'atomic load' and 'atomic store' in IR.
...
llvm-svn: 137170
2011-08-09 23:02:53 +00:00
Eli Friedman
84cd7927b9
First draft of the practical guide to atomics.
...
This is mostly descriptive of the intended state once atomic load and store have landed.
llvm-svn: 137145
2011-08-09 21:07:10 +00:00
Bill Wendling
49bfb12c46
Clean up the grammar for the landingpad instruction.
...
llvm-svn: 137042
2011-08-08 08:06:05 +00:00
Bill Wendling
a503fc0494
Fix typo found by John.
...
llvm-svn: 137040
2011-08-08 07:58:58 +00:00
Jay Foad
2755e07e1e
Reword.
...
llvm-svn: 136866
2011-08-04 10:43:43 +00:00
Bill Wendling
2d3138c112
Remove the LowerSetJmp pass. It wasn't used effectively by any of the targets.
...
This is some of my original LLVM code. *wipes tear*
llvm-svn: 136821
2011-08-03 22:18:20 +00:00
Bill Wendling
c5a136103b
Go back to the old definition. It's not clear that a 'resume' can be 'outlined' from the function with the landing pad for all platforms.
...
llvm-svn: 136799
2011-08-03 18:37:32 +00:00
Bill Wendling
0524b8d1f4
Explain how clauses are applied.
...
llvm-svn: 136790
2011-08-03 17:17:06 +00:00
Bill Wendling
bbcb7cde34
Add the documentation for the 'landingpad' instruction. Improve the 'invoke'
...
instruction's documentation to reference the landingpad and resume instructions.
llvm-svn: 136729
2011-08-02 21:52:38 +00:00
Chris Lattner
d3d65ab791
no need to count the terminators.
...
llvm-svn: 136718
2011-08-02 20:29:13 +00:00
Bill Wendling
6bc7caa334
Duncan's english is better than mine. :-)
...
llvm-svn: 136684
2011-08-02 06:39:13 +00:00
Bill Wendling
46ffaa95bd
Remove the LLVMBuildUnwind C API function.
...
The 'unwind' function is going away with the new EH rewrite. This is step 0 in
keeping front-ends from using it.
llvm-svn: 136683
2011-08-02 06:20:17 +00:00
John McCall
c26ea5a51a
I am the code owner for Clang's IR generation; this has been true
...
for awhile, but it's good to make this official.
Just to be clear, Doug and Ted "elected" me to this position.
Might as well add myself to the credits list while I'm at it.
llvm-svn: 136673
2011-08-02 01:38:19 +00:00
Eli Friedman
4bc9f3c174
Minor wording tweak for memory model.
...
llvm-svn: 136668
2011-08-02 01:15:34 +00:00
Roman Divacky
2fbb48ae20
Fix a typo.
...
llvm-svn: 136646
2011-08-01 20:38:27 +00:00
Bill Wendling
ae8b5ea838
Fix some validation errors.
...
llvm-svn: 136591
2011-07-31 06:47:33 +00:00
Bill Wendling
537603b35d
Fix some validation errors.
...
llvm-svn: 136590
2011-07-31 06:45:03 +00:00
Bill Wendling
f891bf8b30
Add the 'resume' instruction for the new EH rewrite.
...
This adds the 'resume' instruction class, IR parsing, and bitcode reading and
writing. The 'resume' instruction resumes propagation of an existing (in-flight)
exception whose unwinding was interrupted with a 'landingpad' instruction (to be
added later).
llvm-svn: 136589
2011-07-31 06:30:59 +00:00
Bill Wendling
ad088e6724
Revert r136253, r136263, r136269, r136313, r136325, r136326, r136329, r136338,
...
r136339, r136341, r136369, r136387, r136392, r136396, r136429, r136430, r136444,
r136445, r136446, r136253 pending review.
llvm-svn: 136556
2011-07-30 05:42:50 +00:00
Eli Friedman
c9a551ebed
LangRef and basic memory-representation/reading/writing for 'cmpxchg' and
...
'atomicrmw' instructions, which allow representing all the current atomic
rmw intrinsics.
The allowed operands for these instructions are heavily restricted at the
moment; we can probably loosen it a bit, but supporting general
first-class types (where it makes sense) might get a bit complicated,
given how SelectionDAG works.
As an initial cut, these operations do not support specifying an alignment,
but it would be possible to add if we think it's useful. Specifying an
alignment lower than the natural alignment would be essentially
impossible to support on anything other than x86, but specifying a greater
alignment would be possible. I can't think of any useful optimizations which
would use that information, but maybe someone else has ideas.
Optimizer/codegen support coming soon.
llvm-svn: 136404
2011-07-28 21:48:00 +00:00
Bill Wendling
6c923bb8d9
Merge the contents from exception-handling-rewrite to the mainline.
...
This adds the new instructions 'landingpad' and 'resume'.
llvm-svn: 136253
2011-07-27 20:18:04 +00:00
Devang Patel
ac0a1f6146
Update document listing DIVariable elements to reflect recent changes.
...
llvm-svn: 136228
2011-07-27 18:14:50 +00:00
Bill Wendling
f6a91cf41b
Fix a typo.
...
llvm-svn: 136133
2011-07-26 20:42:28 +00:00
Andrew Trick
e69a19569b
Updating stale documentation on regalloc modes.
...
llvm-svn: 136112
2011-07-26 18:31:49 +00:00
Bill Wendling
16b867416f
Clean up the HTML here a bit.
...
llvm-svn: 136074
2011-07-26 10:41:15 +00:00
Bill Wendling
dd7805a24d
Describe the reasoning for compact unwind in better terms. Thanks to Nick Kledzik for the description.
...
llvm-svn: 136064
2011-07-26 07:58:09 +00:00
Eli Friedman
fee02c6c13
Initial implementation of 'fence' instruction, the new C++0x-style replacement for llvm.memory.barrier.
...
This is just a LangRef entry and reading/writing/memory representation; optimizer+codegen support coming soon.
llvm-svn: 136009
2011-07-25 23:16:38 +00:00
Nick Lewycky
f6e3711674
80 columns.
...
llvm-svn: 135972
2011-07-25 21:13:23 +00:00
Bill Wendling
e2225058ac
Fix some typos.
...
llvm-svn: 135956
2011-07-25 20:25:03 +00:00
Bill Wendling
c708441e3f
An initial description of the compact unwind encoding.
...
llvm-svn: 135955
2011-07-25 20:19:48 +00:00
Rafael Espindola
163d675e72
Add uwtable to the langref.
...
llvm-svn: 135913
2011-07-25 15:27:59 +00:00
Jay Foad
d1b7849d49
Convert GetElementPtrInst to use ArrayRef.
...
llvm-svn: 135904
2011-07-25 09:48:08 +00:00
Chris Lattner
2a843827a2
clarify that opaque is actually a struct type, PR10430
...
llvm-svn: 135861
2011-07-23 19:59:08 +00:00
Chris Lattner
57132e88b7
how about that, StringRef doesn't allow any mutation, thanks to
...
Frits for straightening me out.
llvm-svn: 135856
2011-07-23 17:18:57 +00:00
Chris Lattner
2e3b0769da
add section to ToC
...
llvm-svn: 135811
2011-07-22 21:36:29 +00:00
Chris Lattner
3dbcd8eca7
write the long-overdue strings section of the data structure guide.
...
llvm-svn: 135809
2011-07-22 21:34:12 +00:00
Chris Lattner
355f4bb960
move the section for string-like containers to follow the section for sequential containers.
...
llvm-svn: 135799
2011-07-22 20:46:49 +00:00
Jay Foad
040dd82f44
Convert IRBuilder::CreateGEP and IRBuilder::CreateInBoundsGEP to use
...
ArrayRef.
llvm-svn: 135761
2011-07-22 08:16:57 +00:00
Eli Friedman
f12e4e914b
Some LangRef tweaks, per Dan's comments.
...
llvm-svn: 135744
2011-07-22 03:04:45 +00:00
Jay Foad
857a48a8d7
Sort case-insensitively.
...
llvm-svn: 135674
2011-07-21 14:42:51 +00:00
Jay Foad
ed8db7d9df
Convert ConstantExpr::getGetElementPtr and
...
ConstantExpr::getInBoundsGetElementPtr to use ArrayRef.
llvm-svn: 135673
2011-07-21 14:31:17 +00:00
NAKAMURA Takumi
72c4af5d66
docs/GettingStarted.html: Tweak style.
...
llvm-svn: 135637
2011-07-20 23:37:51 +00:00
NAKAMURA Takumi
5d2a7328ed
docs/GettingStarted.html: Fix a typo and tweak a command line.
...
llvm-svn: 135632
2011-07-20 22:58:28 +00:00
Eli Friedman
35b54aa148
Commit LangRef changes for LLVM concurrency model. Start of supporting C++0x memory model and atomics. See thread on llvmdev titled "Reviving the new LLVM concurrency model".
...
llvm-svn: 135624
2011-07-20 21:35:53 +00:00
Bob Wilson
088df09f27
Revert "Update docs to reflect r135457."
...
This reverts commit ba034c0a2e71303c7cf3f43ca8e69dc8436b32e2.
llvm-svn: 135485
2011-07-19 16:31:58 +00:00
Jay Foad
b992a635fb
Convert SimplifyGEPInst to use ArrayRef.
...
llvm-svn: 135482
2011-07-19 15:07:52 +00:00
Jay Foad
528bedaf5d
Convert gep_type_begin and gep_type_end to use ArrayRef.
...
llvm-svn: 135481
2011-07-19 14:42:50 +00:00
Jay Foad
bf904773bb
Convert TargetData::getIndexedOffset to use ArrayRef.
...
llvm-svn: 135478
2011-07-19 14:01:37 +00:00
Jay Foad
f4b14a2b0d
Use ArrayRef in ConstantFoldInstOperands and ConstantFoldCall.
...
llvm-svn: 135477
2011-07-19 13:32:40 +00:00
Devang Patel
7ca23dde4e
Update docs to reflect r135457.
...
llvm-svn: 135458
2011-07-19 01:04:39 +00:00
Jeffrey Yasskin
532114e8a4
Document how to maintain a git-svn clone of the LLVM git repositories.
...
llvm-svn: 135453
2011-07-19 00:20:54 +00:00
Chris Lattner
14b3b4df6f
document this api change.
...
llvm-svn: 135376
2011-07-18 04:56:02 +00:00
Chris Lattner
a8680dced2
introduce a new TinyPtrVector class.
...
llvm-svn: 135365
2011-07-18 01:40:02 +00:00
Eli Friedman
063fd270ed
A couple of minor fixes to the OCaml tutorial. PR10025 and PR10316. Patches by Damien Schoof!
...
llvm-svn: 135293
2011-07-15 20:03:30 +00:00
Jay Foad
5bd375a6cc
Convert CallInst and InvokeInst APIs to use ArrayRef.
...
llvm-svn: 135265
2011-07-15 08:37:34 +00:00
Jay Foad
e03f15ad2b
Mention all API changes I've made since 2.9 was branched.
...
llvm-svn: 135142
2011-07-14 09:19:05 +00:00
Tobias Grosser
585b36a1cb
VectorType is also a SequentialType
...
llvm-svn: 134979
2011-07-12 11:37:02 +00:00
Chris Lattner
b1ed91f397
Land the long talked about "type system rewrite" patch. This
...
patch brings numerous advantages to LLVM. One way to look at it
is through diffstat:
109 files changed, 3005 insertions(+), 5906 deletions(-)
Removing almost 3K lines of code is a good thing. Other advantages
include:
1. Value::getType() is a simple load that can be CSE'd, not a mutating
union-find operation.
2. Types a uniqued and never move once created, defining away PATypeHolder.
3. Structs can be "named" now, and their name is part of the identity that
uniques them. This means that the compiler doesn't merge them structurally
which makes the IR much less confusing.
4. Now that there is no way to get a cycle in a type graph without a named
struct type, "upreferences" go away.
5. Type refinement is completely gone, which should make LTO much MUCH faster
in some common cases with C++ code.
6. Types are now generally immutable, so we can use "Type *" instead
"const Type *" everywhere.
Downsides of this patch are that it removes some functions from the C API,
so people using those will have to upgrade to (not yet added) new API.
"LLVM 3.0" is the right time to do this.
There are still some cleanups pending after this, this patch is large enough
as-is.
llvm-svn: 134829
2011-07-09 17:41:24 +00:00
Cameron Zwarich
a32fd210c1
Use add instead of accumulate.
...
llvm-svn: 134752
2011-07-08 22:13:55 +00:00
Cameron Zwarich
f03fa189ca
Add an intrinsic and codegen support for fused multiply-accumulate. The intent
...
is to use this for architectures that have a native FMA instruction.
llvm-svn: 134742
2011-07-08 21:39:21 +00:00
Jakub Staszak
dce4dffc84
Add documenation about "branch_weight" metadata and __builtin_expect instruction
...
llvm-svn: 134517
2011-07-06 18:31:02 +00:00
Owen Anderson
2f37bdc392
Generalize @llvm.ctlz, @llvm.cttz, and @llvm.ctpop to work on vectors of integers, and fix the one optimization pass that I'm aware of that needs updating for this. At least one current target, ARM NEON, can implement these operations on vectors directly.
...
llvm-svn: 134265
2011-07-01 21:52:38 +00:00
Duncan Sands
23fb54ed15
The enum was moved to ISDOpcodes.h.
...
llvm-svn: 134134
2011-06-30 06:37:07 +00:00
Evan Cheng
0ac49c6eab
Add missing operand. rdar://9694169
...
llvm-svn: 134078
2011-06-29 17:14:00 +00:00
Dan Gohman
8bd11f1834
Document nonlazybind.
...
llvm-svn: 133160
2011-06-16 16:03:13 +00:00
Jakob Stoklund Olesen
99f35eab45
Use set operations instead of plain lists to enumerate register classes.
...
This simplifies many of the target description files since it is common
for register classes to be related or contain sequences of numbered
registers.
I have verified that this doesn't change the files generated by TableGen
for ARM and X86. It alters the allocation order of MBlaze GPR and Mips
FGR32 registers, but I believe the change is benign.
llvm-svn: 133105
2011-06-15 23:28:14 +00:00
Argyrios Kyrtzidis
0c5c1cb1b0
Document ADT/PackedVector.h in "Programmer's Manual" doc.
...
llvm-svn: 133077
2011-06-15 19:56:01 +00:00
Bruno Cardoso Lopes
dc9ff3a4b1
Add one more argument to the prefetch intrinsic to indicate whether it's a data
...
or instruction cache access. Update the targets to match it and also teach
autoupgrade.
llvm-svn: 132976
2011-06-14 04:58:37 +00:00
Chris Lattner
ed58a95c33
mention graph vis isn't available in Release builds.
...
llvm-svn: 132916
2011-06-13 15:59:35 +00:00
Chad Rosier
ab5ac96364
Typo.
...
llvm-svn: 132730
2011-06-07 20:03:13 +00:00
Andrew Trick
c71224e29f
Corrections and additional information for "Creating and LLVM Project"
...
documentation. This should now reflect the current state of LLVM Makefiles.
llvm-svn: 132527
2011-06-03 02:20:48 +00:00
Andrew Trick
621129f07a
whitespace
...
llvm-svn: 132526
2011-06-03 02:16:53 +00:00
Devang Patel
1d81ea81cd
Fix html formatting.
...
llvm-svn: 132345
2011-05-31 18:06:14 +00:00
Devang Patel
5c26a85d1d
Clarify documentation and remove guarantees that are not fulfilled.
...
llvm-svn: 132344
2011-05-31 17:45:27 +00:00
Chris Lattner
0ec0649bc2
replace the intro tutorial from 2004 with a more recent work.
...
llvm-svn: 132310
2011-05-30 03:36:58 +00:00
John McCall
046c47e970
Implement and document the llvm.eh.resume intrinsic, which is
...
transformed by the inliner into a branch to the enclosing landing pad
(when inlined through an invoke). If not so optimized, it is lowered
DWARF EH preparation into a call to _Unwind_Resume (or _Unwind_SjLj_Resume
as appropriate). Its chief advantage is that it takes both the
exception value and the selector value as arguments, meaning that there
is zero effort in recovering these; however, the frontend is required
to pass these down, which is not actually particularly difficult.
Also document the behavior of landing pads a bit better, and make it
clearer that it's okay that personality functions don't always land at
landing pads. This is just a fact of life. Don't write optimizations that
rely on pushing things over an unwind edge.
llvm-svn: 132253
2011-05-28 07:45:59 +00:00
Chad Rosier
06da55e7d0
Clean out the 2.9 Release Notes. Mostly limited to What's New in LLVM
...
and enhancements in sub-project status updates.
llvm-svn: 132227
2011-05-27 22:50:46 +00:00
Chad Rosier
d1db4f8b9b
Add change of crc32 intrinsic to release notes
...
llvm-svn: 132212
2011-05-27 20:13:10 +00:00
Dan Gohman
e635c529a0
Fix copy+pastos.
...
llvm-svn: 132168
2011-05-27 00:36:31 +00:00
Dan Gohman
4a70bfe3c0
Update documentation: -basicaa does chaining these days.
...
llvm-svn: 132010
2011-05-24 22:01:32 +00:00
Dan Gohman
911fa9084c
Document llvm.exp and llvm.pow.
...
llvm-svn: 131921
2011-05-23 21:13:03 +00:00
Chris Lattner
f98eadee17
document thiscall, PR9101
...
llvm-svn: 131873
2011-05-22 22:28:47 +00:00
Chris Lattner
c2e8540216
insertvalue takes a variable number of arguments, document this, fixing PR9935.
...
llvm-svn: 131850
2011-05-22 07:18:08 +00:00
Chad Rosier
38fb5bbacc
Correct typos in TestingGuide.html
...
llvm-svn: 131546
2011-05-18 18:07:16 +00:00
Nick Lewycky
9c876bf937
Fix errors in this llvm ir example.
...
llvm-svn: 131416
2011-05-16 19:29:30 +00:00
Akira Hatanaka
cbb7fa68ed
1. Keep lines in 80 columns.
...
2. Remove unused function.
3. Correct indentation.
llvm-svn: 131028
2011-05-06 22:11:29 +00:00
Bill Wendling
260c4a9466
Document the automatic alias printing of InstAliases.
...
llvm-svn: 130889
2011-05-04 23:40:14 +00:00
Devang Patel
09fa69e151
Use llvm.dbg.cu named metadata to collect compile units.
...
llvm-svn: 130756
2011-05-03 16:18:28 +00:00
Oscar Fuentes
3cbc9bece8
Update instructions: LLVM.cmake is now LLVMConfig.cmake
...
llvm-svn: 130631
2011-05-01 02:12:20 +00:00
NAKAMURA Takumi
2277ab2ae6
docs/doxygen.css: Tweak padding on memdoc.
...
llvm-svn: 130493
2011-04-29 09:59:12 +00:00
NAKAMURA Takumi
8513d4236c
docs/doxygen.css: Tweak style for readability.
...
A few styles are brought from http://llvm.org/test-doxygen/api/api.css
llvm-svn: 130333
2011-04-27 21:53:35 +00:00
Mikhail Glushenkov
06655d4a61
Regenerate.
...
llvm-svn: 130091
2011-04-24 14:17:37 +00:00
Andrew Trick
3260c9df4e
Comment edit.
...
llvm-svn: 130047
2011-04-23 03:27:19 +00:00
NAKAMURA Takumi
aa3d6242cf
docs: Introduce cascading style <div> and <p> continued on <h[2-5]>.
...
<h2>Section Example</h2>
<div> <!-- h2+div is applied -->
<p>Section preamble.</p>
<h3>Subsection Example</h3>
<p> <!-- h3+p is applied -->
Subsection body
</p>
<!-- End of section body -->
</div>
FIXME: Care H5 better.
llvm-svn: 130040
2011-04-23 00:30:22 +00:00
Devang Patel
1d6bbd41aa
Let front-end tie subprogram declaration with subprogram definition directly.
...
llvm-svn: 130028
2011-04-22 23:10:17 +00:00
NAKAMURA Takumi
3ad2828811
docs/llvm.css: Introduce cascading style <div> and <p> continued on <h[2-5]>. For now, it is applied in AliasAnalysis.html and ReleaseNotes.html.
...
<h2>Section Example</h2>
<div> <!-- h2+div is applied -->
<p>Section preamble.</p>
<h3>Subsection Example</h3>
<p> <!-- h3+p is applied -->
Subsection body
</p>
<!-- End of section body -->
</div>
llvm-svn: 129901
2011-04-21 01:52:00 +00:00
NAKAMURA Takumi
590ba6195b
docs/Passes.html: Fix a garbage.
...
llvm-svn: 129900
2011-04-21 01:32:19 +00:00
NAKAMURA Takumi
fc8d930f6e
docs: Use <Hn> as Heading elements instead of <DIV class="doc_foo">.
...
H1 ... doc_title
H2 ... doc_section
H3 ... doc_subsection
H4 ... doc_subsubsection
llvm-svn: 129736
2011-04-18 23:59:50 +00:00
NAKAMURA Takumi
6483513a6d
docs: Redefine Heading elements as below;
...
H1 ... Title (and might be Chapter in future)
H2 ... Section
H3 ... Subsection
H4 ... Sub-subsection
llvm-svn: 129683
2011-04-18 01:17:51 +00:00
Devang Patel
514b4006c2
Introduce support to encode Objective-C property information in debugging information generated for an interface.
...
llvm-svn: 129624
2011-04-16 00:11:51 +00:00
Douglas Gregor
b92fbb7036
Fix some broken links, from Matthieu Monrocq
...
llvm-svn: 129609
2011-04-15 21:21:31 +00:00
Chris Lattner
0ab5e2cded
Fix a ton of comment typos found by codespell. Patch by
...
Luis Felipe Strano Moraes!
llvm-svn: 129558
2011-04-15 05:18:47 +00:00
Andrew Trick
d175c98d41
Documented bugpoint --compile-custom --compile-command.
...
I've used it a few times to reduce unit tests and gotten one request for information on it. It's not easy to use correctly because bugpoint doesn't tell you when you're doing it wrong.
llvm-svn: 129507
2011-04-14 05:05:36 +00:00
Jay Foad
fdb9f6a3ca
Fix typo.
...
llvm-svn: 129437
2011-04-13 13:03:56 +00:00
Dan Gohman
c8454ee995
Fix a hole in the definition of "dependence" used by trap values. Trap
...
values are also transmitted through branches which cause side effects to
be skipped altogether.
llvm-svn: 129404
2011-04-12 23:05:59 +00:00
Oscar Fuentes
23fe31cc8d
Document how to build a LLVM pass with CMake out of source.
...
Patch by arrowdodger!
llvm-svn: 129381
2011-04-12 19:40:35 +00:00
NAKAMURA Takumi
62920834fa
docs/CommandGuide/index.html: Fix CSS url to relative.
...
llvm-svn: 129268
2011-04-11 03:27:38 +00:00
NAKAMURA Takumi
2a7024fa6c
docs/CommandLine.html: "ize.
...
llvm-svn: 129267
2011-04-11 03:27:31 +00:00
Oscar Fuentes
dbe99ba37d
CMake: support for using LLVM from client projects with find_package.
...
Patch by arrowdodger!
llvm-svn: 129247
2011-04-10 16:17:49 +00:00
Oscar Fuentes
fe40844fb6
Reword instructions for running tests on Visual Studio.
...
Suggested by Maël Hörz.
llvm-svn: 129237
2011-04-10 01:41:55 +00:00
NAKAMURA Takumi
6bd36d56e4
docs/*.html: Make W3C HTML 4.01 Strict more compliant.
...
FIXME: The logo handling in ReleaseNotes.html
llvm-svn: 129208
2011-04-09 09:51:57 +00:00
NAKAMURA Takumi
e8a8fd658f
docs/tutorial/OCamlLangImpl7.html: Fix a href to missing Chapter 8.
...
llvm-svn: 129183
2011-04-09 02:14:41 +00:00
NAKAMURA Takumi
b10df26061
docs: Fix some in-package URLs.
...
(eg. trim http://llvm.org/docs/foo -> foo)
llvm-svn: 129182
2011-04-09 02:13:48 +00:00
NAKAMURA Takumi
ca46f5a3b5
docs: Canonicalize URLs.
...
llvm-svn: 129181
2011-04-09 02:13:37 +00:00
Devang Patel
778947c203
Simplify array bound checks and clarify comments. One element array can have same non-zero number as lower bound as well as upper bound.
...
llvm-svn: 129170
2011-04-08 23:39:38 +00:00
Devang Patel
e39647951b
Do not emit DW_AT_upper_bound and DW_AT_lower_bound for unbouded array.
...
If lower bound is more then upper bound then consider it is an unbounded array.
An array is unbounded if non-zero lower bound is same as upper bound.
If lower bound and upper bound are zero than array has one element.
llvm-svn: 129156
2011-04-08 21:55:10 +00:00
Bill Wendling
c5d44ae3f4
Missing closed tag.
...
llvm-svn: 129155
2011-04-08 21:43:08 +00:00
Bruno Cardoso Lopes
a21d470870
Also add the late notes for Mips in the current release note
...
llvm-svn: 129122
2011-04-08 03:06:22 +00:00
Jay Foad
65bef04ea7
Fix a bit of nonsense.
...
llvm-svn: 129073
2011-04-07 12:41:09 +00:00
Chris Lattner
5ddaab1789
add faust too
...
llvm-svn: 129053
2011-04-07 03:09:21 +00:00
Chris Lattner
caefe9346d
add a few late stragglers.
...
llvm-svn: 129052
2011-04-07 03:08:22 +00:00
Roman Divacky
620f6967e0
Fix a typo.
...
llvm-svn: 129019
2011-04-06 19:12:21 +00:00
Chris Lattner
958d299fca
add rubinius
...
llvm-svn: 129006
2011-04-06 16:14:25 +00:00
Duncan Sands
ce5d9aedb9
Fix some typos. Minor tweaks to how some things were expressed.
...
llvm-svn: 128997
2011-04-06 08:07:40 +00:00
Jay Foad
1a7cc44157
Trivial typo fixes.
...
llvm-svn: 128996
2011-04-06 07:55:30 +00:00
Chris Lattner
17c170a8e0
Finish up the first draft of the release notes.
...
improvements are welcome, please commit any changes directly to SVN.
llvm-svn: 128992
2011-04-06 06:29:50 +00:00
Chris Lattner
23e16b59d2
continue writing.
...
llvm-svn: 128990
2011-04-06 05:50:04 +00:00
Chris Lattner
ae6a89a890
add the external users that emailed me.
...
llvm-svn: 128974
2011-04-06 01:13:49 +00:00
Chris Lattner
14a3333cb3
some libc++ notes.
...
llvm-svn: 128970
2011-04-06 00:59:18 +00:00
Chris Lattner
9d5b3712de
some edits.
...
llvm-svn: 128969
2011-04-06 00:56:12 +00:00
Chris Lattner
c3a2c9817c
distribute content out to the appropriate sections
...
llvm-svn: 128968
2011-04-06 00:45:11 +00:00
Chris Lattner
ce6b047a10
finished my pass through all the 2.9 commits, now to make this intelligible
...
llvm-svn: 128955
2011-04-05 23:22:33 +00:00
Chris Lattner
a76507fdc3
mention llvm::ArrayRef, which should be use much more pervasively than
...
it already is.
llvm-svn: 128954
2011-04-05 23:18:20 +00:00
Devang Patel
9f738849ab
Add support to encode function's template parameters.
...
llvm-svn: 128947
2011-04-05 22:52:06 +00:00
NAKAMURA Takumi
530d739097
docs/ReleaseNotes.html: Please use proper *Heading* elements instead of classified div.
...
It would be better to browse without stylesheet. (eg. on ViewVC)
llvm-svn: 128942
2011-04-05 21:55:14 +00:00
Chris Lattner
706754c1f2
remove graphprinter support for domfrontier.
...
llvm-svn: 128938
2011-04-05 21:43:56 +00:00
Chris Lattner
269ef9f6f0
only 7 more weeks to go.
...
llvm-svn: 128933
2011-04-05 21:37:08 +00:00
Jakob Stoklund Olesen
04123d40cd
Document llvm/ADT/IntEqClasses.h in ProgrammersManual.html
...
llvm-svn: 128927
2011-04-05 20:56:08 +00:00
Chris Lattner
9ee0b01617
more notes to self.
...
llvm-svn: 128902
2011-04-05 18:38:45 +00:00
NAKAMURA Takumi
8d89b8e684
docs/ReleaseNotes.html: Add a few notes to MCCOFF and x64. FIXME: fixme!
...
llvm-svn: 128882
2011-04-05 08:24:22 +00:00
NAKAMURA Takumi
f8e44c35eb
docs/GettingStarted.html: FIXME: dg, lit, and source tree layout.
...
llvm-svn: 128881
2011-04-05 08:24:15 +00:00
Chris Lattner
fd97b88b2f
add a bunch of notes to myself, this is not intended to be gramatic or
...
make sense to anyone else.
llvm-svn: 128879
2011-04-05 07:19:28 +00:00
Bill Wendling
db62424c3d
Add info on where to get 2.9 final svn sources.
...
llvm-svn: 128860
2011-04-04 23:42:51 +00:00
Duncan Sands
1cd7898dc1
Dragonegg release notes.
...
llvm-svn: 128812
2011-04-04 11:09:08 +00:00
Nick Lewycky
9feca67182
Pick better examples. "fpext float 3.1415 to double" won't parse because 3.1415
...
isn't an exact float. Also "fpext float 1.0 to float" is invalid IR because
it's not performing an extension.
llvm-svn: 128647
2011-03-31 18:20:19 +00:00
Jay Foad
52131344a2
Remove PHINode::reserveOperandSpace(). Instead, add a parameter to
...
PHINode::Create() giving the (known or expected) number of operands.
llvm-svn: 128537
2011-03-30 11:28:46 +00:00
Devang Patel
1c6b681413
Document llvm.dbg.sp, llvm.dbg.gv and llvm.dbg.enum
...
llvm-svn: 128466
2011-03-29 17:27:08 +00:00
NAKAMURA Takumi
10b96cb34b
docs/GettingStarted.html: [PR8850] Add a note for x86_64-w64-mingw32.
...
llvm-svn: 128404
2011-03-28 06:27:12 +00:00
NAKAMURA Takumi
05c00021da
docs/GettingStarted.html: Add blurb "--enable-shared" on cygming.
...
llvm-svn: 128403
2011-03-28 06:27:06 +00:00
Bill Wendling
ce2fccffc2
Remove redundant compression option.
...
llvm-svn: 128267
2011-03-25 06:43:59 +00:00
Chris Lattner
669ce55a42
fix description, PR9542
...
llvm-svn: 128214
2011-03-24 16:13:31 +00:00
Eli Friedman
ecdb00e60d
Update Passes.html, part 3: alphabetize descriptions.
...
llvm-svn: 127948
2011-03-19 05:02:14 +00:00
Eli Friedman
e04761cbcd
Update Passes.html, part 2: cleanup a bit more dead docs, a few more
...
description updates.
llvm-svn: 127947
2011-03-19 04:55:29 +00:00
Eli Friedman
e513e87201
Update Passes.html, part 1: remove passes which were removed from the tree,
...
update short descriptions to match those from the options, alphabetize table
of contents.
llvm-svn: 127946
2011-03-19 04:47:52 +00:00
Rafael Espindola
01fb4b018e
Some release notes.
...
llvm-svn: 127867
2011-03-18 04:07:44 +00:00
Cameron Zwarich
341c36dc8b
Change the signext language in LangRef to closer match zeroext.
...
llvm-svn: 127808
2011-03-17 14:21:58 +00:00
Cameron Zwarich
ac106273d4
The x86-64 ABI says that a bool is only guaranteed to be sign-extended to a byte
...
rather than an int. Thankfully, this only causes LLVM to miss optimizations, not
generate incorrect code.
This just fixes the zext at the return. We still insert an i32 ZextAssert when
reading a function's arguments, but it is followed by a truncate and another i8
ZextAssert so it is not optimized.
llvm-svn: 127766
2011-03-16 22:20:18 +00:00
Chris Lattner
0d364306be
rip out llvm 2.8 release notes to make room for llvm 2.9 notes.
...
llvm-svn: 127399
2011-03-10 07:43:44 +00:00
Devang Patel
e1aa67cff5
Since last couple of days, argument number is encoded using 8 bits from line number field in argument's debug info.
...
llvm-svn: 127250
2011-03-08 16:29:40 +00:00
Devang Patel
fb30b85e7c
Update DILexicalBlock doc to mention new fields.
...
llvm-svn: 127249
2011-03-08 16:25:29 +00:00
Duncan Sands
2769c6e0dc
Clarify that the result of an srem is only guaranteed to have the same sign as the
...
left-hand-side if the result is non-zero.
llvm-svn: 127156
2011-03-07 09:12:24 +00:00
Bill Wendling
4785885feb
Fix tagging name.
...
llvm-svn: 127154
2011-03-07 07:37:12 +00:00
Chris Lattner
cf0eebc6c9
remove another jeff link
...
llvm-svn: 127135
2011-03-06 23:00:33 +00:00
Chris Lattner
35d1f9f983
remove jeff's name (by his request)
...
llvm-svn: 127066
2011-03-05 07:23:02 +00:00
Oscar Fuentes
318c3f1717
Support for parallel compilation (/MP) when using the VS IDE.
...
Patch by Erik Olofsson!
llvm-svn: 126847
2011-03-02 17:47:37 +00:00
Bill Wendling
c0e1067e4d
Small cleanup.
...
llvm-svn: 126821
2011-03-02 02:17:11 +00:00
Bill Wendling
b3294fafc4
Update the documentation on "How to Release LLVM". It lays out a new way of
...
tagging and branching for the release. I will update this more throughout the
2.9 release process.
llvm-svn: 126604
2011-02-28 01:10:44 +00:00
Duncan Sands
508fe2f2c4
Fix typo pointed out in pr9339.
...
llvm-svn: 126573
2011-02-27 13:54:01 +00:00
Nadav Rotem
502f1b943f
Enable support for vector sext and trunc:
...
Limit the folding of any_ext and sext into the load operation to scalars.
Limit the active-bits trunc optimization to scalars.
Document vector trunc and vector sext in LangRef.
Similar to commit 126080 (for enabling zext).
llvm-svn: 126424
2011-02-24 21:01:34 +00:00
Oscar Fuentes
31717d18e9
Remove the link to Projects.html. It is useless for people working on
...
Visual Studio.
llvm-svn: 126083
2011-02-20 15:34:12 +00:00
Nadav Rotem
25f2ac948b
Fix 9267; Add vector zext support.
...
The DAGCombiner folds the zext into complex load instructions. This patch
prevents this optimization on vectors since none of the supported targets
knows how to perform load+vector_zext in one instruction.
llvm-svn: 126080
2011-02-20 12:37:50 +00:00
Nick Lewycky
9d0e8b6e80
Fix typo.
...
llvm-svn: 126065
2011-02-20 02:03:04 +00:00
Nick Lewycky
b302f8dae6
Fix thinko, basic blocks are SESE. The exits may have many edges though.
...
llvm-svn: 125709
2011-02-17 02:19:22 +00:00
Duncan Sands
75b5d27b84
Spelling fix: consequtive -> consecutive.
...
llvm-svn: 125563
2011-02-15 09:23:02 +00:00
Chris Lattner
df01939065
Minor fixes to tutorial, patch by Benjamin Meyer!
...
llvm-svn: 125544
2011-02-15 00:24:32 +00:00
Tobias Grosser
db8a18c788
Adapt docs to '-loopsimplify -> -loop-simplify' change
...
llvm-svn: 125469
2011-02-13 20:57:25 +00:00
Chris Lattner
39b6d87e9f
attempt to capture recent discussion about overflow and inbounds geps.
...
llvm-svn: 125412
2011-02-11 21:50:52 +00:00
Erick Tryzelaar
d5c17bb863
Don't run ocamldoc if it's not installed
...
llvm-svn: 125203
2011-02-09 18:32:04 +00:00
Chris Lattner
f10dfdc77a
fix typo
...
llvm-svn: 125192
2011-02-09 16:44:44 +00:00
NAKAMURA Takumi
f214f50739
Add testing stuff to CMake documents.
...
- Note "GnuWin32".
- Note LLVM_LIT_TOOLS_DIR
- Now we can run tests on VS w/e all tests might pass or not!
llvm-svn: 125177
2011-02-09 04:19:28 +00:00
Chris Lattner
a676c0fc77
implement .ll and .bc support for nsw/nuw on shl and exact on lshr/ashr.
...
Factor some code better.
llvm-svn: 125006
2011-02-07 16:40:21 +00:00
Chris Lattner
35315d065b
enhance vmcore to know that udiv's can be exact, and add a trivial
...
instcombine xform to exercise this.
Nothing forms exact udivs yet though. This is progress on PR8862
llvm-svn: 124992
2011-02-06 21:44:57 +00:00
Devang Patel
7846c1e99b
Update docs to match reality.
...
llvm-svn: 124761
2011-02-03 00:22:17 +00:00
Anton Korobeynikov
3e956af404
Document the LLVM GIT mirror
...
llvm-svn: 124677
2011-02-01 20:08:28 +00:00
Devang Patel
9a8539c4d9
Remove stale references of obsolete @llvm.dbg.variable.
...
llvm-svn: 124664
2011-02-01 17:22:12 +00:00
Nick Lewycky
fea7ddc735
Most browsers eliminate whitespace between anchor tags. Force whitespace with
...
so that the code reads properly.
llvm-svn: 124514
2011-01-29 01:09:53 +00:00
Oscar Fuentes
6495595382
Handles libffi on the CMake build.
...
Patch by arrowdodger!
llvm-svn: 123976
2011-01-21 15:42:54 +00:00
Chris Lattner
92ec3d1bf4
finish a sentence.
...
llvm-svn: 123750
2011-01-18 06:12:10 +00:00
Rafael Espindola
f1ed781aea
Add a clarification about merging constants with and without unnamed_addr.
...
llvm-svn: 123530
2011-01-15 08:20:57 +00:00
Jakob Stoklund Olesen
d3438eb27d
Don't document exactly how virtual registers are represented as integers. Code
...
shouldn't depend directly on that.
Give an example of how to iterate over all virtual registers in a function
without depending on the representation.
llvm-svn: 123099
2011-01-08 23:10:59 +00:00
Rafael Espindola
45e6c195d7
First step in fixing PR8927:
...
Add a unnamed_addr bit to global variables and functions. This will be used
to indicate that the address is not significant and therefore the constant
or function can be merged with others.
If an optimization pass can show that an address is not used, it can set this.
Examples of things that can have this set by the FE are globals created to
hold string literals and C++ constructors.
Adding unnamed_addr to a non-const global should have no effect unless
an optimization can transform that global into a constant.
Aliases are not allowed to have unnamed_addr since I couldn't figure
out any use for it.
llvm-svn: 123063
2011-01-08 16:42:36 +00:00
David Greene
2f7cf7fcb4
Rename lisp-like functions as suggested by Gabor Greif as loooong time
...
ago. This is both easier to learn and easier to read.
llvm-svn: 123001
2011-01-07 17:05:37 +00:00
Owen Anderson
b6e4ff0d85
Stub out a new updating interface to AliasAnalysis, allowing stateful analyses to be informed when
...
a pointer value has potentially become escaping. Implementations can choose to either fall back to
conservative responses for that value, or may recompute their analysis to accomodate the change.
llvm-svn: 122777
2011-01-03 21:38:41 +00:00
Owen Anderson
4423070356
We can count properly.
...
llvm-svn: 122773
2011-01-03 21:08:22 +00:00
David Greene
dc276c315c
Reapply 122341 to fix PR8199 now that clang changes are in.
...
llvm-svn: 122754
2011-01-03 17:30:25 +00:00
Nick Lewycky
80b2e8151e
Further expand what a call graph pass may do.
...
The rationale is that after analyzing a function in the SCC, we may want to
modify it in a way that requires us to update its uses (f.e. to replace the
call with a constant) or its users (f.e. to call it with fewer arguments).
llvm-svn: 122739
2011-01-03 06:16:07 +00:00
Nick Lewycky
00f1b801b1
Permit CallGraphSCCPasses readonly access to the direct callers of the functions
...
in their SCC as they already have with the direct callees.
llvm-svn: 122734
2011-01-03 04:01:44 +00:00
Duncan Sands
7f3a656624
Correct a bunch of mistakes which meant that the example pass didn't
...
even compile, let alone work.
llvm-svn: 122657
2011-01-01 17:37:07 +00:00
Duncan Sands
f5897f8aa0
I was unable to get the instructions to work if LLVM was built
...
using a separate objects directory.
llvm-svn: 122656
2011-01-01 17:28:49 +00:00
Duncan Sands
92ad41f99e
Clarify that the loadable module turns up in the top-level directory,
...
not locally.
llvm-svn: 122655
2011-01-01 17:21:58 +00:00
Erick Tryzelaar
5d556ab160
Add a reference to the OCamlLangImpl8.
...
llvm-svn: 122651
2011-01-01 03:29:25 +00:00
Erick Tryzelaar
619714a65b
Add an OCaml tutorial page 8
...
llvm-svn: 122650
2011-01-01 03:27:43 +00:00
Tobias Grosser
4c8c95b099
Integers are primitive types. Update the documentation to state this
...
This was done for label, void, floating point, x86mmx, metadata,
just not integer.
llvm-svn: 122606
2010-12-28 20:29:31 +00:00
David Greene
be57ab185f
Revert 122341. It breaks some darwin tests.
...
llvm-svn: 122346
2010-12-21 17:25:43 +00:00
David Greene
a93adab324
Fix PR 8199. This patch prepends the build tool dir to LLVM programs
...
being tested. This ensures that we test the tools just built and not
some random tools that might happen to be in the user's PATH. This
makes LLVM testing much more stable and predictable.
llvm-svn: 122341
2010-12-21 16:55:53 +00:00
Bill Wendling
510504a6e8
Grammar corrections and some formatting changes.
...
llvm-svn: 122312
2010-12-21 03:31:05 +00:00
Wesley Peck
671d54d5a2
Update the target feature matrix to reflect some new features in the MBlaze backend.
...
llvm-svn: 122276
2010-12-20 21:54:50 +00:00
Oscar Fuentes
7064035998
New cmake option LLVM_APPEND_VC_REV for controlling when the VC
...
revision id is appended to the LLVM version string. Defaults to
OFF.
Until now the VC revision id was always appended to the revision
string whenever cmake was invoked (either explicitly or implicitly
because a cmake source file changed). This was causing massive
recompilations because config.h are reconfigured with the new contents
of PACKAGE_VERSION.
llvm-svn: 122240
2010-12-20 09:47:13 +00:00
Bruno Cardoso Lopes
8e303e896e
Update the Target Feature Matrix for Mips
...
llvm-svn: 122203
2010-12-19 22:41:43 +00:00
Dan Gohman
e1d8d3a2e4
Fix a typo that Bill spotted.
...
llvm-svn: 121909
2010-12-15 23:09:41 +00:00
Dan Gohman
b3f04f468e
Document some more AliasAnalysis infrastructure limitations.
...
llvm-svn: 121874
2010-12-15 18:45:20 +00:00
Bill Wendling
5d32b70967
Add mention that we support FreeBSD/amd64.
...
llvm-svn: 121832
2010-12-15 01:35:55 +00:00
Jakob Stoklund Olesen
36eab1cee4
Add IntervalMap to the Programmer's Manual.
...
llvm-svn: 121740
2010-12-14 00:55:51 +00:00
Chris Lattner
bd61444cb9
further fixes.
...
llvm-svn: 121657
2010-12-13 00:17:12 +00:00
Chris Lattner
053a025bfe
fix typo
...
llvm-svn: 121620
2010-12-12 02:42:57 +00:00
Dan Gohman
4bd64fa805
Introduce a new PartialAlias response for AliasAnalysis. For most
...
AliasAnalysis consumers, PartialAlias will be treated as MayAlias.
For AliasAnalysis chaining, MayAlias says "procede to the next analysis".
PartialAlias will be used to indicate that the query should terminate,
even though it didn't reach MustAlias or NoAlias.
llvm-svn: 121507
2010-12-10 19:38:58 +00:00
Eric Christopher
775608995c
Use GZIPBIN instead of GZIP. Apparently gzip uses GZIP as an environment
...
variable for args you want to default pass to gzip.
Patch based on one by asau@inbox.ru .
Fixes PR8758.
llvm-svn: 121449
2010-12-10 01:31:51 +00:00
Chris Lattner
02093e1f0b
fix some validation problems
...
llvm-svn: 121444
2010-12-10 00:54:03 +00:00
Chris Lattner
77c8cc8fc9
restructure this for readability, correct the example to follow the public ivar name convention
...
llvm-svn: 121443
2010-12-10 00:52:35 +00:00
Chris Lattner
7365a2838b
add a rule for enums, patch by Zhanyong Wan!
...
llvm-svn: 121430
2010-12-09 23:32:39 +00:00
Bill Wendling
2eeba63215
Fix the prototype for the llvm.eh.selector intrinsic.
...
llvm-svn: 121425
2010-12-09 23:05:48 +00:00
Bill Wendling
7a05f00ade
Fix newlines.
...
llvm-svn: 121233
2010-12-08 02:46:25 +00:00
Frits van Bommel
7cf63ace18
Clarify some of the differences between indexing with getelementptr and indexing with insertvalue/extractvalue.
...
llvm-svn: 120957
2010-12-05 20:54:38 +00:00
Zhanyong Wan
4f3b26de28
Add naming rules to the coding standards.
...
llvm-svn: 120689
2010-12-02 05:10:07 +00:00
Chris Lattner
9db8e15f4d
forbid rtti and exceptions
...
llvm-svn: 120450
2010-11-30 19:20:40 +00:00
Nick Lewycky
2965d3e3cd
Make @llvm.invariant.start not be readonly, so that it has side-effects. This
...
unbreaks test/Transforms/InstCombine/invariant.ll which was broken by r120382.
This is a fix-forward to do what I think Chris intended.
llvm-svn: 120388
2010-11-30 04:13:41 +00:00
Oscar Fuentes
e1c6a67df6
Bump required cmake version on CMake.html.
...
llvm-svn: 120162
2010-11-25 21:41:48 +00:00
Zhanyong Wan
19b96fd4ee
Fix formatting nits in the coding standards. Reviewed by clattner.
...
llvm-svn: 119998
2010-11-23 05:03:07 +00:00
Wesley Peck
527da1b6e2
Renaming ISD::BIT_CONVERT to ISD::BITCAST to better reflect the LLVM IR concept.
...
llvm-svn: 119990
2010-11-23 03:31:01 +00:00
Chris Lattner
d78dbee431
a byval argument without an align can have an arbitrary alignment
...
requirement on the input pointer.
llvm-svn: 119914
2010-11-20 23:49:06 +00:00
Chris Lattner
eebbbeb917
add some justification for "using namespace llvm;"
...
llvm-svn: 119544
2010-11-17 19:47:20 +00:00
Chris Lattner
8defde09fd
various cleanups and other improvements, patch by Zhanyong Wan!
...
llvm-svn: 119515
2010-11-17 17:14:55 +00:00
Chris Lattner
79ffdc7581
With the newly simplified SourceMgr interfaces and the generalized
...
SrcMgrDiagHandler, we can improve clang diagnostics for inline asm:
instead of reporting them on a source line of the original line,
we can report it on the correct line wherever the string literal came
from. For something like this:
void foo() {
asm("push %rax\n"
".code32\n");
}
we used to get this: (note that the line in t.c isn't helpful)
t.c:4:7: error: warning: ignoring directive for now
asm("push %rax\n"
^
<inline asm>:2:1: note: instantiated into assembly here
.code32
^
now we get:
t.c:5:8: error: warning: ignoring directive for now
".code32\n"
^
<inline asm>:2:1: note: instantiated into assembly here
.code32
^
Note that we're pointing to line 5 properly now.
llvm-svn: 119488
2010-11-17 08:20:42 +00:00
Chris Lattner
44c2241cd4
update coding standards. Partial specialization is now ok,
...
though possibly not a good idea.
llvm-svn: 119398
2010-11-16 22:19:06 +00:00
Chris Lattner
fced6e2587
libc++ and compiler_rt are now dual licensed under UIUC and MIT license.
...
llvm-svn: 119387
2010-11-16 21:32:53 +00:00
Peter Collingbourne
b813cacf06
Document -enable-no-infs-fp-math and -enable-no-nans-fp-math command line options
...
llvm-svn: 119370
2010-11-16 19:40:13 +00:00
Dan Gohman
a230754385
Fix missing includes of "llvm/Analysis/Passes.h" in the tutorials. Thanks
...
for Arnaud Allard de Grandmaison for preparing a patch.
llvm-svn: 119351
2010-11-16 17:28:22 +00:00
Dan Gohman
56f3a4c761
Update examples and documentation to explicitly add basicaa, now that it's
...
no longer included by default.
llvm-svn: 119169
2010-11-15 18:41:10 +00:00
Dan Gohman
b83aed95c9
-basicaa is no longer the default.
...
llvm-svn: 119163
2010-11-15 18:07:16 +00:00
Chris Lattner
7b783e7cb2
no alpha jit support.
...
llvm-svn: 119052
2010-11-14 18:25:50 +00:00
Chris Lattner
8a7f4dafe5
describe the preferred approach to silencing 'unused variable warnings' due to asserts.
...
llvm-svn: 118863
2010-11-12 00:19:41 +00:00
NAKAMURA Takumi
f791007e81
CMake: Add the new option "LLVM_LIT_ARGS".
...
Defaults:
if (MSVC OR XCODE): "-sv --no-progress-bar"
else: "-sv"
llvm-svn: 118776
2010-11-11 04:09:35 +00:00
Devang Patel
fd0ad36c28
Document debuginfo-tests.
...
llvm-svn: 118746
2010-11-11 00:13:39 +00:00
Chris Lattner
4869d346e3
add (and document) the ability for alias results to have
...
fixed physical registers. Start moving fp comparison
aliases to the .td file (which default to using %st1 if
nothing is specified).
llvm-svn: 118352
2010-11-06 19:57:21 +00:00
Chris Lattner
b6f8e8248d
generalize alias support to allow the result of an alias to
...
add fixed immediate values. Move the aad and aam aliases to
use this, and document it.
llvm-svn: 118350
2010-11-06 19:25:43 +00:00
Chris Lattner
8b0a71fc31
document instalias.
...
llvm-svn: 118335
2010-11-06 08:30:26 +00:00
Duncan Sands
8eb254aed6
Fix typo, pointed out by Trevor Harmon.
...
llvm-svn: 118163
2010-11-03 08:16:50 +00:00
Chris Lattner
3e6c919469
fix typo, patch by Trevor Harmon (PR8537)
...
llvm-svn: 118131
2010-11-03 00:30:29 +00:00
Oscar Fuentes
64cb0eed22
Removed obsolete section about VC++ project files.
...
llvm-svn: 118072
2010-11-02 21:34:19 +00:00
Chris Lattner
7ff334687d
fix the !eq operator in tblgen to return a bit instead of an int.
...
Use this to make the X86 and ARM targets set isCodeGenOnly=1
automatically for their instructions that have Format=Pseudo,
resolving a hack in tblgen.
llvm-svn: 117862
2010-10-31 19:22:57 +00:00
Benjamin Kramer
c940bcf564
Validate HTML.
...
llvm-svn: 117847
2010-10-30 21:07:28 +00:00
Chris Lattner
4dd6ca9a69
add missing tag
...
llvm-svn: 117846
2010-10-30 20:21:00 +00:00
Chris Lattner
f9ec2fb34a
fix typos and some serious bugs in feature handling (but not for
...
cases that are currently exercised). Thanks to Frits van Bommel for
the great review!
llvm-svn: 117840
2010-10-30 19:47:49 +00:00
Chris Lattner
2cb092dc55
Implement (and document!) support for MnemonicAlias's to have Requires
...
directives, allowing things like this:
def : MnemonicAlias<"pop", "popl">, Requires<[In32BitMode]>;
def : MnemonicAlias<"pop", "popq">, Requires<[In64BitMode]>;
Move the rest of the X86 MnemonicAliases over to the .td file.
llvm-svn: 117830
2010-10-30 19:23:13 +00:00
Chris Lattner
ba7b4fea97
implement (and document!) the first kind of MC assembler alias, which
...
just remaps one mnemonic to another. Convert a few of the X86 aliases
from .cpp to .td code.
llvm-svn: 117815
2010-10-30 17:36:36 +00:00
Oscar Fuentes
b1f9380cac
Document LLVM_BUILD_TESTS, LLVM_INCLUDE_TESTS. New convenience target
...
UnitTests for building all the unit tests.
llvm-svn: 117545
2010-10-28 14:38:35 +00:00
Chris Lattner
15597538ae
clarify that not having the ".o file writing" feature
...
doesn't mean that you can't get a .o file. Apparently
this is confusing :)
llvm-svn: 117523
2010-10-28 02:22:02 +00:00
Bill Wendling
6bbe0912c3
Random cleanups and format changes.
...
llvm-svn: 117428
2010-10-27 01:07:41 +00:00
Duncan Sands
406e6f59b8
Yet another thing that was forgotten to be added to the release notes...
...
llvm-svn: 117362
2010-10-26 12:43:36 +00:00
Charles Davis
742052526a
Make the description of the hotpatch attribute even more generic. Spotted by
...
Michael Spencer.
llvm-svn: 117286
2010-10-25 19:07:39 +00:00
Charles Davis
1b2d372b9f
Make hotpatch attribute description a little less Wintel-specific.
...
llvm-svn: 117267
2010-10-25 16:29:03 +00:00
Charles Davis
22fe18625d
Add a new 'hotpatch' attribute. This attribute will insert a two-byte no-op
...
instruction at the beginning of each function that has the attribute, allowing
the function to be easily hooked and/or patched.
llvm-svn: 117264
2010-10-25 15:37:09 +00:00
Kalle Raiskila
829b21fb02
Update target feature matrix for CellSPU
...
llvm-svn: 117255
2010-10-25 08:57:30 +00:00
Jakob Stoklund Olesen
c7932d3ac6
Update target feature matrix for Blackfin.
...
llvm-svn: 117245
2010-10-24 20:04:05 +00:00
Wesley Peck
188deadf88
Updating target feature matrix to indicate current MBlaze status.
...
llvm-svn: 117244
2010-10-24 18:50:12 +00:00
Chris Lattner
60616b1e54
broken link
...
llvm-svn: 117232
2010-10-24 16:24:22 +00:00
Chris Lattner
5427f745b5
add a big table with target features.
...
llvm-svn: 117230
2010-10-24 16:18:00 +00:00
Peter Collingbourne
a92b66ec47
Standardise all build-mode affecting {EN,DIS}ABLE_* make options to
...
test equality to 1, and fix/update documentation to reflect this
llvm-svn: 117094
2010-10-22 12:54:34 +00:00
Tobias Grosser
5f038210cf
Fix type in passes.
...
llvm-svn: 117065
2010-10-21 21:16:03 +00:00
Duncan Sands
a11e9827b1
Argh, completely forgot to add this to the release notes!
...
Better late than never, right?
llvm-svn: 117009
2010-10-21 14:40:02 +00:00
Tobias Grosser
23c8341c3d
Add RegionPass support.
...
A RegionPass is executed like a LoopPass but on the regions detected by the
RegionInfo pass instead of the loops detected by the LoopInfo pass.
llvm-svn: 116905
2010-10-20 01:54:44 +00:00
Jim Grosbach
bbdc5d2ef9
Add a pre-dispatch SjLj EH hook on the unwind edge for targets to do any
...
setup they require. Use this for ARM/Darwin to rematerialize the base
pointer from the frame pointer when required. rdar://8564268
llvm-svn: 116879
2010-10-19 23:27:08 +00:00
Jakob Stoklund Olesen
eba55822d7
Teach FileCheck to handle trailing CHECK-NOT patterns.
...
A CHECK-NOT pattern without a following CHECK pattern simply checks that the
pattern doesn't match before the end of the input file.
You can even have only CHECK-NOT patterns to check that strings appear nowhere
in the input file.
llvm-svn: 116592
2010-10-15 17:47:12 +00:00
Chris Lattner
1ef5e84c31
Per discussion with Sanjiv, remove the PIC16 target from mainline. When/if
...
it comes back, it will be largely a rewrite, so keeping the old codebase
in tree isn't helping anyone.
llvm-svn: 116190
2010-10-11 05:44:40 +00:00
Chris Lattner
f11031a68c
clarify that zero sized vectors are illegal, PR8340
...
llvm-svn: 116167
2010-10-10 18:20:35 +00:00
Nick Lewycky
cf263b0cbd
Fix dead link.
...
llvm-svn: 116157
2010-10-09 21:12:29 +00:00
Nick Lewycky
abe8c130b1
Warn about broken GCCs on ARM due to the problem fixed:
...
http://gcc.gnu.org/ml/gcc-patches/2010-09/msg01070.html
llvm-svn: 115998
2010-10-07 22:30:47 +00:00
Bill Wendling
c473587e28
Fixed RELEASE_28 tags.
...
llvm-svn: 115872
2010-10-06 23:50:30 +00:00
Tobias Grosser
436bc5fdb3
Fix libc++ link in release notes.
...
llvm-svn: 115837
2010-10-06 21:07:30 +00:00
Tobias Grosser
5af766bb1e
Add missing "-" to the command line.
...
llvm-svn: 115777
2010-10-06 11:43:06 +00:00
Duncan Sands
6f2ae72c90
No need to check out everything: binutils is enough.
...
Patch by John Tytgat.
llvm-svn: 115757
2010-10-06 06:45:11 +00:00
Tanya Lattner
3d7ec7b55d
Update release location.
...
llvm-svn: 115749
2010-10-06 05:36:01 +00:00
Chris Lattner
9402633637
remove the !nameconcat tblgen feature. It "shorthand" and only used in 4 places
...
where !cast is just as short.
llvm-svn: 115722
2010-10-06 00:19:21 +00:00
Jim Grosbach
1e8b44e470
s/The ARM has/The ARM backend has/
...
llvm-svn: 115584
2010-10-05 01:00:42 +00:00
Bruno Cardoso Lopes
3ae4d87d6f
AVX intrinsics and builtins were also added to clang
...
llvm-svn: 115566
2010-10-04 22:07:22 +00:00
Douglas Gregor
7e79556d96
Spell AltiVec correctly
...
llvm-svn: 115560
2010-10-04 21:12:06 +00:00
Daniel Dunbar
f70898affa
ReleaseNotes: Note some changes to LLVM development infrastructure.
...
llvm-svn: 115550
2010-10-04 20:11:41 +00:00
Daniel Dunbar
efefb206a5
ReleaseNotes: Note a header rename.
...
llvm-svn: 115549
2010-10-04 20:11:39 +00:00
Gabor Greif
0d4224ef04
validator fixes; others remain, somebody who knows some html, please have a look
...
llvm-svn: 115526
2010-10-04 17:54:30 +00:00
Daniel Dunbar
8fbd8aad45
Add KLEE 2.8 release notes.
...
llvm-svn: 115524
2010-10-04 17:39:47 +00:00
Daniel Dunbar
60ad0094e2
A few more random Clang release notes.
...
llvm-svn: 115520
2010-10-04 17:06:49 +00:00
Gabor Greif
dcdbbea36d
minor tweaks and typos
...
llvm-svn: 115518
2010-10-04 17:03:49 +00:00
Devang Patel
9fbc680c5e
Fix lexical block's tag number.
...
llvm-svn: 115516
2010-10-04 16:51:59 +00:00
Chris Lattner
dc38ad4aee
scheduler update
...
llvm-svn: 115515
2010-10-04 16:46:07 +00:00
Chris Lattner
c3e64b2c37
another tweak
...
llvm-svn: 115510
2010-10-04 16:06:37 +00:00
Duncan Sands
d63e1c80ba
Ada support has moved to dragonegg - I am no longer working on
...
Ada in llvm-gcc.
llvm-svn: 115501
2010-10-04 10:06:56 +00:00
Duncan Sands
6ad8bf6051
Fix a bunch of typos.
...
llvm-svn: 115500
2010-10-04 10:04:14 +00:00
Duncan Sands
fb994d2f0e
Altvec -> Altivec.
...
llvm-svn: 115499
2010-10-04 09:11:50 +00:00
Douglas Gregor
614ace674b
Update LLVM 2.8 release notes for Clang
...
llvm-svn: 115498
2010-10-04 07:02:35 +00:00
Chris Lattner
d3f45c8cf2
checkpoint, the release notes are now feature complete.
...
llvm-svn: 115495
2010-10-04 04:39:25 +00:00
Chris Lattner
9fd1e92de8
checkpoint
...
llvm-svn: 115494
2010-10-04 03:58:12 +00:00
Chris Lattner
fcc65a74a7
checkpoint.
...
llvm-svn: 115489
2010-10-04 02:42:39 +00:00
Chris Lattner
a7f45cf749
write Major Changes and Removed Features.
...
llvm-svn: 115486
2010-10-04 01:29:06 +00:00
Chris Lattner
120804afae
move dragonegg up in the list, write blurbs for lldb and libc++
...
llvm-svn: 115484
2010-10-03 23:49:06 +00:00
Chris Lattner
d93b4afdd7
add a bunch of stuff that works with 2.8
...
llvm-svn: 115483
2010-10-03 23:09:03 +00:00
Chris Lattner
743bc472ac
random updates
...
llvm-svn: 115427
2010-10-02 22:44:15 +00:00
Chris Lattner
bf1cf670a6
checkpoint, don't expect this to read right yet. :)
...
llvm-svn: 115426
2010-10-02 21:59:30 +00:00
Chris Lattner
97eac67552
add a bunch more notes. I survived.
...
llvm-svn: 115418
2010-10-02 19:32:01 +00:00
Devang Patel
cac38900f1
Fix block descriptor documentation.
...
llvm-svn: 115362
2010-10-01 22:45:00 +00:00
Devang Patel
6df452cfb1
Fix dbg_declare signature in document.
...
llvm-svn: 115326
2010-10-01 19:22:16 +00:00
Devang Patel
bed5e7d404
Fix DIDerived type fields' type in document.
...
llvm-svn: 115325
2010-10-01 19:19:30 +00:00
Chris Lattner
ca7c896b16
add a note
...
llvm-svn: 115297
2010-10-01 06:34:49 +00:00
Dale Johannesen
b1f0ff1d66
Fix pasto.
...
llvm-svn: 115261
2010-10-01 01:07:02 +00:00
Dale Johannesen
33e5c354e5
Add some doc for the x86mmx type.
...
llvm-svn: 115255
2010-10-01 00:48:59 +00:00
Duncan Sands
7f9a0dc4b4
Flesh out the dragonegg section.
...
llvm-svn: 115179
2010-09-30 17:37:34 +00:00
Chris Lattner
f25bc19e17
checkpoint notes
...
llvm-svn: 115152
2010-09-30 16:31:33 +00:00
Chris Lattner
510a81a89b
fix incorrect link!
...
llvm-svn: 115124
2010-09-30 01:12:09 +00:00
Chris Lattner
3458ab6001
add a bunch of entries for external projects.
...
llvm-svn: 115112
2010-09-30 00:34:43 +00:00
Duncan Sands
e9da6db67f
Convert a bunch of uses of 'bytecode' into 'bitcode'. This
...
is not everything, but the remaining cases are less trivial.
llvm-svn: 115080
2010-09-29 20:09:55 +00:00
Chris Lattner
16be34dec0
add some random notes.
...
llvm-svn: 115032
2010-09-29 07:25:03 +00:00
Chris Lattner
086d269413
merge all the llvm-gcc pieces together. Recommend that people try dragonegg if they care about fortran performance.
...
llvm-svn: 115031
2010-09-29 05:34:42 +00:00
Chris Lattner
342f957966
prepare for new content.
...
llvm-svn: 115030
2010-09-29 05:30:03 +00:00
Chris Lattner
b671d84ade
reapply developer policy changes after discussion.
...
llvm-svn: 114886
2010-09-27 21:17:15 +00:00
Oscar Fuentes
bf03084532
New cmake options LLVM_INCLUDE_X (X = {TOOLS, EXAMPLES, TESTS}) for
...
not generating build targets for those parts of the build.
llvm-svn: 114797
2010-09-25 20:43:06 +00:00
Chris Lattner
aa2ad5730c
temporarily revert developer policy change as a courtesy to vikram.
...
llvm-svn: 114792
2010-09-25 15:53:35 +00:00
Chris Lattner
16e264c546
remove an obsolete section
...
llvm-svn: 114701
2010-09-23 22:34:49 +00:00
Andrew Trick
68aa18e4be
Fix Getting Started docs.
...
configure expects LLVM Test Suite to be in projects/test-suite.
Made the "getting started" and "testing infrastructure" docs internally consistent.
Avoid confusion between llvm-test and llvm/test.
llvm-svn: 114691
2010-09-23 20:26:44 +00:00
Chris Lattner
a45bbb9628
rewrite the copyright section to match reality: llvm does't have a
...
copyright assignment process.
llvm-svn: 114673
2010-09-23 17:37:11 +00:00
Chris Lattner
81b59834c2
add lldb and libc++ code owners.
...
llvm-svn: 114669
2010-09-23 17:27:54 +00:00
Chris Lattner
191efcfc63
random cruft in my tree.
...
llvm-svn: 114387
2010-09-21 04:03:39 +00:00
Michael J. Spencer
65bd28db99
docs: Tweak wording.
...
llvm-svn: 114271
2010-09-18 08:32:32 +00:00
Michael J. Spencer
386fe51f64
docs: Update GettingStartedVS to reflect current state.
...
llvm-svn: 114167
2010-09-17 06:33:20 +00:00
Oscar Fuentes
144d99d084
Updated GettingStartedVS.html to reflect current state.
...
Reorganized it too.
llvm-svn: 114151
2010-09-17 02:17:13 +00:00
Oscar Fuentes
9712b2c06c
Direct CMake users to the right place for up-to-date info about using
...
LLVM libraries.
llvm-svn: 114139
2010-09-17 00:30:52 +00:00
Bob Wilson
e44f298674
Fix formatting tags.
...
llvm-svn: 113758
2010-09-13 17:39:35 +00:00
Bob Wilson
46d6580ccf
Document NEON intrinsic changes for 2.8.
...
llvm-svn: 113757
2010-09-13 17:37:55 +00:00
Chris Lattner
cb67a14b3e
add some documentation for the most important MC-level classes along with
...
an overview of mc and the idea of the code emission phase.
llvm-svn: 113707
2010-09-11 23:02:10 +00:00
John McCall
978f007a80
Add documentation for llvm-diff.
...
llvm-svn: 113303
2010-09-07 23:10:21 +00:00
Chris Lattner
8128ca1c2c
add note
...
llvm-svn: 113164
2010-09-06 19:14:40 +00:00
Chris Lattner
8c26cee3f3
some random notes.
...
llvm-svn: 113118
2010-09-05 20:49:45 +00:00
Chris Lattner
fc561bad88
this is a release note worthy change.
...
llvm-svn: 112907
2010-09-02 23:22:50 +00:00
Chris Lattner
32eff0df9a
updates to make it clear that this applies to clang and other llvm subprojects.
...
llvm-svn: 112781
2010-09-02 00:09:17 +00:00
Chris Lattner
44ab470c8e
update the tutorial to use CreateFAdd to create fp operations.
...
llvm-svn: 112733
2010-09-01 20:09:20 +00:00
Jakob Stoklund Olesen
94e90b9406
Stack slot access methods are in TargetInstrInfo.
...
llvm-svn: 112653
2010-08-31 22:01:07 +00:00
Duncan Sands
11c23fc349
Update the Ada instructions to LLVM 2.7 (from LLVM 2.5).
...
llvm-svn: 112630
2010-08-31 19:40:21 +00:00
Dan Gohman
f2d817192b
Update the descriptions of NoModRef and ModRef to be consistent
...
with the descriptions of Mod and Ref.
llvm-svn: 112557
2010-08-30 23:47:24 +00:00
Duncan Sands
1b6744a376
Remove a hack that tries to understand incorrect triples from the
...
Triple class constructor. Only valid triples should now be used
inside LLVM - front-ends are now responsable for rejecting or
correcting invalid target triples. The Triple::normalize method
can be used to straighten out funky triples provided by users.
Give this a whirl through the buildbots to see if I caught all
places where triples enter LLVM.
llvm-svn: 112470
2010-08-30 10:57:54 +00:00
Chris Lattner
bd24404718
remove the MSIL backend. It isn't maintained, is buggy, has no testcases
...
and hasn't kept up with ToT. Approved by Anton.
llvm-svn: 112375
2010-08-28 16:33:36 +00:00
Chris Lattner
13ee795c42
remove unions from LLVM IR. They are severely buggy and not
...
being actively maintained, improved, or extended.
llvm-svn: 112356
2010-08-28 04:09:24 +00:00
Bill Wendling
578ee4070c
Create the new linker type "linker_private_weak_def_auto".
...
It's similar to "linker_private_weak", but it's known that the address of the
object is not taken. For instance, functions that had an inline definition, but
the compiler decided not to inline it. Note, unlike linker_private and
linker_private_weak, linker_private_weak_def_auto may have only default
visibility. The symbols are removed by the linker from the final linked image
(executable or dynamic library).
llvm-svn: 111684
2010-08-20 22:05:50 +00:00
Dan Gohman
d3ee4238a5
Make the SCC printing passes use errs() instead of outs(), as the
...
other printing passes do, and update the documentation accordingly.
llvm-svn: 111601
2010-08-20 01:03:44 +00:00
Chris Lattner
249b976ed2
fix a broken link
...
llvm-svn: 111326
2010-08-17 23:26:04 +00:00
Chris Lattner
54a7be757b
add some 's to a pre to avoid newlines being eaten
...
and the formatting being thrown off. I admit to not knowing
what is going on here.
llvm-svn: 111249
2010-08-17 17:13:42 +00:00
Oscar Fuentes
43c6321340
CMake: document how to incorporate LLVM into the cmake project of an
...
external project.
llvm-svn: 110561
2010-08-09 03:26:48 +00:00
Oscar Fuentes
c9793795f7
CMake: documented testing procedure
...
llvm-svn: 110559
2010-08-09 02:49:39 +00:00
Rafael Espindola
fb1f29acf9
Add a opt-args option that can be used to pass arguments to every opt
...
invocation. Fixes PR7793:
bugpoint -debug test.ll --opt-args -unroll-count=4
llvm-svn: 110555
2010-08-08 22:14:20 +00:00
Rafael Espindola
717cd17f6f
s/libLLVMgold/LLVMgold/g
...
llvm-svn: 110552
2010-08-08 21:14:26 +00:00
Peter Collingbourne
099c4e3cde
Fix missing </a> tag error introduced by addition of LowerAtomic pass.
...
While at it, fix all other HTML validation errors in docs/Passes.html.
llvm-svn: 110428
2010-08-06 02:13:25 +00:00
Eric Christopher
fa5d2415b6
Document results of PR7762.
...
llvm-svn: 110373
2010-08-05 20:38:39 +00:00
Owen Anderson
f16eb37b54
Add a note about the changing pass registration interface.
...
llvm-svn: 110231
2010-08-04 18:27:08 +00:00
Dan Gohman
67c0212353
Delete mkpatch. Everything it does is already done by svn diff by default.
...
llvm-svn: 110203
2010-08-04 16:07:22 +00:00
Dan Gohman
852287332a
Remove a link which is no longer relevant.
...
llvm-svn: 110202
2010-08-04 15:59:16 +00:00
Torok Edwin
e6f478f795
Note some LLVM 2.7 -> 2.8 APIs that changed / got renamed.
...
I encountered these while upgrading libclamav.
llvm-svn: 110196
2010-08-04 12:43:22 +00:00
Peter Collingbourne
ddaaf40d24
Add an atomic lowering pass
...
llvm-svn: 110113
2010-08-03 16:19:16 +00:00
Daniel Dunbar
f85eb933d4
docs/TestingGuide: Minimal update to describe 'lit' based regression testing
...
instead of DejaGNU. Still a bit kooky, since the current test format still has
some strong Tcl roots. Oh well!
llvm-svn: 110005
2010-08-02 01:20:23 +00:00
Daniel Dunbar
a9075c5ead
docs/TestingGuide: Rip out description of old nightly tester infrastructure. The
...
official recommendation is to use LNT instead. I will write docs on setting up
an LNT installation for submission to llvm.org, one day.
llvm-svn: 110004
2010-08-02 01:20:20 +00:00
Nick Lewycky
daf67727a3
Fix word choice.
...
llvm-svn: 109995
2010-08-01 23:18:45 +00:00
John Criswell
ad05ae483f
Grammar cop pullover: Corrected and improved some grammar in the description of
...
the llvm.memset() intrinsic family.
No content changes.
llvm-svn: 109863
2010-07-30 16:30:28 +00:00
Gabor Greif
ed79dcb1ab
re-commit r109220, the compile error has already been fixed
...
Simplifying use_iterators by dereferencing
is not a good idea. The codebase does not depend
in this any more, and it may introduce hidden
runtime cost. If you get compile errors, please
dereference your iterator before passing to cast<>
(and friends).
Also: please consider caching the result of
operator* and reusing that instead of dereferencing
many times.
llvm-svn: 109425
2010-07-26 18:48:07 +00:00
Peter Collingbourne
b724226063
Document BUILD_EXAMPLES makefile variable
...
llvm-svn: 109346
2010-07-24 17:54:00 +00:00
Tobias Grosser
336734aca6
Add new RegionInfo pass.
...
The RegionInfo pass detects single entry single exit regions in a function,
where a region is defined as any subgraph that is connected to the remaining
graph at only two spots.
Furthermore an hierarchical region tree is built.
Use it by calling "opt -regions analyze" or "opt -view-regions".
llvm-svn: 109089
2010-07-22 07:46:31 +00:00
Owen Anderson
ac4a1ede17
Add INSTANTIATE_AG_PASS, which combines RegisterPass<> with RegisterAnalysisGroup<> for pass registration.
...
llvm-svn: 109058
2010-07-21 23:07:00 +00:00
Owen Anderson
7ca8fb4795
First stab at updating the documentation for INITIALIZE_PASS().
...
llvm-svn: 109055
2010-07-21 22:58:07 +00:00
Dan Gohman
093cb79d4b
Disallow null as a named metadata operand.
...
Make MDNode::destroy private.
Fix the one thing that used MDNode::destroy, outside of MDNode itself.
One should never delete or destroy an MDNode explicitly. MDNodes
implicitly go away when there are no references to them (implementation
details aside).
llvm-svn: 109028
2010-07-21 18:54:18 +00:00
Chris Lattner
b3fa6bf0ef
strip out the 2.7 release notes, this really is the 2.8 release notes
...
now. Add a few items like the fpstackifier improvements.
llvm-svn: 109013
2010-07-21 15:57:40 +00:00
Gabor Greif
930894fe61
appease Validator
...
llvm-svn: 109007
2010-07-21 10:22:41 +00:00
Gabor Greif
4b17e65baa
add info on operand rotation
...
llvm-svn: 109006
2010-07-21 10:20:08 +00:00
Jakob Stoklund Olesen
8289f78569
Remove the isMoveInstr() hook.
...
llvm-svn: 108567
2010-07-16 22:35:46 +00:00
Benjamin Kramer
92d8998348
Don't pass StringRef by reference.
...
llvm-svn: 108366
2010-07-14 22:38:02 +00:00
Dan Gohman
58cd65f2fe
Fix the Named Metadata example to make it clear which specific
...
construct is the named metadata.
llvm-svn: 108263
2010-07-13 19:48:13 +00:00
Devang Patel
4a7904d652
Fix compile unit in example. Thanks Renato Golin!
...
llvm-svn: 108246
2010-07-13 16:53:20 +00:00
Benjamin Kramer
79698be162
HTML cleanup and validation.
...
llvm-svn: 108239
2010-07-13 12:26:09 +00:00
Duncan Sands
a522e563a8
When doing sext/zext of constants, the target type must be strictly
...
wider than the source type. Correct LangRef.
llvm-svn: 108238
2010-07-13 12:06:14 +00:00
Jakob Stoklund Olesen
c4227f1362
Remove TargetInstrInfo::copyRegToReg entirely.
...
Targets must now implement TargetInstrInfo::copyPhysReg instead. There is no
longer a default implementation forwarding to copyRegToReg.
llvm-svn: 108095
2010-07-11 17:01:17 +00:00
Dan Gohman
e501ff7cc6
sdiv overflow is outright undefined behavior, with or without the
...
'exact' keyword. Thanks to nlewycky for pointing this out!
llvm-svn: 108064
2010-07-11 00:08:34 +00:00
Duncan Sands
1567f0fa7e
Tweak some docs now that the default build is called Debug+Asserts.
...
llvm-svn: 107862
2010-07-08 08:27:18 +00:00
Reid Kleckner
7d797f613f
Update the docs for debugging JITed code with GDB.
...
llvm-svn: 107808
2010-07-07 20:16:45 +00:00
Dan Gohman
00ef93258a
Remove interprocedural-basic-aa and associated code. The AliasAnalysis
...
interface needs implementations to be consistent, so any code which
wants to support different semantics must use a different interface.
It's not currently worthwhile to add a new interface for this new
concept.
Document that AliasAnalysis doesn't support cross-function queries.
llvm-svn: 107776
2010-07-07 14:27:09 +00:00
Duncan Sands
408bb192de
Rename "Release" builds as "Release+Asserts"; rename "Release-Asserts"
...
builds to "Release". The default build is unchanged (optimization on,
assertions on), however it is now called Release+Asserts. The intent
is that future LLVM releases released via llvm.org will be Release builds
in the new sense, i.e. will have assertions disabled (currently they have
assertions enabled, for a more than 20% slowdown). This will bring them
in line with MacOS releases, which ship with assertions disabled. It also
means that "Release" now means the same things in make and cmake builds:
cmake already disables assertions for "Release" builds AFAICS.
llvm-svn: 107758
2010-07-07 07:48:00 +00:00
John McCall
72ed8908ee
Closing tags start with slashes.
...
llvm-svn: 107699
2010-07-06 21:07:14 +00:00
Chris Lattner
5eff9ca26e
minor typo
...
llvm-svn: 107696
2010-07-06 20:51:35 +00:00