Nick Lewycky
21cc4460ef
Add support for embedded metadata to LLVM. This introduces two new types of
...
Constant, MDString and MDNode which can only be used by globals with a name
that starts with "llvm." or as arguments to a function with the same naming
restriction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68420 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-04 07:22:01 +00:00
Bill Wendling
138dd6df8b
Duplicate entry.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68401 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-03 20:32:13 +00:00
Chris Lattner
03dc1fe9ac
"Add documentation about the fix for missing x86
...
target library in windows under the "Common problems" section."
Patch by Stefanus Du Toit!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68399 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-03 20:23:52 +00:00
Chris Lattner
f436fed412
update some syntax
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68362 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-03 00:29:19 +00:00
Chris Lattner
34cb154028
add this to SVN to allow collaborative hacking.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68243 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-01 21:11:04 +00:00
John Mosby
3228abe8f9
docs/TestingGuide.html: correction to prev. text (objdir!=srcdir required for running test-suite), removed refs to llvm-test
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68051 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-30 18:56:53 +00:00
Chris Lattner
217b919cf9
fix some validation problems.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68026 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-30 06:34:59 +00:00
John Mosby
24446d671a
Clarify section on setting up and running test-suite
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68023 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-30 04:37:51 +00:00
Bill Wendling
bc14dd30a8
Update the Visual Studio docs. Patch by Stefanus!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67940 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-28 10:24:15 +00:00
Mikhail Glushenkov
4ad0d571fa
Documentation update.
...
Expand a bit on various '--*-graph' options.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67836 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-27 12:58:29 +00:00
Duncan Sands
abc061c088
Mention explicitly that the Ada front-end will not bootstrap.
...
The configure line had --disable-bootstrap, but it was not
clear that this is essential.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67651 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-24 21:16:39 +00:00
Chris Lattner
640e7c6d07
tt'ify.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67505 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-23 04:53:34 +00:00
Chris Lattner
4bd3d7e17c
VC++ 6.0 is not future work :)
...
Do not recommend llvm::OStream anymore. Use raw_ostream or MemoryBuffer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67504 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-23 04:52:53 +00:00
Duncan Sands
19527c6ef3
Add some explanations of how apint loads and stores
...
work.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67471 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-22 11:33:16 +00:00
Duncan Sands
d9c9bf77d8
Update these for the 2.5 release.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66890 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-13 13:42:20 +00:00
Gabor Greif
6a65f4208f
add some text to explain sentinels
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66790 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-12 10:30:31 +00:00
Gabor Greif
0cbcabedc5
minor tweaks
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66788 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-12 09:47:03 +00:00
Gabor Greif
c540b1fd01
do not pretend llvm/.../*.h being system headers
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66697 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-11 20:23:40 +00:00
Duncan Sands
4dc2b39bf8
It makes no sense to have a ODR version of common
...
linkage, so remove it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66690 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-11 20:14:15 +00:00
Gabor Greif
94244f3849
fix validator errors
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66688 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-11 20:04:08 +00:00
Gabor Greif
d6c1ed08f6
Fix exaples using IRBuilder. Thanks, Quadrescence and Glip7 from IRC!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66687 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-11 19:51:07 +00:00
Duncan Sands
5f4ee1fc5d
Remove the one-definition-rule version of extern_weak
...
linkage: this linkage type only applies to declarations,
but ODR is only relevant to globals with definitions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66650 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-11 08:08:06 +00:00
Chris Lattner
8c0e62cdb2
Clarify wording, patch by Stefanus Du Toit!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66458 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-09 20:55:18 +00:00
Chris Lattner
f1a3082513
don't allow hash_map or hash_set.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66400 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-09 05:20:45 +00:00
Duncan Sands
667d4b8de6
Introduce new linkage types linkonce_odr, weak_odr, common_odr
...
and extern_weak_odr. These are the same as the non-odr versions,
except that they indicate that the global will only be overridden
by an *equivalent* global. In C, a function with weak linkage can
be overridden by a function which behaves completely differently.
This means that IP passes have to skip weak functions, since any
deductions made from the function definition might be wrong, since
the definition could be replaced by something completely different
at link time. This is not allowed in C++, thanks to the ODR
(One-Definition-Rule): if a function is replaced by another at
link-time, then the new function must be the same as the original
function. If a language knows that a function or other global can
only be overridden by an equivalent global, it can give it the
weak_odr linkage type, and the optimizers will understand that it
is alright to make deductions based on the function body. The
code generators on the other hand map weak and weak_odr linkage
to the same thing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66339 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-07 15:45:40 +00:00
Gordon Henriksen
bffc86684e
Committing unsaved changes that should've been with r66237.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66242 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-06 02:42:47 +00:00
Gordon Henriksen
e5abac4a86
Incorporate feedback to improve GarbageCollection.html.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66237 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-06 01:57:32 +00:00
Nick Lewycky
bb2b521f81
This bug's been fixed but a version with the fix hasn't been released yet.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65931 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-03 05:41:16 +00:00
Bill Wendling
52349a919b
Document the -gcc-tool-args bugpoint option.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65897 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-02 23:15:59 +00:00
Daniel Dunbar
e3d1b653be
Add some more clang related release notes.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65868 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-02 20:08:12 +00:00
Tanya Lattner
6e2b86b8aa
Remove incorrect information about fortran on Darwin.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65859 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-02 19:38:59 +00:00
Gabor Greif
f94ecc3d1a
fix broken GCC bugzilla link
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65858 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-02 19:11:53 +00:00
Gabor Greif
54820ce91c
add a Q/A on broken GCCs
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65857 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-02 19:08:05 +00:00
Chris Lattner
cade822c54
update blurb per Shannon Weyrick.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65856 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-02 19:07:24 +00:00
Duncan Sands
05c709517d
Try to make the meaning of 'nocapture' a bit clearer. I
...
commented out the line about simplifylibcalls because I
think this doesn't work in the release (it was fixed in
svn after the release branched).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65846 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-02 16:58:00 +00:00
Duncan Sands
dd3e6722d9
Use GCC not gcc, like everywhere else in this document.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65845 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-02 16:35:57 +00:00
John Criswell
524a5ddbb3
Grammar and punctuation fixes.
...
No content changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65844 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-02 15:28:15 +00:00
Gabor Greif
cc46550785
note the removal of deprecated interfaces
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65841 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-02 12:23:55 +00:00
Gabor Greif
4906abe63a
minor tweaks
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65838 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-02 12:02:51 +00:00
Gabor Greif
29ecc1c4c2
minor tweaks
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65837 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-02 11:34:51 +00:00
Nicolas Geoffray
09c9ed4409
Add more notes for VMKit.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65833 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-02 09:25:38 +00:00
Bill Wendling
99dac47b0a
Random formatting changes.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65815 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-02 07:54:14 +00:00
Bill Wendling
dc1350ef0d
Fix typos.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65813 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-02 07:42:15 +00:00
Bill Wendling
63d8c55266
Change </pp> to </p>.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65804 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-02 04:28:57 +00:00
Bill Wendling
6bc15281a9
- Use "real-world applications" instead of just "real applications".
...
- Verification Fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65803 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-02 04:28:18 +00:00
Gordon Henriksen
c9c0b59402
Make some improvements to the GC docs.
...
Also, drop reference to the half-baked runtime interface.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65802 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-02 03:47:20 +00:00
Chris Lattner
3975f2bf9e
remove empty section
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65800 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-02 03:24:41 +00:00
Chris Lattner
511433e7cf
more englishification
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65799 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-02 03:24:11 +00:00
Chris Lattner
917cc71ae1
start translating this into Engrish and organizing it.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65797 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-02 02:37:32 +00:00
Chris Lattner
932af8f8c3
move gold plugin next to LTO doc in the subsystem section
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65790 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-01 23:42:51 +00:00
Nick Lewycky
f3888ba23f
Add a quickstart example.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65789 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-01 21:55:10 +00:00
Nick Lewycky
f45a82890e
Close list item tag, to conform with the style in this file. It's optional
...
anyways.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65787 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-01 21:07:44 +00:00
Nick Lewycky
017730c653
Add the gold plugin page to the documentation index!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65786 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-01 21:06:42 +00:00
Nick Lewycky
d66ff0f2e0
Cleanup the description of flags to llvm-gcc. Also remove stray text in the
...
attribution.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65785 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-01 20:58:07 +00:00
Nick Lewycky
050147cb70
Don't forget the important part. llvm-gcc -use-gold-plugin passes the right
...
options to gold.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65783 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-01 18:48:53 +00:00
Mikhail Glushenkov
f795ef0cd4
Sprinkle llvmc notes with <tt>.
...
Also removes some trailing whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65781 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-01 18:09:47 +00:00
Duncan Sands
10f06755ce
Tweak this a bit.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65772 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-01 15:19:03 +00:00
Nick Lewycky
fd97aa2bd2
Fix grammar.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65769 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-01 09:51:07 +00:00
Nick Lewycky
ebc6765970
First pass at a document describing how to achieve LTO on Linux with gold.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65766 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-01 09:38:29 +00:00
Duncan Sands
f910fd3110
Another point to mention.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65765 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-01 08:26:19 +00:00
Chris Lattner
c441fb8937
add some llvmc notes from Mikhail
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65756 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-01 02:30:21 +00:00
Bill Wendling
0a4bbbf62f
Fix grammaro.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65727 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-28 22:12:54 +00:00
Chris Lattner
bc31caf2e7
add a stub for Roadsend PHP
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65705 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-28 18:58:01 +00:00
Chris Lattner
7088279597
don't use the word 'aggregate' with constants, it is confusing.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65702 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-28 18:32:25 +00:00
Chris Lattner
03bbad6410
don't redescribe bitcast constraints in two places. It is not valid to
...
bitcast from one aggregate to another.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65700 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-28 18:27:03 +00:00
Nick Lewycky
6cd74989b9
Update this text for first-class aggregates.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65697 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-28 17:30:06 +00:00
Bill Wendling
e05b6f10ba
Fix typo. Found by William Moss.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65693 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-28 12:26:34 +00:00
Gabor Greif
0186250b31
document ilist_traits
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65631 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-27 13:28:07 +00:00
Gabor Greif
2946d1c928
Expand a bit on iplist. If you are more expert on this class, please review!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65630 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-27 12:02:19 +00:00
Gabor Greif
3899e498df
update ilist documentation and add some blurb on ilist_node
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65629 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-27 11:37:41 +00:00
Gabor Greif
a1ae094cf7
update year
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65628 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-27 11:28:46 +00:00
Ted Kremenek
8b3894cdfd
Update release notes for static analyzer.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65624 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-27 07:01:32 +00:00
Chris Lattner
ab68e9e7fe
drop some un-edited text for pure and ldc in here.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65579 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-26 22:33:38 +00:00
Nick Lewycky
a15dc035a6
Remove libtool.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65517 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-26 07:44:16 +00:00
Chris Lattner
11398993d3
pic16 notes from Sanjiv. Just dumped in for now, will rearrange later.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65512 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-26 07:32:11 +00:00
Chris Lattner
c1771e3539
final random and incoherent notes after making it through all the commits.
...
Next step: making them more coherent.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65511 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-26 07:29:17 +00:00
Chris Lattner
d838fcd03d
more notes.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65507 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-26 06:47:09 +00:00
Chris Lattner
75e26caaca
add some notes from Nicolas G.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65503 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-26 05:20:36 +00:00
Duncan Sands
326a4988ba
Flesh out the Ada section a little.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65448 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-25 11:59:06 +00:00
Duncan Sands
50723a94f4
The C backend does not support arbitrary precision integers.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65447 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-25 11:51:54 +00:00
Duncan Sands
07636eae92
Note on new type legalizer.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65446 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-25 11:50:08 +00:00
Duncan Sands
8524cb9fa5
Add note on support for arbitrary precision integers.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65445 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-25 11:37:39 +00:00
Chris Lattner
99f375b6c8
more notes.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65439 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-25 07:32:53 +00:00
Chris Lattner
74c80df2b8
random notes
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65436 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-25 06:34:50 +00:00
Nick Lewycky
d9f66e6ca3
Recommend against using Gold to build LLVM.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65435 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-25 06:29:47 +00:00
Chris Lattner
1f859860ba
don't know if there is a vmkit release to match 2.5
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65434 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-25 05:45:05 +00:00
Chris Lattner
f40c40bf93
update clang section
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65430 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-25 05:09:54 +00:00
Chris Lattner
38ab04cb44
rip out llvm 2.4 details to make room for 2.5
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65429 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-25 04:41:31 +00:00
Dan Gohman
865f006bb4
Eliminate several more unnecessary intptr_t casts.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64888 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-18 05:09:16 +00:00
Nick Lewycky
b6a7d2565b
Demonstrate the act of including multiple space-separated parameter attributes,
...
by request on IRC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64619 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-15 23:06:14 +00:00
Dale Johannesen
bd5e5a8669
Edit description of floating point constants to
...
reflect reality. Acknowledgements to John Clements
for prodding me into this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64332 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-11 22:14:51 +00:00
Dan Gohman
cfbcd591d2
Answer a common FAQ:
...
"Can I compile C or C++ code to platform-independent LLVM bitcode?"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64222 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-10 17:26:53 +00:00
Chris Lattner
3060f5bbf7
fix typo, patch by Jonathan Brandmeyer!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64132 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-09 10:00:56 +00:00
Chris Lattner
7c7708946b
mention rdynamic, PR3431, patch by Stein Roger Skafløtten!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64106 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-09 00:04:40 +00:00
Bill Wendling
41b485c9c3
Document llvm.umul.with.overflow indicating that it's badly broken and not intended for use.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64104 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-08 23:00:09 +00:00
Chris Lattner
e220e8cc07
I can't type today apparently.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64097 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-08 22:21:28 +00:00
Chris Lattner
056202961d
fix typo
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64090 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-08 19:59:51 +00:00
Chris Lattner
0fd4a27ec0
document pointer type constraints, PR3513
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64088 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-08 19:53:29 +00:00
Bill Wendling
da01af7667
Fixes from feedback.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64070 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-08 04:04:40 +00:00
Bill Wendling
ac1df8ef33
Document the 'llvm.OP.with.overflow' intrinsics.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64066 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-08 01:40:31 +00:00
Chris Lattner
ce459b1e28
PR3485, document alignment on byref.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63836 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-05 05:42:28 +00:00
Mike Stump
d64e0eb094
Improve -fno-opt style option processing to not require an extra
...
option to make the -fno- form on the option. We also document the new
form in the CommandLine documentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63559 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-02 22:48:49 +00:00
Chris Lattner
ef56ce18b8
validation error fix.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63503 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-02 07:33:15 +00:00
Chris Lattner
242d61d1c9
Document type upreferences (PR3380), patch by Stein Roger Skafløtten
...
with enhancements and corrections by me.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63502 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-02 07:32:36 +00:00
Devang Patel
dd9db66882
Each input file is encoded as a separate compile unit in LLVM debugging
...
information output. However, many target specific tool chains prefer to encode
only one compile unit in an object file. In this situation, the LLVM code
generator will include debugging information entities in the compile unit
that is marked as main compile unit. The code generator accepts maximum one main
compile unit per module. If a module does not contain any main compile unit
then the code generator will emit multiple compile units in the output object
file.
[Part 1]
Update DebugInfo APIs to accept optional boolean value while creating DICompileUnit to mark the unit as "main" unit. By defaults all units are considered non-main. Update SourceLevelDebugging.html to document "main" compile unit.
Update DebugInfo APIs to not accept and encode separate source file/directory entries while creating various llvm.dbg.* entities. There was a recent, yet to be documented, change to include this additional information so no documentation changes are required here.
Update DwarfDebug to handle "main" compile unit. If "main" compile unit is seen then all DIEs are inserted into "main" compile unit. All other compile units are used to find source location for llvm.dbg.* values. If there is not any "main" compile unit then create unique compile unit DIEs for each llvm.dbg.compile_unit.
[Part 2]
Create separate llvm.dbg.compile_unit for each input file. Mark compile unit create for main_input_filename as "main" compile unit. Use appropriate compile unit, based on source location information collected from the tree node, while creating llvm.dbg.* values using DebugInfo APIs.
---
This is Part 1.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63400 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-30 18:20:31 +00:00
Dan Gohman
50ef90d48e
SDOperand has been renamed to SDValue. SDNode::Val is now
...
accessed via SDNode::getNode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63240 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-28 21:36:46 +00:00
Duncan Sands
1465d61bdd
Rename getAnalysisToUpdate to getAnalysisIfAvailable.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63198 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-28 13:14:17 +00:00
Mikhail Glushenkov
5303c75a49
Update the generated docs.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63173 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-28 03:47:38 +00:00
Nate Begeman
34509841e7
Add some documentation for address-space-based access to the segment registers.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62986 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-26 02:54:45 +00:00
Dan Gohman
d5b455f6b0
Reality-check the FAQ entry for "Can I use LLVM to convert C++ to C?"
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62961 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-25 16:04:50 +00:00
Dan Gohman
d8791e5ed7
Add more documentation mentioning the limitations due to PR2660.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62919 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-24 15:58:40 +00:00
Dan Gohman
c766f7234a
Add a few more notes about LLVM IR features that codegen doesn't
...
yet support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62739 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-22 01:39:38 +00:00
Mikhail Glushenkov
1421b7bc23
Mimic gcc behaviour with regard to response files.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62688 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-21 13:14:02 +00:00
Mikhail Glushenkov
7059d47a6e
Support for multi-valued options in CommandLine
...
Makes possible to specify options that take multiple arguments (a-la
-sectalign on Darwin). See documentation for details.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62372 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-16 22:54:19 +00:00
Duncan Sands
81d05c2ae2
Grammar fix.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62319 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-16 09:29:46 +00:00
Rafael Espindola
bb46f52027
Add the private linkage.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62279 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-15 20:18:42 +00:00
Mikhail Glushenkov
f9b1d79a54
Some small documentation fixes.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62251 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-15 02:42:40 +00:00
Mikhail Glushenkov
564b75a4c6
Clarify the documentation a bit.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62249 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-15 02:04:54 +00:00
Dan Gohman
f3e60bd8ee
Document several current CodeGen limitations in LangRef.html.
...
Patches for any of these are welcome!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62120 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-12 23:12:39 +00:00
Dan Gohman
7956412470
The LLVM Assembly Language Reference incorrectly stated that the
...
prefix used for dll{import,export} is _imp__; it is actually __imp_.
Patch by Mahadevan R!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62103 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-12 21:35:55 +00:00
Dan Gohman
30e5e55e7a
Fix the instructions to work even when PATH does not contain ".".
...
Thanks to Martin Geisse for pointing this out!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62102 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-12 21:29:24 +00:00
Duncan Sands
ceb4d1aecb
Rename getABITypeSize to getTypePaddedSize, as
...
suggested by Chris.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62099 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-12 20:38:59 +00:00
Chris Lattner
734660a9cd
remove some dead options.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62095 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-12 19:02:50 +00:00
Chris Lattner
e7886e461b
Implement PR3313, and while I'm at it address a very FAQ.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62048 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-11 20:53:49 +00:00
Dan Gohman
398873c032
Fix the example syntax for named sections.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62033 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-11 00:40:00 +00:00
Mikhail Glushenkov
f8c430b3da
Add a --check-graph option to llvmc.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61989 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-09 16:16:27 +00:00
Gabor Greif
fd095b6389
Get rid of the tagging functions and use PointerIntPair.
...
This means that we have to include an additional header.
This patch should be functionally equivalent. I cannot outrule any performance
degradation, though I do not expect any.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61694 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-05 16:05:32 +00:00
Dan Gohman
81e21674a6
A few more whitespace tidyments.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61655 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-04 23:49:44 +00:00
Dan Gohman
2a08c53238
Tidy whitespace.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61653 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-04 23:44:43 +00:00
Misha Brukman
b0fa430e1f
* Wrap command line flag in <tt>
...
* Wrapped long lines in code section
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61601 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-03 02:35:05 +00:00
Misha Brukman
98117cdbd6
So *this* is where all the trailing whitespace in file header comments come
...
from: copy-pasted straight from the coding standards doc!
Oh, the irony.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61586 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-02 16:58:42 +00:00
Chris Lattner
01bb8b0c36
lex and bison aren't needed to build llvm anymore.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61560 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-02 07:10:51 +00:00
Chris Lattner
0c7b39fb56
new non-ambiguous syntax.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61559 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-02 07:02:56 +00:00
Oscar Fuentes
0c913735c7
CMake: Added some VC++ specific info to CMake.html.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61521 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-31 14:36:41 +00:00
Misha Brukman
8722a2cf44
* Updated TOC and fixed named anchors
...
* Simplified section header marking
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61482 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-29 21:33:30 +00:00
Misha Brukman
9e6b68dc1f
Minimize the width of the notes region: it will end where the text ends, if the
...
line of text is short enough, instead of stretching all the way to the right
margin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61481 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-29 21:25:09 +00:00
Misha Brukman
0427f7a4af
Simplified marking code regions with a single <pre> rather than
...
a (<div>, <pre>) combo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61480 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-29 21:20:51 +00:00
Misha Brukman
740e3db203
Center the legal note to give it even padding on left and right, and make it
...
stand out better.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61475 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-29 19:55:01 +00:00
Misha Brukman
ccd029507e
Cleanup: clarify llvm-gcc version and package name.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61474 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-29 19:38:58 +00:00
Duncan Sands
6531d477a2
Clarify a bit. Based on feedback by Talin.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61470 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-29 15:27:32 +00:00
Nick Lewycky
f23d0d392a
Resubmit support for the 'nocapture' attribute.
...
The problematic part of this patch is that we were out of attribute bits,
requiring some fancy bit hacking to make it fit (by shrinking alignment)
without breaking existing users or the file format.
This change will require users to rebuild llvm-gcc to match llvm.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61239 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-19 06:39:12 +00:00
Nick Lewycky
78eb804068
Recommit this grammar fix that was backed out along with nocapture.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61189 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-18 02:15:05 +00:00
Misha Brukman
a54d4b27b6
Simplified marking code regions -- no need to use <div> to surround <pre> tags.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61143 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-17 18:11:40 +00:00
Misha Brukman
b61065598e
Instead of referring to the license file in the 2.3 release, refer to the
...
always-current SVN version.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61142 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-17 18:06:53 +00:00
Misha Brukman
9474d019ee
Added mention of the RELEASE_24 tag for the 2.4 release.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61138 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-17 16:27:23 +00:00
Mikhail Glushenkov
2d0484c02c
Update also the generated docs.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61118 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-17 02:47:30 +00:00
Bill Wendling
6fa311c233
Temporarily revert r61019, r61030, and r61040. These were breaking LLVM Release
...
builds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61094 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-16 19:06:48 +00:00
Misha Brukman
64722e5163
* Comply with HTML 4.01 Strict
...
* Added code-region markings to code sections to make them stand out
* Added pre.doc_code class to llvm.css to simplify marking code regions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61072 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-16 03:07:49 +00:00
Misha Brukman
96e0081251
* Comply with HTML 4.01 Strict standard
...
* Converted absolute links to llvm.org/docs to relative links
* Fixed spelling and s/;/:/, as needed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61071 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-16 02:54:22 +00:00
Nick Lewycky
e642658480
Introducing nocapture, a parameter attribute for pointers to indicate that the
...
callee will not introduce any new aliases of that pointer.
The attributes had all bits allocated already, so I decided to collapse
alignment. Alignment was previously stored as a 16-bit integer from bits 16 to
32 of the attribute, but it was required to be a power of 2. Now it's stored in
log2 encoded form in five bits from 16 to 21. That gives us 11 more bits of
space.
You may have already noticed that you only need four bits to encode a 16-bit
power of two, so why five bits? Because the AsmParser accepted 32-bit
alignments, even though we couldn't store them (they were silently discarded).
Now we can store them in memory, but not in the bitcode.
The bitcode format was already storing these as 64-bit VBR integers. So, the
bitcode format stays the same, keeping the alignment values stored as 16 bit
raw values. There's some hideous code in the reader and writer that deals with
this, waiting to be ripped out the moment we run out of bits again and have to
replace the parameter attributes table encoding.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61019 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-15 01:34:58 +00:00