1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-02 00:42:52 +01:00
Commit Graph

3877 Commits

Author SHA1 Message Date
Tobias Grosser
1961507018 Document graphviz passes for the (post) dominator tree.
Add documentation for:
  -dot-dom
  -dot-dom-only
  -dot-postdom
  -dot-postdom-only
  -view-dom
  -view-dom-only
  -view-postdom
  -view-postdom-only

llvm-svn: 103251
2010-05-07 09:33:18 +00:00
mike-m
3baf2ffb17 Revert r103213. It broke several sections of live website.
llvm-svn: 103219
2010-05-07 00:28:04 +00:00
mike-m
a39025f688 Disable man->postscript and man->pdf doc generation unless explicitly
configured via --enable-doxygen. It seems some systems have broken pdfroff
so automatic use of it is not safe.

llvm-svn: 103217
2010-05-07 00:13:23 +00:00
mike-m
577b76fa16 Cleanup unneeded dirs after docs overhaul.
llvm-svn: 103215
2010-05-06 23:48:37 +00:00
mike-m
6b8861e9f6 Overhauled llvm/clang docs builds. Closes PR6613.
NOTE: 2nd part changeset for cfe trunk to follow.

*** PRE-PATCH ISSUES ADDRESSED

- clang api docs fail build from objdir
- clang/llvm api docs collide in install PREFIX/
- clang/llvm main docs collide in install
- clang/llvm main docs have full of hard coded destination
  assumptions and make use of absolute root in static html files;
  namely CommandGuide tools hard codes a website destination
  for cross references and some html cross references assume
  website root paths

*** IMPROVEMENTS

- bumped Doxygen from 1.4.x -> 1.6.3
- splits llvm/clang docs into 'main' and 'api' (doxygen) build trees
- provide consistent, reliable doc builds for both main+api docs
- support buid vs. install vs. website intentions
- support objdir builds
- document targets with 'make help'
- correct clean and uninstall operations
- use recursive dir delete only where absolutely necessary
- added call function fn.RMRF which safeguards against botched 'rm -rf';
  if any target (or any variable is evaluated) which attempts
  to remove any dirs which match a hard-coded 'safelist', a verbose
  error will be printed and make will error-stop.

llvm-svn: 103213
2010-05-06 23:45:43 +00:00
Chris Lattner
9a067dd51f Fix some ..'s
llvm-svn: 103134
2010-05-05 23:29:09 +00:00
Chris Lattner
b8bb38be5f one more thing.
llvm-svn: 103024
2010-05-04 18:16:00 +00:00
Chris Lattner
02f4f138bd update instructions for llvm-gcc4, the brave new world! PR7037
llvm-svn: 103023
2010-05-04 18:15:33 +00:00
Dan Gohman
0f6577e194 Update one more 2.7 to 2.8.
llvm-svn: 102978
2010-05-03 23:52:21 +00:00
Dan Gohman
43994b8cf0 Minimally update ReleaseNotes.html for 2.8 development; uncomment and
update the big red warning at the top. Most of the old content remains
and awaits revision.

Clear out the API changes section, and start it up again with a
mention of the add->fadd transition.

llvm-svn: 102977
2010-05-03 23:51:05 +00:00
Dan Gohman
85561664d5 Update this comment to note its relationship with the "happens-before"
concept in the proposed memory model changes.

llvm-svn: 102911
2010-05-03 14:59:34 +00:00
Dan Gohman
62ea5f981d Delete this comment. The behavior of struct loads and stores with
respect to padding bytes isn't something that the dependence text
needs to spell out.

llvm-svn: 102910
2010-05-03 14:58:14 +00:00
Dan Gohman
cb5781826c Describe invoke instruction dependencies. Generalize the text for
terminator instructions so that it applies to all terminators with
multiple successors, including invoke.

llvm-svn: 102909
2010-05-03 14:55:22 +00:00
Dan Gohman
55e93b2802 Say "operations" instead of "instructions", as nsw can be applied to
constant expressions as well as instructions.

llvm-svn: 102908
2010-05-03 14:51:43 +00:00
Duncan Sands
153ad3b903 Remove the -enable-sjlj-eh option, which doesn't do anything.
Remove the -enable-eh option which is only used by the JIT,
and replace it with -jit-enable-eh.

llvm-svn: 102865
2010-05-02 15:36:26 +00:00
David Chisnall
8bcbd32d28 Fixed @ctor / @dtor the wrong way around in last commit.
llvm-svn: 102741
2010-04-30 19:27:35 +00:00
David Chisnall
976f45eac9 Added a brief explanation of @llvm.global_{c,d}tors.
llvm-svn: 102740
2010-04-30 19:23:49 +00:00
Dan Gohman
9a9dc98868 Rewrite the section on trap values to contain a generic description
of dependence and define trap values in terms of dependence, instead
of trying to cover the concept with a flurry of ad-hoc rules.

The dependence model isn't complete yet, but it's already much more
rigorous than the description it replaces.

llvm-svn: 102479
2010-04-28 00:49:41 +00:00
Dan Gohman
f8eeafd9f1 Fix spelling errors.
llvm-svn: 102478
2010-04-28 00:36:01 +00:00
Chris Lattner
22d3b3b3b7 further clarify alignment of globals, fix instcombine
to not increase the alignment of globals with an assigned
alignment and section.

llvm-svn: 102476
2010-04-28 00:31:12 +00:00
Chris Lattner
3b199c318b improve the global variable alignment description.
it is not generally valid for targets to overalign
them when an alignment is specified.

llvm-svn: 102474
2010-04-28 00:13:42 +00:00
Chris Lattner
eee2e72653 fix wordo
llvm-svn: 102418
2010-04-27 07:28:11 +00:00
Chris Lattner
d0aac8b957 remove some comments.
llvm-svn: 102417
2010-04-27 06:57:10 +00:00
Dan Gohman
5aba2a8293 Integrate Jeffery Yasskin's suggestions with respect to
traps flowing through memory references, add some text to
better cover phi nodes and externally-visible side effects,
add an example of instructions being control-dependent
on a trap value, and reword some of the existing trap rules.

llvm-svn: 102399
2010-04-26 23:36:52 +00:00
Jeffrey Yasskin
0819d5660a Consolidate the description of volatile operations, now that some of the
intrinsics have volatile semantics in addition to the load and store
instructions.  

llvm-svn: 102384
2010-04-26 21:21:24 +00:00
Dan Gohman
bdcee3e015 Branching or switching on trap transfers imminent undefined behavior
onto control-dependent instructions.

llvm-svn: 102381
2010-04-26 20:54:53 +00:00
Gabor Greif
26e11650ef add some typewriter tags
llvm-svn: 102378
2010-04-26 20:46:03 +00:00
Dan Gohman
d051dc29ba Fix HTML errors that Jeffery Yasskin noticed.
llvm-svn: 102376
2010-04-26 20:21:21 +00:00
Chris Lattner
9f29bb8809 wrap some long lines.
llvm-svn: 102354
2010-04-26 17:42:18 +00:00
Chris Lattner
75c7989270 add GHC, thanks to David Terei
llvm-svn: 102352
2010-04-26 17:38:10 +00:00
Gabor Greif
115b2b2e36 another typo pointed out by sajd
llvm-svn: 102319
2010-04-25 21:30:22 +00:00
Gabor Greif
418a60ac3d fix two typos pointed out by sajd
llvm-svn: 102318
2010-04-25 21:27:54 +00:00
David Chisnall
0c13a0405d Added bullet about GNUstep Objective-C ABI support to the Clang section of the release notes.
llvm-svn: 102309
2010-04-25 19:13:33 +00:00
Dan Gohman
63f016a4b5 PHI nodes also do not necessarily return trap with a trap operand.
llvm-svn: 102278
2010-04-24 22:15:58 +00:00
Nick Lewycky
0fef330e6b Fix typo.
llvm-svn: 102276
2010-04-24 22:01:40 +00:00
Dan Gohman
cc14435fdf Switch getelementptr inbounds and sdiv exact from undef to trap.
llvm-svn: 102175
2010-04-23 15:23:32 +00:00
Dan Gohman
a75ad3c1ca Add an initial description of a new concept: trap values, and change
the definition of the nsw and nuw flags to make use of it.

nsw was introduced to help optimizers answer yes to the following:

  // Can we change i from i32 to i64 to eliminate the cast inside the loop?
  for (int i = 0; i < n; ++i) A[i] *= 0.1;

  // Can we assume that this loop will eventually terminate?
  for (int i = 0; i <= n; ++i) A[i] *= 0.1;

In its current form, it isn't truly sufficient for either.

In the first case, if the increment overflows, it'll still have some
valid i32 value; sign-extending it will produce a value which is 33
homogeneous sign bits trailed by 31 independent undef bits. If i is
promoted to i64, it won't have those same values when it reaches that
point. (The compiler could recover here by reasoning about how i is
used by the load, but that's a lot more complicated and isn't always
possible.)

In the second case, there is no value for i which will be greater than
n, so having the increment return undef on overflow doesn't help.

Trap values are a formalization of some existing concepts that we have
about LLVM IR, and give the optimizers a better basis for answering yes
to both questions above.

llvm-svn: 102140
2010-04-22 23:14:21 +00:00
Chris Lattner
1c39e01255 add macruby back
llvm-svn: 102132
2010-04-22 21:34:16 +00:00
Dan Gohman
e4787844ea Add a blurb about the new LSR.
llvm-svn: 102126
2010-04-22 20:50:43 +00:00
Nick Lewycky
a75e358709 The -condprop pass has been deleted.
llvm-svn: 102125
2010-04-22 20:48:34 +00:00
Dan Gohman
70f0f7f0d3 The post-RA scheduler is currently off by default on x86.
llvm-svn: 102124
2010-04-22 20:47:28 +00:00
Douglas Gregor
56d10f2b15 Add some verbiage about Clang to the 2.7 release notes
llvm-svn: 102121
2010-04-22 20:42:40 +00:00
Jim Grosbach
caf6c99d1c Add mention of ARM atomic builtin support
llvm-svn: 102103
2010-04-22 18:33:31 +00:00
Jim Grosbach
d6e2566355 Update ARM frame index scavenging description
llvm-svn: 102101
2010-04-22 18:28:43 +00:00
Chris Lattner
309aa11350 remove dupe
llvm-svn: 102100
2010-04-22 18:26:17 +00:00
Chris Lattner
6233e00e2a reword my incoherent babble into something that makes sense
from Wesley Peck!

llvm-svn: 102096
2010-04-22 17:39:38 +00:00
Chris Lattner
dfdc7fccda two more projects.
llvm-svn: 102095
2010-04-22 17:28:36 +00:00
Chris Lattner
ed23fe4cff add some notes from Matthieu Moy!
llvm-svn: 102093
2010-04-22 17:25:00 +00:00
Chris Lattner
fc13e24c81 improve tblgen doc, pointed out by Zhongxing.
llvm-svn: 102072
2010-04-22 16:45:27 +00:00
Wesley Peck
8f150ced6d Fixing a typo in the "Clang project" section of the release notes.
llvm-svn: 102064
2010-04-22 14:19:00 +00:00
Wesley Peck
b295a50091 Small fix to the "Other Improvements and New Features" section of the release notes.
llvm-svn: 102063
2010-04-22 13:53:54 +00:00
Wesley Peck
dc9ba0134b Fixing small typos in the "New Useful APIs" section of the release notes.
llvm-svn: 102062
2010-04-22 13:50:46 +00:00
Wesley Peck
7f83cbe232 Fixing small typos in the "ARM Target Improvements" section of the release notes.
llvm-svn: 102061
2010-04-22 13:43:14 +00:00
Wesley Peck
cb022ed0ce Rewording the "generated debug information" paragraph in the "Interpreter and JIT Improvements" section of the release notes.
llvm-svn: 102060
2010-04-22 13:36:27 +00:00
Wesley Peck
e625128571 Reworking the wording of the "target data string" paragraph in the "Optimizer Improvments" section of the release notes.
llvm-svn: 102059
2010-04-22 13:28:34 +00:00
Gabor Greif
13e1b5b1f1 <pre> seems to close <p>
llvm-svn: 102057
2010-04-22 10:25:23 +00:00
Gabor Greif
354e1c3939 the validator coughed up some problems, most of them fixed
llvm-svn: 102056
2010-04-22 10:21:43 +00:00
Gabor Greif
635f76d9de shorten link
llvm-svn: 102055
2010-04-22 10:11:24 +00:00
Chris Lattner
8ff3e6506e static analyzer has its own section
llvm-svn: 102054
2010-04-22 06:39:56 +00:00
Chris Lattner
649d0d8f2f add mc and static analyzer blurbs.
llvm-svn: 102053
2010-04-22 06:38:11 +00:00
Chris Lattner
5f414c7e6c another checkpoint.
llvm-svn: 102052
2010-04-22 06:28:20 +00:00
Chris Lattner
6335b2f168 various updates.
llvm-svn: 102051
2010-04-22 05:41:35 +00:00
Duncan Sands
3a53ba12eb Dragonegg will be released along side llvm-2.7.
llvm-svn: 102001
2010-04-21 13:51:48 +00:00
Chris Lattner
97c2f2650f final hacking for tonight, still more to go.
llvm-svn: 101995
2010-04-21 06:42:24 +00:00
Chris Lattner
10da8920ca continue the process of detangling this.
llvm-svn: 101992
2010-04-21 06:23:40 +00:00
Chris Lattner
53633d42d1 rough pass moving stuff into relevant sections, still much
editing to do.

llvm-svn: 101987
2010-04-21 05:17:40 +00:00
Chris Lattner
02810a9a52 remove ldc, rubinious, macruby, icedtea, llvm-lua, which
don't have updates for 2.7.

llvm-svn: 101985
2010-04-21 04:28:21 +00:00
Duncan Sands
8c2c90c3f9 I plan to release a version of dragonegg based on llvm-2.7 shortly
after the llvm-2.7 release.

llvm-svn: 101934
2010-04-20 19:40:58 +00:00
Nick Lewycky
35e42e1c73 Refresh this documentation. Things have changed a bit in the mean time:
- LLVMgold.so --> libLLVMgold.so
 - the GCC LTO project is no longer 'upcoming'
 - document the plugin support for 'ar' and 'nm'

llvm-svn: 101624
2010-04-17 07:00:24 +00:00
Chris Lattner
acc2443e60 update docs for api change.
llvm-svn: 101566
2010-04-16 23:07:44 +00:00
Chris Lattner
9cb8ee9b57 completed my pass over all 6+ months of commits, next step, format and make comprehendable.
llvm-svn: 101449
2010-04-16 06:20:22 +00:00
Duncan Sands
89431f240a Pointed out by housel on #llvm.
llvm-svn: 101395
2010-04-15 20:35:54 +00:00
Chris Lattner
357413197e checkpoint.
llvm-svn: 101118
2010-04-13 06:37:00 +00:00
Bob Wilson
adb1da2978 Fix a grammaro.
llvm-svn: 100877
2010-04-09 18:39:54 +00:00
Chris Lattner
2b868eff9b typo
llvm-svn: 100738
2010-04-08 00:54:34 +00:00
Chris Lattner
a9fcf0a3d7 document isvolatile etc.
llvm-svn: 100737
2010-04-08 00:53:57 +00:00
Mon P Wang
59f3cab93b Update langref for memcpy, memmove, and memset
llvm-svn: 100611
2010-04-07 06:35:53 +00:00
Chris Lattner
122572e13a Have the inst emitter add the !srcloc mdnode to the machine instr.
Have the asmprinter use the mdnode to scavenge a source location if
present.  Document this nonsense in langref.

llvm-svn: 100607
2010-04-07 05:38:05 +00:00
John Criswell
1360040370 Adding SAFECode to the list of projects that work with LLVM 2.7.
llvm-svn: 100525
2010-04-06 14:52:14 +00:00
Tanya Lattner
899c498b79 Update to note that clang has a baseline now. Dropping x86-32 for MacOS.
llvm-svn: 100447
2010-04-05 18:35:37 +00:00
Nick Lewycky
828e7cab3e Add MC and LTO, two terms I just had to explain on IRC.
llvm-svn: 100413
2010-04-05 05:48:47 +00:00
Chris Lattner
89c15f926a don't reference DwarfWriter
llvm-svn: 100401
2010-04-05 04:11:11 +00:00
Duncan Sands
7a7fb5d551 Add notes about dragonegg.
llvm-svn: 100183
2010-04-02 09:23:15 +00:00
Erick Tryzelaar
b37a245d5f There are no known O'Caml problems at the moment.
llvm-svn: 100076
2010-04-01 01:53:24 +00:00
Nick Lewycky
967cac7bf6 Small fixes to this documentation. Remove mention of uint/int type, fix typo
in 'number'.

llvm-svn: 100001
2010-03-31 07:50:17 +00:00
Dan Gohman
4bdd10c6df Fix a grammaro.
llvm-svn: 99917
2010-03-30 20:04:57 +00:00
Chris Lattner
2310e31a42 some other notes.
llvm-svn: 99826
2010-03-29 18:42:42 +00:00
Chris Lattner
43f030add2 apparently llvm 2.7 now has great armv4 support, from
John Tytgat

llvm-svn: 99825
2010-03-29 18:39:28 +00:00
Chris Lattner
6c6aaee1f1 update the vmkit blurb
llvm-svn: 99824
2010-03-29 18:34:13 +00:00
Chris Lattner
af08584e6e add tce
llvm-svn: 99820
2010-03-29 17:50:39 +00:00
Chris Lattner
d2dd416772 remove parallel support.
llvm-svn: 99703
2010-03-27 02:53:27 +00:00
Gabor Greif
a9b9d7cd8b fix iterator name
llvm-svn: 99646
2010-03-26 19:59:25 +00:00
Dan Gohman
409aed7b50 Minor grammar and html fixes.
llvm-svn: 99644
2010-03-26 19:51:14 +00:00
Gabor Greif
77e468da11 some more tweaks
llvm-svn: 99643
2010-03-26 19:40:38 +00:00
Dan Gohman
746a971656 Tell "the rest of the story" about LLVM's iterators' implicit conversions.
llvm-svn: 99642
2010-03-26 19:39:05 +00:00
Gabor Greif
ab4f7619d9 fix formatting and a validation fail
llvm-svn: 99640
2010-03-26 19:35:48 +00:00
Gabor Greif
b719c76f21 add a blurb on const versions of chain traversals and a word of caution
llvm-svn: 99638
2010-03-26 19:30:47 +00:00
Devang Patel
341502ebd8 Add a paragram describing how to extract line number information.
llvm-svn: 99636
2010-03-26 19:08:36 +00:00
Gabor Greif
f823bd13ae http://englishplus.com/grammar/00000296.htm
llvm-svn: 99635
2010-03-26 19:04:42 +00:00
Daniel Dunbar
f580fde5f7 Sketch a few Clang release notes.
llvm-svn: 99512
2010-03-25 16:09:18 +00:00
Dan Gohman
8493042e4d Docuemntation corrections from John Myers.
llvm-svn: 99454
2010-03-25 00:03:04 +00:00
Erick Tryzelaar
c20300df21 Fix the ocaml kaleidoscope tutorial to fix linking external libraries.
llvm-svn: 99151
2010-03-21 23:15:13 +00:00
Daniel Dunbar
31954e0f7e Drop KLEE blurb, we don't have anything new.
llvm-svn: 98922
2010-03-19 03:18:05 +00:00
Wesley Peck
8d573bace6 Adding MicroBlaze as an experimental backend in the release notes
llvm-svn: 98824
2010-03-18 14:31:30 +00:00
Chris Lattner
60538afb4b add a couple blurbs back
llvm-svn: 98809
2010-03-18 06:52:15 +00:00
Chris Lattner
2a10d0d197 notes from evan
llvm-svn: 98748
2010-03-17 18:15:52 +00:00
Chris Lattner
8864749531 several updates
llvm-svn: 98742
2010-03-17 17:25:49 +00:00
John Criswell
45030b2aec Fixed spelling errors.
llvm-svn: 98724
2010-03-17 15:01:50 +00:00
Chris Lattner
908eb01656 combiner-aa too, what's its status?
llvm-svn: 98715
2010-03-17 06:42:25 +00:00
Chris Lattner
b59b74df31 more chris scribble.
llvm-svn: 98714
2010-03-17 06:41:58 +00:00
Chris Lattner
b66f9c24a7 add a bunch of random and unformatted notes as I am reading
through tons of old commits.

llvm-svn: 98709
2010-03-17 04:41:49 +00:00
Chris Lattner
5da0364420 add logo, comment out project info, they need to send updates
to get reincluded.

llvm-svn: 98706
2010-03-17 04:02:39 +00:00
Chris Lattner
a0ac2d995f various cleanups from daniel
llvm-svn: 98528
2010-03-15 04:12:21 +00:00
Chris Lattner
7c46b31729 tidy up and expound more on how half-float works.
llvm-svn: 98524
2010-03-14 23:03:31 +00:00
Anton Korobeynikov
51a709db4d Document fp16 intrinsics
llvm-svn: 98505
2010-03-14 18:42:47 +00:00
Chris Lattner
d6d11e53ab add support, testcases, and dox for the new GHC calling
convention.  Patch by David Terei!

llvm-svn: 98212
2010-03-11 00:22:57 +00:00
Dan Gohman
107b6faef5 Clarify the documentation for MachineFunctionPasses.
llvm-svn: 98119
2010-03-10 01:29:39 +00:00
Devang Patel
4995bb0450 Start using DIFile. See updated SourceLevelDebugging.html for more information.
This patch updates LLVMDebugVersion to 8.
Debug info descriptors encoded using LLVMDebugVersion 7 is supported.

Corresponding llvmgcc and clang FE commits are required.

llvm-svn: 98020
2010-03-09 00:44:10 +00:00
Evan Cheng
cfe037000a Add documentation on sibling call optimization. Rename tailcall2.ll test to sibcall.ll.
llvm-svn: 97980
2010-03-08 21:05:02 +00:00
Erick Tryzelaar
78095fc0b5 Update the OCaml Kaleidoscope tutorial.
llvm-svn: 97965
2010-03-08 19:32:18 +00:00
Devang Patel
79a4a71472 Add metadata example.
llvm-svn: 97764
2010-03-04 23:44:48 +00:00
Erick Tryzelaar
4e7593750d Rewrite makefiles to explicitly reference DESTDIR to fix bug 3153.
We need this so can not bake DESTDIR into the O'Caml symlinks.

llvm-svn: 97743
2010-03-04 20:56:19 +00:00
Chris Lattner
56c9bd0c6b attributes are not part of types anymore, patch by James Woodyatt!
llvm-svn: 97557
2010-03-02 06:36:51 +00:00
Dan Gohman
37bf232609 Floating-point add, sub, and mul are now spelled fadd, fsub, and fmul,
respectively.

llvm-svn: 97531
2010-03-02 01:11:08 +00:00
Dan Gohman
df1b620863 PerformTailCallOpt was renamed to GuaranteedTailCallOpt to
better reflect its meaning, now that tail call optimizations
are done by default in some cases.

llvm-svn: 97530
2010-03-02 01:08:11 +00:00
Chris Lattner
302e7118ed note that andersaa was removed in 2.7
llvm-svn: 97484
2010-03-01 19:29:17 +00:00
Chris Lattner
ebb4fbf691 remove anders-aa from mainline, it isn't maintained and is
tantalyzing enough that people keep trying to use it.

llvm-svn: 97483
2010-03-01 19:24:17 +00:00
Dan Gohman
f244a308c4 Fix spelling.
llvm-svn: 97447
2010-03-01 17:41:39 +00:00
Chris Lattner
bbb7d72497 I'm removing andersaa after the branch is made.
llvm-svn: 97409
2010-02-28 18:57:59 +00:00
Dan Gohman
99c6bcbc13 The mayHaveSideEffects flag is no longer used.
llvm-svn: 97348
2010-02-27 23:47:46 +00:00
Jeffrey Yasskin
cbd5ec830f Test that docs are updating.
llvm-svn: 97279
2010-02-26 22:25:06 +00:00
Tanya Lattner
ffc8e87d98 Test autoupdate.
llvm-svn: 97266
2010-02-26 21:23:59 +00:00
Tanya Lattner
519c2d0325 Test auto update.
llvm-svn: 97265
2010-02-26 21:19:09 +00:00
Jeffrey Yasskin
4498daa280 Remove REQUIRES_EH from the suggested set of make variables, since users can
build with exceptions even if LLVM is built without.

llvm-svn: 97260
2010-02-26 20:43:33 +00:00
Dan Gohman
61830209a6 Fix typos in comments.
llvm-svn: 97257
2010-02-26 20:18:32 +00:00
Jeffrey Yasskin
96dee852f2 Set svn:keywords property on docs/Packaging.html.
llvm-svn: 97230
2010-02-26 18:07:00 +00:00
Jeffrey Yasskin
52214fbeeb Add to the packaging advice.
llvm-svn: 97229
2010-02-26 18:03:43 +00:00
Dan Gohman
487127ce68 Fix a typo.
llvm-svn: 97206
2010-02-26 02:15:17 +00:00
Jeffrey Yasskin
d6401732f5 Give packagers some advice about how to build LLVM so it's useful to
the most users.

llvm-svn: 97198
2010-02-26 00:54:42 +00:00
Dan Gohman
f433645431 Fix a few more typos.
llvm-svn: 97182
2010-02-25 23:51:27 +00:00
Dan Gohman
72d455709c Fix a typo.
llvm-svn: 97181
2010-02-25 23:41:41 +00:00
Bill Wendling
25090c690a Fix HTML.
llvm-svn: 97170
2010-02-25 21:23:24 +00:00
Dan Gohman
c4d2315616 stkrc is gone.
llvm-svn: 97156
2010-02-25 18:18:49 +00:00
Dan Gohman
1cb8720346 Merge the advanced getelementptr FAQ into the regular
getelementptr FAQ.

llvm-svn: 97154
2010-02-25 18:16:03 +00:00
Dan Gohman
8428b7f9a0 Fix a typo.
llvm-svn: 97144
2010-02-25 16:51:31 +00:00
Dan Gohman
a34a47406d Clarify the description of pointer types, and move the
address space content to its own paragraph.

llvm-svn: 97143
2010-02-25 16:50:07 +00:00
Dan Gohman
fe70c08c09 Remove this paragraph. Vectors may not always have the same layout as
arrays now.

llvm-svn: 97139
2010-02-25 15:53:42 +00:00
Daniel Dunbar
bfb3858de0 Add LLVM{CC,CXX} make variables, which specify the configured path the LLVM
capable compilers (which could be llvm-gcc or clang).

llvm-svn: 96935
2010-02-23 10:00:53 +00:00
Daniel Dunbar
93911572ff Eliminate llvmgcc_version testing variable.
llvm-svn: 96908
2010-02-23 07:56:28 +00:00
Daniel Dunbar
cb977c7241 Kill unused llvmgccmajvers testing variable.
llvm-svn: 96906
2010-02-23 07:56:18 +00:00
Dan Gohman
f8e12a593d Update LangRef to match the code; pointers default to being 64-bit.
llvm-svn: 96873
2010-02-23 02:44:03 +00:00
Dan Gohman
4fc21185cc Clarify that ptrtoint+inttoptr are an alternative to GEP which are
not restricted by the GEP rules.

llvm-svn: 96598
2010-02-18 18:40:29 +00:00
Dan Gohman
c3b7c57bb0 Fix a typo.
llvm-svn: 96597
2010-02-18 18:22:41 +00:00
Dan Gohman
d6397d8097 Clarify that the rules about object hopping kick in when a pointer is
deferenced, rather than when the pointer value is computed.

llvm-svn: 96596
2010-02-18 18:22:18 +00:00
Dan Gohman
a3a061eab9 Fix typos Duncan noticed.
llvm-svn: 96594
2010-02-18 18:19:17 +00:00
Duncan Sands
b7bb8ab12e Uniformize the way these options are printed. Requested by
Russell Wallace.

llvm-svn: 96580
2010-02-18 14:37:52 +00:00
Duncan Sands
ca05b607b7 Refer to -help instead of --help since this is what tools themselves say.
Also, have tools output -help-hidden rather than refer to --help-hidden,
for consistency, and likewise adjust documentation.  This doesn't change
every mention of --help, only those which seemed clearly safe.

llvm-svn: 96578
2010-02-18 14:08:13 +00:00
Dan Gohman
2324463069 Make this an unnumbered list.
llvm-svn: 96528
2010-02-17 22:54:10 +00:00
Dan Gohman
0053291bb5 HTML validation fixes.
llvm-svn: 96527
2010-02-17 22:50:12 +00:00
Dan Gohman
b07c61ac51 Add an "advanced" GetElementPtr FAQ document, with answers to
questions left unanswered by the first GetElementPtr FAQ.

llvm-svn: 96526
2010-02-17 22:47:06 +00:00
Chris Lattner
f4a6f4d0ef irbuilder is doing constant folding now by default, PR6092
llvm-svn: 96502
2010-02-17 19:54:34 +00:00
Chris Lattner
9af1b53985 fix some out of date prose dating from the LLVMContext changes.
llvm-svn: 96500
2010-02-17 19:51:31 +00:00
Chris Lattner
96be7e85dc add optional debian instructions, PR6272
llvm-svn: 96488
2010-02-17 18:33:13 +00:00
Duncan Sands
96fead3488 Mention an API change.
llvm-svn: 96480
2010-02-17 17:20:17 +00:00
David Greene
c10133139e Add support for emitting non-temporal stores for DAGs marked
non-temporal.  Fix from r96241 for botched encoding of MOVNTDQ.

Add documentation for !nontemporal metadata.

Add a simpler movnt testcase.

llvm-svn: 96386
2010-02-16 20:50:18 +00:00
Duncan Sands
2acaf3609c Uniformize the names of type predicates: rather than having isFloatTy and
isInteger, we now have isFloatTy and isIntegerTy.  Requested by Chris!

llvm-svn: 96223
2010-02-15 16:12:20 +00:00
Daniel Dunbar
59ecca73a9 2.7: Note that DataTypes.h moved.
llvm-svn: 96143
2010-02-14 01:47:19 +00:00
Chris Lattner
2265d6280b Add support for a union type in LLVM IR. Patch by Talin!
llvm-svn: 96011
2010-02-12 20:49:41 +00:00
Charles Davis
d69c12ecc6 Add a new function attribute, 'alignstack'. It will indicate (when the backends
implement support for it) that the stack should be forcibly realigned in the
prologue (and the process reversed in the epilogue).

llvm-svn: 95945
2010-02-12 00:31:15 +00:00
Anton Korobeynikov
76b8d76b39 Document binutils requirements for coff targets (cygwin / mingw32).
llvm-svn: 95928
2010-02-11 21:51:51 +00:00
Dan Gohman
c69b856563 llvm-db was removed.
llvm-svn: 95904
2010-02-11 19:35:26 +00:00
Jeffrey Yasskin
472348ab92 Make Kaleidoscope not link against the interpreter, since that didn't
work anyway (Interpreter::getPointerToFunction doesn't return a
callable pointer), and improve the error message when an
ExecutionEngine can't be created.

llvm-svn: 95896
2010-02-11 19:15:20 +00:00
Jeffrey Yasskin
8a1ee8f852 Make it possible to create multiple JIT instances at the same time, by removing
the global TheJIT and TheJITResolver variables.  Lazy compilation is supported
by a global map from a stub address to the JITResolver that knows how to
compile it.

Patch by Olivier Meurant!

llvm-svn: 95837
2010-02-11 01:07:39 +00:00
Dan Gohman
8c140d394f Add support to llvm-extract for extracting multiple functions and/or
multiple global variables at a time.

llvm-svn: 95825
2010-02-10 23:58:53 +00:00
Daniel Dunbar
4e9161800a Add a ReleaseNotes FIXME.
llvm-svn: 95764
2010-02-10 04:09:52 +00:00
Jeffrey Yasskin
f7833b76ca Make --disable-libffi work on systems with libffi installed. Also
make no-ffi the default even on systems with libffi.  This fixes
http://llvm.org/PR5018.

llvm-svn: 95712
2010-02-09 23:03:44 +00:00
Duncan Sands
70a24159d2 Fix some typos.
llvm-svn: 95542
2010-02-08 11:03:31 +00:00
Jakob Stoklund Olesen
83ebc265b3 Reintroduce the InlineHint function attribute.
This time it's for real! I am going to hook this up in the frontends as well.

The inliner has some experimental heuristics for dealing with the inline hint.
When given a -respect-inlinehint option, functions marked with the inline
keyword are given a threshold just above the default for -O3.

We need some experiments to determine if that is the right thing to do.

llvm-svn: 95466
2010-02-06 01:16:28 +00:00
Jeffrey Yasskin
25be4b094c Make docs less specific about their versions, at Chris's suggestion.
llvm-svn: 95231
2010-02-03 18:49:55 +00:00
Jeffrey Yasskin
45ef2ed050 Mention the version in the documentation index and link to the 2.6 docs, which
is what most readers will actually be aiming for.

llvm-svn: 95229
2010-02-03 18:23:23 +00:00
Dan Gohman
8f03e98627 Add "Author Date Id Revision" svn:keyword properties to these files, as
is done with the other html files in doc, to hopefully keep strings like
"Last modified" current.

llvm-svn: 95225
2010-02-03 17:27:31 +00:00
Chris Lattner
fa04a6e968 Inline addAssemblyEmitter into its one real caller and delete
the -print-emitted-asm option.  The JIT shouldn't have to pull
in the asmprinter.

llvm-svn: 95100
2010-02-02 18:44:12 +00:00
Jeffrey Yasskin
394da72ecc Belatedly document r85295 and r85330.
llvm-svn: 94825
2010-01-29 19:10:38 +00:00
Jim Grosbach
7474937004 Update of 94055 to track the IR level call site information via an intrinsic.
This allows code gen and the exception table writer to cooperate to make sure
landing pads are associated with the correct invoke locations.

llvm-svn: 94726
2010-01-28 01:45:32 +00:00
Jeffrey Yasskin
fb794eb907 Record the death of ModuleProvier and GhostLinkage in the release notes and
give upgrade instructions.

llvm-svn: 94723
2010-01-28 01:41:20 +00:00
Jeffrey Yasskin
b587f073e5 Truncate the release notes so they're ready to accumulate notes for the 2.7 release.
llvm-svn: 94720
2010-01-28 01:14:43 +00:00
Jeffrey Yasskin
fb10587e50 Kill ModuleProvider and ghost linkage by inverting the relationship between
Modules and ModuleProviders. Because the "ModuleProvider" simply materializes
GlobalValues now, and doesn't provide modules, it's renamed to
"GVMaterializer". Code that used to need a ModuleProvider to materialize
Functions can now materialize the Functions directly. Functions no longer use a
magic linkage to record that they're materializable; they simply ask the
GVMaterializer.

Because the C ABI must never change, we can't remove LLVMModuleProviderRef or
the functions that refer to it. Instead, because Module now exposes the same
functionality ModuleProvider used to, we store a Module* in any
LLVMModuleProviderRef and translate in the wrapper methods.  The bindings to
other languages still use the ModuleProvider concept.  It would probably be
worth some time to update them to follow the C++ more closely, but I don't
intend to do it.

Fixes http://llvm.org/PR5737 and http://llvm.org/PR5735.

llvm-svn: 94686
2010-01-27 20:34:15 +00:00
Chris Lattner
b05aa7f639 no need to implement these.
llvm-svn: 94443
2010-01-25 20:37:36 +00:00
Chris Lattner
2e8baf1561 reduce redundant are's.
llvm-svn: 94008
2010-01-20 17:53:51 +00:00
Chris Lattner
72b0268918 add a thing to investigate.
llvm-svn: 93659
2010-01-16 21:25:13 +00:00
Chris Lattner
c94ab2c354 move "Metadata Nodes and Metadata Strings" section to the right place in the
document and edit it.

llvm-svn: 93559
2010-01-15 21:50:19 +00:00
Eric Christopher
3c5d9dc0e3 Remove the InlineHint attribute. There are no current or planned
users.

llvm-svn: 93558
2010-01-15 21:36:30 +00:00
Chris Lattner
c282e8bbaf mention that unwind isn't to be trusted, patch by Dustin Laurence
llvm-svn: 93518
2010-01-15 18:08:37 +00:00
Victor Hernandez
d0abf2df95 Add documentation for llvm.dbg.value intrinsic
llvm-svn: 93203
2010-01-11 22:53:48 +00:00
Devang Patel
245046024d Add top level section for named metadata.
llvm-svn: 93172
2010-01-11 19:35:55 +00:00
Jeffrey Yasskin
42686afc01 Improve unclear bits and inaccuracies in structure and insertvalue
documentation.

Patch by Dustin Laurence!

llvm-svn: 93170
2010-01-11 19:19:26 +00:00
Jeffrey Yasskin
7ce78561e3 Update the -tailcallopt description to match djg's improvements to the calling
convention. 

llvm-svn: 93167
2010-01-11 18:53:47 +00:00
Chris Lattner
776dc048ef add 3 passes which have been added but aren't used afaik.
llvm-svn: 93080
2010-01-09 22:30:40 +00:00
Jeffrey Yasskin
c514410b5e Clarify the requirements for a "tail call" to actually be optimized into a
jump.  People clearly weren't finding the extra requirements in
CodeGenerator.html.

llvm-svn: 93070
2010-01-09 19:44:16 +00:00
Chris Lattner
c6ac6d3531 improve documentation for linkonce to be less confusing.
llvm-svn: 93066
2010-01-09 19:15:14 +00:00
Eric Christopher
79200db8b8 Grammar thinko.
llvm-svn: 93027
2010-01-08 21:42:39 +00:00
Devang Patel
ab66612f1b NamedMDNode is a collection MDNodes.
llvm-svn: 92761
2010-01-05 20:41:31 +00:00
David Greene
19324a5b81 Add an !eq() operator to TableGen. It operates on strings only.
Use !cast<string>() to compare other types of objects.

llvm-svn: 92754
2010-01-05 19:11:42 +00:00
Dan Gohman
77ec0f447e Add an entry on SmallBitVector.
llvm-svn: 92747
2010-01-05 18:24:00 +00:00
Mikhail Glushenkov
4596e712eb Regenerate.
llvm-svn: 91999
2009-12-23 12:49:51 +00:00
Eric Christopher
496de21731 Update docs for bitcode changes. For object size checking we won't
work with partial objects so just count the type as a boolean. Update
appropriately.

llvm-svn: 91954
2009-12-23 00:29:49 +00:00
Jim Grosbach
f0ce3421ee Add more detail for getting started on Windows.
Patch from jon.forums at gmail.com

llvm-svn: 91603
2009-12-17 17:18:11 +00:00
Mikhail Glushenkov
43372db9d7 Regenerate.
llvm-svn: 91595
2009-12-17 07:49:26 +00:00
Bob Wilson
af69586aff Rearrange rules to add missing dependency and allow parallel makes.
llvm-svn: 91352
2009-12-14 22:44:22 +00:00
Anton Korobeynikov
4e845b12dd Add note about loadable modules on windows.
Patch by Gregory Petrosyan!

llvm-svn: 90972
2009-12-09 17:26:02 +00:00
Mikhail Glushenkov
3ad0534b04 Regenerate.
llvm-svn: 90776
2009-12-07 18:26:24 +00:00
Eric Christopher
2a9b28c14b More updates to objectsize intrinsic docs.
llvm-svn: 90644
2009-12-05 02:46:03 +00:00
Eric Christopher
89bb07c217 Update per Bill's comments. Work in progress.
llvm-svn: 90271
2009-12-01 22:28:41 +00:00
Mikhail Glushenkov
f30281e08a Support -[weak_]framework and -F in llvmc.
llvm-svn: 90210
2009-12-01 05:59:55 +00:00
Oscar Fuentes
d34503f4a0 Add two CMake flags LLVM_ENABLE_PEDANTIC and LLVM_ENABLE_WERROR,
PEDANTIC defaults to ON and WERROR default to off.

Also add MSVC warnings. To disable warnings add the flags
LLVM_ENABLE_WARNINGS (default on).

Patch by Tobias Grosser!

llvm-svn: 90188
2009-12-01 02:21:51 +00:00
Bill Wendling
8cd7f1260b Remove some validation errors.
llvm-svn: 90184
2009-12-01 00:59:58 +00:00
Bill Wendling
6d6873053a Some formatting and spelling fixes.
llvm-svn: 90182
2009-12-01 00:53:11 +00:00
Eric Christopher
859360e596 First pass at llvm.objectsize documentation.
llvm-svn: 90116
2009-11-30 08:03:53 +00:00
Nick Lewycky
ff21b7c592 Remove the 'simple jit' tutorial as it wasn't really being maintained and its
material is covered by the Kaleidoscope tutorial.

llvm-svn: 90111
2009-11-30 04:23:17 +00:00
Duncan Sands
d68bde384e Vector types are no longer required to have a power-of-two length.
llvm-svn: 90004
2009-11-27 13:38:03 +00:00
Duncan Sands
a255c38866 These code generator limitations have been removed.
llvm-svn: 90003
2009-11-27 12:33:22 +00:00
Devang Patel
e26b5983d2 Update to reflect recent debugging information encoding changes.
llvm-svn: 89896
2009-11-25 23:28:01 +00:00
Oscar Fuentes
6cbe196ddc CMake: generate targets for tools and examples even when
LLVM_BUILD_TOOLS or LLVM_BUILD_EXAMPLES are OFF.

llvm-svn: 89635
2009-11-23 00:21:43 +00:00
Daniel Dunbar
1b60708ac9 Allow '_' in FileCheck variable names, it is nice to have at least one
separate character.
 - Chris, OK?

llvm-svn: 89626
2009-11-22 22:07:50 +00:00
Daniel Dunbar
0df7d52ac1 Update doc re: LLVM_BUILD_EXAMPLES.
llvm-svn: 89607
2009-11-22 18:27:51 +00:00
Chris Lattner
b6ecd40652 Remove the AliasAnalysis::getMustAliases method, which is dead.
The hasNoModRefInfoForCalls isn't worth it as a filter because 
basicaa provides m/r info and everything chains to it, so remove
it.

llvm-svn: 89599
2009-11-22 16:01:44 +00:00
Jay Foad
ae8a85d008 Fix HTML formatting.
llvm-svn: 89093
2009-11-17 13:13:59 +00:00
Daniel Dunbar
a812eb66b3 lit: Add --repeat=N option, for running each test N times.
- Currently just useful for timing, although it could be extended as one (bad) way to deal with flaky tests.

llvm-svn: 88827
2009-11-15 01:02:09 +00:00
Daniel Dunbar
9b762e5350 lit: Start documentation testing architecture.
llvm-svn: 86655
2009-11-10 02:41:27 +00:00
Dan Gohman
b696ff22f7 The inbounds keyword isn't relevant to overindexing of
static array types. Thanks to Duncan for pointing this out!

llvm-svn: 86576
2009-11-09 19:01:53 +00:00
Dan Gohman
e2afe7c1c7 Remove the "special case" for zero-length arrays, and rephrase this
paragraph to be more precise.

llvm-svn: 86572
2009-11-09 18:40:39 +00:00
Chris Lattner
cdefc1c441 add the ability for TargetData to return information about legal integer
datatypes on a given CPU.  This is intended to allow instcombine and other
transformations to avoid converting big sequences of operations to an
inconvenient width, and will help clean up after SRoA.  See also "Adding 
legal integer sizes to TargetData" on Feb 1, 2009 on llvmdev, and PR3451.

Comments welcome.

llvm-svn: 86370
2009-11-07 09:35:34 +00:00
Daniel Dunbar
47718a1f47 lit: Add --param NAME=VALUE option, for test suite specific use (to communicate
arbitrary command line arguments to the test suite).

llvm-svn: 86137
2009-11-05 16:27:33 +00:00
Nick Lewycky
cabcab867f The magic for our current brand of .bc files is BC. For older ones it was llvc.
When was it ever "llvm"?

llvm-svn: 86009
2009-11-04 06:15:28 +00:00
Chris Lattner
8121c7cf9c fix broken link
llvm-svn: 85951
2009-11-03 21:50:09 +00:00
Bill Wendling
772f96dca7 Add missing end-tag.
llvm-svn: 85769
2009-11-02 00:25:26 +00:00
Bill Wendling
a2574815af Some formatting changes.
llvm-svn: 85768
2009-11-02 00:24:16 +00:00
Chris Lattner
2bbe57b2b8 Revert 85678/85680. The decision is to stay with the current form of
indirectbr, thus we don't need "blockaddr(@func, null)".  Eliminate it
for simplicity.

llvm-svn: 85699
2009-11-01 01:27:45 +00:00
Chris Lattner
cbab35746f Make blockaddress(@func, null) be valid, and make 'deleting a basic
block with a blockaddress still referring to it' replace the invalid 
blockaddress with a new blockaddress(@func, null) instead of a 
inttoptr(1).

This changes the bitcode encoding format, and still needs codegen 
support (this should produce a non-zero value, referring to the entry
block of the function would also be quite reasonable).

llvm-svn: 85678
2009-10-31 20:08:37 +00:00
Dan Gohman
3393a4c997 Rename usesCustomDAGSchedInserter to usesCustomInserter, and update a
bunch of associated comments, because it doesn't have anything to do
with DAGs or scheduling. This is another step in decoupling MachineInstr
emitting from scheduling.

llvm-svn: 85517
2009-10-29 18:10:34 +00:00
Chris Lattner
91d310f259 greatly improve the LLVM IR bitcode encoding documentation,
patch by Peter Housel!

llvm-svn: 85479
2009-10-29 04:25:46 +00:00
Gabor Greif
f47a614c2f use metavariable <result> instead of SSA name %result for consistency
llvm-svn: 85388
2009-10-28 13:14:50 +00:00
Gabor Greif
bb9bbb25af ooops, SSA name should not be part of the link
llvm-svn: 85387
2009-10-28 13:05:07 +00:00
Gabor Greif
fad893b79c advertise new syntax for unnamed instructions
and eliminate confusing double-use of SSA names
(work in progress)

llvm-svn: 85385
2009-10-28 09:21:30 +00:00
Chris Lattner
920f44db54 doc bug spotted by apinski
llvm-svn: 85372
2009-10-28 04:47:06 +00:00
Chris Lattner
2bc8002f4c rename indbr -> indirectbr to appease the residents of #llvm.
llvm-svn: 85351
2009-10-28 00:19:10 +00:00
Chris Lattner
9bfb80f9db typo
llvm-svn: 85322
2009-10-27 21:52:54 +00:00
Chris Lattner
5b2fc7b0b2 you can't take the address of the entry block of a function.
llvm-svn: 85321
2009-10-27 21:49:40 +00:00
Chris Lattner
59da83273a improvements from gabor.
llvm-svn: 85320
2009-10-27 21:44:20 +00:00
Chris Lattner
14fadd0f45 fix things pointed out by Dan!
llvm-svn: 85310
2009-10-27 21:19:13 +00:00
Chris Lattner
10bd83bf85 document the forthcoming blockaddress constant.
llvm-svn: 85306
2009-10-27 21:01:34 +00:00
Jeffrey Yasskin
2d123f7740 Change the JIT to compile eagerly by default as agreed in
http://llvm.org/PR5184, and beef up the comments to describe what both options
do and the risks of lazy compilation in the presence of threads.

llvm-svn: 85295
2009-10-27 20:30:28 +00:00
Chris Lattner
17c9caf0e3 fix pasto pointed out by Rafael
llvm-svn: 85294
2009-10-27 20:27:24 +00:00
Chris Lattner
fdda543cea add enough support for indirect branch for the feature test to pass
(assembler,asmprinter, bc reader+writer) and document it.  Codegen
currently aborts on it.

llvm-svn: 85274
2009-10-27 19:13:16 +00:00
Nick Lewycky
f359214d66 Fix reversed logic spotted by Owen Anderson.
llvm-svn: 85251
2009-10-27 16:56:58 +00:00
Victor Hernandez
d6e238c611 Remove all references to MallocInst and FreeInst
llvm-svn: 85177
2009-10-26 23:44:29 +00:00
Chandler Carruth
766362c707 Move DataTypes.h to include/llvm/System, update all users. This breaks the last
direct inclusion edge from System to Support.

llvm-svn: 85086
2009-10-26 01:35:46 +00:00
Daniel Dunbar
499815e9f9 lit: Add --config-prefix option, to override default config file names.
llvm-svn: 85035
2009-10-25 03:30:55 +00:00
Mikhail Glushenkov
ef7afeb176 Regenerate.
llvm-svn: 85031
2009-10-25 01:44:24 +00:00
Victor Hernandez
e8998896f5 Auto-upgrade free instructions to calls to the builtin free function.
Update all analysis passes and transforms to treat free calls just like FreeInst.
Remove RaiseAllocations and all its tests since FreeInst no longer needs to be raised.

llvm-svn: 84987
2009-10-24 04:23:03 +00:00
Tanya Lattner
16727944b3 Add 2.6 release note.
llvm-svn: 84934
2009-10-23 06:20:06 +00:00
Jeffrey Yasskin
e90afea0ba Try r84890 again (adding ValueMap<>), now that I've tested the compile on
gcc-4.4.

llvm-svn: 84902
2009-10-22 22:11:22 +00:00
Jeffrey Yasskin
7555ed8cdc Revert r84890, which broke the linux build.
llvm-svn: 84892
2009-10-22 20:23:43 +00:00
Jeffrey Yasskin
ad8692124f Add a ValueMap<ValueOrSubclass*, T> type. ValueMap<Value*, T> is safe to use
even when keys get RAUWed and deleted during its lifetime. By default the keys
act like WeakVHs, but users can pass a third template parameter to configure
how updates work and whether to do anything beyond updating the map on each
action.

It's also possible to automatically acquire a lock around ValueMap updates
triggered by RAUWs and deletes, to support the ExecutionEngine.

llvm-svn: 84890
2009-10-22 20:10:20 +00:00
Dale Johannesen
2bb120a97f Rename msasm to alignstack per review.
llvm-svn: 84795
2009-10-21 23:28:00 +00:00
Oscar Fuentes
56b9c21b71 Two corrections for docs/CMake.html.
Patch by Victor Zverovich!

llvm-svn: 84759
2009-10-21 13:22:20 +00:00
Daniel Dunbar
bf3dab83fa Add link to 'lit' from CommandGuide.
llvm-svn: 84461
2009-10-19 03:54:13 +00:00
Chris Lattner
fa8927e20c check in a bunch of content from TestingGuide. Part of PR5216
llvm-svn: 84309
2009-10-17 04:47:42 +00:00
Chris Lattner
adba165c5c Update from Cristina, llvm-gcc doesn't build on the SPARC version of solaris
at the moment.

llvm-svn: 84258
2009-10-16 16:30:58 +00:00
Duncan Sands
4fbe68e7bd The gcc plugin is now called dragonegg.so and no longer llvm.so.
Pointed out by Gabor.

llvm-svn: 84177
2009-10-15 08:17:44 +00:00
Duncan Sands
4fcf6123dd I don't see any point in having both eh.selector.i32 and eh.selector.i64,
so get rid of eh.selector.i64 and rename eh.selector.i32 to eh.selector.
Likewise for eh.typeid.for.  This aligns us with gcc, which always uses a
32 bit value for the selector on all platforms.  My understanding is that
the register allocator used to assert if the selector intrinsic size didn't
match the pointer size, and this was the reason for introducing the two
variants.  However my testing shows that this is no longer the case (I
fixed some bugs in selector lowering yesterday, and some more today in the
fastisel path; these might have caused the original problems).

llvm-svn: 84106
2009-10-14 16:11:37 +00:00
Dale Johannesen
98d4e2663f Documentation for the new msasm flag, which is no
worse than the rest of the asm documentation.

llvm-svn: 84037
2009-10-13 21:56:55 +00:00
Chris Lattner
a3d8b98dcd rename ReleaseNotes-2.6.html -> ReleaseNotes.html
llvm-svn: 83990
2009-10-13 17:48:04 +00:00
Chris Lattner
23d86355f2 add Zero
llvm-svn: 83988
2009-10-13 17:47:06 +00:00
Nick Lewycky
ee0c1726d8 Force memory use markers to have a ConstantInt for the size argument.
llvm-svn: 83960
2009-10-13 07:57:33 +00:00
Nick Lewycky
ab1dbddc83 Add new "memory use marker" intrinsics. These indicate lifetimes and invariant
sections of memory objects.

llvm-svn: 83953
2009-10-13 07:03:23 +00:00
Chris Lattner
f316b34def fix validation error pointed out by gabor (and the w3c :)
llvm-svn: 83868
2009-10-12 18:33:33 +00:00
Chris Lattner
6e4d11f026 Improve bugpoint doc, patch by Timo Lindfors!
llvm-svn: 83865
2009-10-12 18:12:47 +00:00
Gabor Greif
fd0fcefa51 another bunch of <tt>s
llvm-svn: 83860
2009-10-12 16:50:25 +00:00
Gabor Greif
e6d7f8e19f even more <tt>s
llvm-svn: 83854
2009-10-12 16:40:25 +00:00
Gabor Greif
eadb0253dc more typewriter face
llvm-svn: 83852
2009-10-12 16:27:44 +00:00
Gabor Greif
7d72aa7134 fix three validation errors, I leave the fourth to sabre :-)
llvm-svn: 83851
2009-10-12 16:13:36 +00:00
Gabor Greif
53f5db0cbd set some options in typewriter font
llvm-svn: 83850
2009-10-12 16:08:52 +00:00
Benjamin Kramer
1791be26f8 Documentation: Perform automated correction of common typos.
llvm-svn: 83849
2009-10-12 14:46:08 +00:00
Torok Edwin
01eeaaa236 Fix typo, patch from Timo Juhani Lindfors.
llvm-svn: 83848
2009-10-12 13:37:29 +00:00
Chris Lattner
150f57e714 pic16 uses 16 bit pointers, but is 8 bit.
llvm-svn: 83815
2009-10-11 23:19:44 +00:00
Duncan Sands
95e8b77b90 More DragonEgg verbiage.
llvm-svn: 83788
2009-10-11 19:40:38 +00:00
Duncan Sands
5fa8a1b445 Remove spurious brackets.
llvm-svn: 83787
2009-10-11 19:30:56 +00:00
Chris Lattner
41473572e4 add PR5004 as a known problem.
llvm-svn: 83782
2009-10-11 19:07:23 +00:00
Chris Lattner
829e4cd11d duncan points out that llvm-gcc doesn't do the right thing with -fverbose-asm yet.
llvm-svn: 83781
2009-10-11 19:02:54 +00:00
Chris Lattner
729185ce68 some notes from Anton
llvm-svn: 83777
2009-10-11 18:21:32 +00:00
Gabor Greif
8dd7df0f9c catch some other serial commas that my earlier grep did not spot
llvm-svn: 83772
2009-10-11 11:44:34 +00:00
Gabor Greif
7ad4f05b31 eliminate some instances of serial comma. sabre, if you feel strong about this, feel free to revert this rev
llvm-svn: 83771
2009-10-11 11:23:40 +00:00
Duncan Sands
033058de4d Fix typo.
llvm-svn: 83770
2009-10-11 11:20:26 +00:00
Gabor Greif
ca81780b37 apply some tweaks
llvm-svn: 83769
2009-10-11 10:44:44 +00:00
Gabor Greif
9a55b4ae63 fix some obvious typos
llvm-svn: 83768
2009-10-11 10:27:57 +00:00
Duncan Sands
4738c2a931 Add an outline of the DragonEgg gcc plugin.
llvm-svn: 83765
2009-10-11 09:07:15 +00:00
Ted Kremenek
13cad039f8 Update release notes blurb on the static analyzer.
llvm-svn: 83749
2009-10-11 03:10:25 +00:00
Chris Lattner
10b6af716f clarify
llvm-svn: 83743
2009-10-10 23:05:42 +00:00
Chris Lattner
ce616c28ef fix broken link
llvm-svn: 83738
2009-10-10 22:15:25 +00:00
Chris Lattner
330bc88468 final changes.
llvm-svn: 83737
2009-10-10 22:13:38 +00:00
Chris Lattner
e584af1294 down to 'major changes'
llvm-svn: 83736
2009-10-10 22:02:58 +00:00
Chris Lattner
e747b10bc3 more updates
llvm-svn: 83735
2009-10-10 21:40:13 +00:00
Chris Lattner
513fd3ac2b add a link to the GSG for info on how to check out svn trunk
llvm-svn: 83734
2009-10-10 21:37:16 +00:00
Chris Lattner
a9d2468440 x86 uses 5 operands for most memory refs now.
llvm-svn: 83733
2009-10-10 21:30:55 +00:00
Duncan Sands
9a6f3eb8ae More spelling and grammar tweaks.
llvm-svn: 83728
2009-10-10 20:06:04 +00:00
Benjamin Kramer
453e8ae2be More spelling fixes.
llvm-svn: 83724
2009-10-10 19:45:13 +00:00
Duncan Sands
4e12fa3691 Spelling fixes.
llvm-svn: 83722
2009-10-10 19:30:16 +00:00
Chris Lattner
074b4dee13 more tweaks
llvm-svn: 83721
2009-10-10 19:26:21 +00:00
Duncan Sands
bf2f32c08b Remove an inappropriate line in the description of the
clang static analyser.  Decrease duplication in the text.

llvm-svn: 83720
2009-10-10 19:16:25 +00:00
Chris Lattner
8f7bd86796 continue decoding chris scribble.
llvm-svn: 83719
2009-10-10 19:00:55 +00:00
Chris Lattner
3c9d2553e9 remove some dead passes
llvm-svn: 83717
2009-10-10 18:40:48 +00:00
Chris Lattner
42f4178529 checkpoint.
llvm-svn: 83716
2009-10-10 18:33:13 +00:00
Chris Lattner
1f970dea03 fix broken anchors.
llvm-svn: 83715
2009-10-10 18:26:06 +00:00
Nicolas Geoffray
a9998e2133 As it turns out, the bug fixes in GC codegen did not make it
to llvm-2.6. Remove the precise garbage collection feature.

llvm-svn: 83638
2009-10-09 13:17:57 +00:00
Nicolas Geoffray
aecce285aa 80-columns!
llvm-svn: 83628
2009-10-09 10:17:14 +00:00
Nicolas Geoffray
672319a893 Add initial information on VMKit.
llvm-svn: 83627
2009-10-09 10:13:08 +00:00
Chris Lattner
623acb737f more random updates.
llvm-svn: 83625
2009-10-09 06:36:25 +00:00
Chris Lattner
7eb545c437 checkpoint.
llvm-svn: 83623
2009-10-09 06:24:25 +00:00
Chris Lattner
aa8ee121c3 checkpoint.
llvm-svn: 83621
2009-10-09 05:55:04 +00:00
Chris Lattner
581a88dfe2 update clang section.
llvm-svn: 83615
2009-10-09 05:01:15 +00:00
Chris Lattner
3da40cd9cd some updates from users of llvm
llvm-svn: 83551
2009-10-08 16:01:33 +00:00
Chris Lattner
6f4cfe5f53 all content split into sections, still much work to be done.
llvm-svn: 83532
2009-10-08 07:01:46 +00:00
Chris Lattner
8e4073ed26 checkpoint, this is still not comprehendible.
llvm-svn: 83530
2009-10-08 06:27:53 +00:00
Chris Lattner
a296956311 callgraph changes came after the 2.6 branch.
llvm-svn: 83299
2009-10-05 07:07:29 +00:00
Evan Cheng
4d98198a37 Move implicit and paralle to a separate codegen specific section.
llvm-svn: 83291
2009-10-05 02:51:06 +00:00
Chris Lattner
27b99c62cd add some completely unformated and probably incoherent notes about things
I saw while reading all the commits between the 2.5 and 2.6 release branches.

llvm-svn: 83287
2009-10-05 02:12:39 +00:00
Chris Lattner
0731e5bc62 add macruby, fix a validation problem.
llvm-svn: 83142
2009-09-30 06:27:22 +00:00
Jeffrey Yasskin
c9884e1d7a Forgot to update the documentation in r82906. s/DEBUG_RUNTIME/DEBUG_SYMBOLS/.
llvm-svn: 83015
2009-09-28 21:14:38 +00:00
Erick Tryzelaar
f807989d4d Document a bug in the ocaml bindings has wrong linkage values.
llvm-svn: 82966
2009-09-28 04:42:55 +00:00
Mikhail Glushenkov
d020f235d5 Regenerate.
llvm-svn: 82958
2009-09-28 01:28:26 +00:00
Nick Lewycky
04cea17209 Remove the "metadata*" type and simplify the code it complicated. This was only
used to support GlobalVariables storing MDNodes, back when they were derived
from Constant before the introduction of NamedMDNode, but never removed.

llvm-svn: 82943
2009-09-27 23:27:42 +00:00
Chris Lattner
d66a99e60a rename REG -> REGISTER to make it explicit in the doc. <tt>ify some stuff.
llvm-svn: 82892
2009-09-27 08:01:44 +00:00
Chris Lattner
80d69b5973 implement and document support for filecheck variables. This
allows matching and remembering a string and then matching and
verifying that the string occurs later in the file.

Change X86/xor.ll to use this in some cases where the test was
checking for an arbitrary register allocation decision.

llvm-svn: 82891
2009-09-27 07:56:52 +00:00
Nick Lewycky
676778014b Remove dead code from this function and optimize. Update its corresponding
LangRef entry too.

llvm-svn: 82890
2009-09-27 07:55:32 +00:00
Nick Lewycky
d77653667a Correct the version numbers to match those actually tested for by
autoconf/AutoRegen.sh.

llvm-svn: 82886
2009-09-27 04:56:27 +00:00
Nick Lewycky
c54e1a5528 Move the integer type out of 'derived' and into 'primitive'. This permits us
to explain that derived types are all composed of other types, which primitive
types aren't. Without moving integer out of derived, this wouldn't be true.

Perform a few trivial cleanups; 'i1' went from a link to #t_primitive to
#t_integer (a holdover from when it was a bool type I suppose).

llvm-svn: 82884
2009-09-27 00:45:11 +00:00
Dale Johannesen
cbafb61a84 Revise C library functions description to be vaguer, per Chris.
llvm-svn: 82776
2009-09-25 17:04:42 +00:00
Jeffrey Yasskin
4321237b78 This patch causes the --enable-debug-runtime configure flag and the
DEBUG_RUNTIME Makefile variable to pass -g to gcc when building LLVM's objects.
Without this, it's very hard to debug crashes that happen in Release-Asserts
mode but not Debug mode.

llvm-svn: 82775
2009-09-25 16:46:09 +00:00
Chris Lattner
af2ce37cb3 add and document regex support for FileCheck. You can now do stuff like:
; CHECK: movl {{%e[a-z][xi]}}, %eax

or whatever.

llvm-svn: 82717
2009-09-24 21:47:32 +00:00
Dale Johannesen
74af0f3eb0 Clarify that llvm attaches C language semantics to
functions with names that match the C library.

llvm-svn: 82701
2009-09-24 18:38:21 +00:00
Erick Tryzelaar
83d984101e Sync c++ kaleidoscope tutorial with test.
llvm-svn: 82572
2009-09-22 21:14:49 +00:00
Reid Kleckner
057a723621 Add documentation on how to use enable debug information in the JIT and use it with GDB.
llvm-svn: 82425
2009-09-21 02:34:59 +00:00
Chris Lattner
12fdecb172 grammaro
llvm-svn: 82412
2009-09-20 22:45:18 +00:00
Chris Lattner
63735b5e10 implement and document support for CHECK-NOT
llvm-svn: 82408
2009-09-20 22:35:26 +00:00
Chris Lattner
7a72ad7d64 apparently russians are really hard to sort or something!
llvm-svn: 82016
2009-09-16 05:42:12 +00:00
Chris Lattner
8faffd7a23 I can sort, no really.
llvm-svn: 82015
2009-09-16 05:37:13 +00:00
Chris Lattner
dff97f437f make more clear since it is sorted by last name now.
llvm-svn: 82014
2009-09-16 05:36:54 +00:00
Chris Lattner
f84436f884 Doug is now the code owner for most of the Clang frontend.
llvm-svn: 82013
2009-09-16 05:36:07 +00:00
Chris Lattner
2bb1f0bbd8 Ted is christened as the owner of the clang static analyzer.
llvm-svn: 82008
2009-09-16 04:59:30 +00:00
Daniel Dunbar
d383d40999 Put back non-obsolete -f sections for 'opt'.
llvm-svn: 81954
2009-09-15 23:40:07 +00:00
Daniel Dunbar
ee9eb09812 Remove references to obsolete -f option.
llvm-svn: 81911
2009-09-15 20:31:35 +00:00
Daniel Dunbar
cdf090d89f Update llc/opt PODs to clarify they support .ll input.
llvm-svn: 81910
2009-09-15 20:31:28 +00:00
Dan Gohman
98752b1ba2 Give llvm-link a -S option.
llvm-svn: 81859
2009-09-15 15:35:07 +00:00
Erick Tryzelaar
cd5ce50e17 Expose initializing the native target for the execution engine.
llvm-svn: 81800
2009-09-14 21:54:32 +00:00
Erick Tryzelaar
0e2d5db045 Make sure to initialize the fpm in the ocaml tutorial.
llvm-svn: 81799
2009-09-14 21:54:15 +00:00
Oscar Fuentes
8edea46b44 CMake: New user-settable variable LLVM_TARGET_ARCH useful when
cross-compiling.

Patch by Xerxes Rånby!

llvm-svn: 81722
2009-09-13 22:18:38 +00:00
Nick Lewycky
d89dea7a2e Update the tutorial to match changes to examples/Kaleidoscope.
One change I'm not folding in is the removal of two unused variables that
caused warnings, because those were there for expository purposes.

llvm-svn: 81721
2009-09-13 21:38:54 +00:00
Chris Lattner
f895aae180 remove two docs about the old Sparc backend which used Value*'s for vregs.
llvm-svn: 81680
2009-09-13 17:25:49 +00:00
Chris Lattner
a5b806507f move old clang readme here.
llvm-svn: 81679
2009-09-13 17:24:16 +00:00
Chris Lattner
5b8ac24286 we don't want people to override printBasicBlockLabel.
llvm-svn: 81651
2009-09-12 22:57:37 +00:00
Dan Gohman
149ac38d37 Fix llvm-extract's "writing bitcode to a terminal" warning, which wasn't
working. To support this, add an is_displayed() function to raw_ostream,
and generalize Process::StandardOutIsDisplayed and friends in order to
support it.

Also, call RemoveFileOnSignal before creating a file instead of after, so
that the file isn't left behind if the program is interrupted between when
the file is created and RemoveFileOnSignal is called.

While here, add a -S to llvm-extract and port it to IRReader so that it
supports assembly input.

llvm-svn: 81568
2009-09-11 20:46:33 +00:00
Chris Lattner
1619ca8d56 more typos
llvm-svn: 81499
2009-09-11 01:49:31 +00:00
Bill Wendling
2d374c78f6 Fix validation errors.
llvm-svn: 81466
2009-09-10 22:14:16 +00:00
Bill Wendling
7473700cd5 Fix validation errors.
llvm-svn: 81465
2009-09-10 22:12:50 +00:00
Chris Lattner
baa8f93b1c add another broken version of gcc, thanks to Niels Moller for pointing this out.
llvm-svn: 81449
2009-09-10 16:25:02 +00:00
Daniel Dunbar
b15a757410 Remove prcontext.
llvm-svn: 81427
2009-09-10 04:56:59 +00:00
Eric Christopher
6d70d5842d Correct __cxa_end_catch documentation to reflect that it doesn't take any arguments.
llvm-svn: 81307
2009-09-09 01:44:53 +00:00
Chris Lattner
7e056a9740 another typo
llvm-svn: 81243
2009-09-08 19:45:34 +00:00
Chris Lattner
103aabbae7 fix a couple typos pointed out by edwin and duncan
llvm-svn: 81219
2009-09-08 15:13:16 +00:00
Daniel Dunbar
640436d7af Add 'lit' testing tool.
- make install && man $(llvm-config --prefix)/share/man/man1/lit.1 for more
   information.

llvm-svn: 81190
2009-09-08 05:31:18 +00:00
Chris Lattner
a0271f52a5 llvm::cerr is gone.
llvm-svn: 81189
2009-09-08 05:15:50 +00:00
Chris Lattner
c6552ef06f update this to use raw_ostream
llvm-svn: 81188
2009-09-08 05:14:44 +00:00
Chris Lattner
b467389331 add some more notes.
llvm-svn: 81170
2009-09-07 23:33:52 +00:00
Chris Lattner
01f8bf80ac describe undef semantics in some more detail.
llvm-svn: 81167
2009-09-07 22:52:39 +00:00
Daniel Dunbar
076b234d1e Document opt -S argument.
llvm-svn: 81140
2009-09-07 04:03:44 +00:00
Dan Gohman
df6c046bc3 Fix the syntax of add/sub/mul nsw/nuw and sdiv exact.
llvm-svn: 80805
2009-09-02 17:31:42 +00:00
Torok Edwin
21897521c1 Add regular expression matching support, based on OpenBSD regexec()/regcomp()
implementation.

llvm-svn: 80493
2009-08-30 08:24:09 +00:00
Devang Patel
fbaeda732e Reapply 79977.
Use MDNodes to encode debug info in llvm IR.

llvm-svn: 80406
2009-08-28 23:24:31 +00:00
Chris Lattner
04c6dc8fa5 Mark Andersen's as experimental.
llvm-svn: 80328
2009-08-28 00:45:47 +00:00
Reid Kleckner
f6b832774f Allocate the module provider in the Kaleidoscope code on the heap, not the stack, so that it can be properly deleted. Also update the tutorial with the new code. This fixes PR4762, hopefully better than the last time.
llvm-svn: 80138
2009-08-26 20:58:25 +00:00
Devang Patel
10c075a316 Revert 79977. It causes llvm-gcc bootstrap failures on some platforms.
llvm-svn: 80073
2009-08-26 05:01:18 +00:00
Dale Johannesen
f90fc6544b Add an 'inline hint' attribute to represent source
code hints that it would be a good idea to inline
a function ("inline" keyword).  No functional change
yet; FEs do not emit this and inliner does not use it.

llvm-svn: 80063
2009-08-26 01:08:21 +00:00
Dan Gohman
44d265ff91 Update documentation for the -f change.
llvm-svn: 79996
2009-08-25 15:54:01 +00:00
Devang Patel
7d42bfab6c Update DebugInfo interface to use metadata, instead of special named llvm.dbg.... global variables, to encode debugging information in llvm IR. This is mostly a mechanical change that tests metadata support very well.
This change speeds up llvm-gcc by more then 6% at "-O0 -g" (measured by compiling InstructionCombining.cpp!)

llvm-svn: 79977
2009-08-25 05:24:07 +00:00
Chris Lattner
e9f6a3fcdc improve documentation for linker_private linkage.
llvm-svn: 79893
2009-08-24 04:32:16 +00:00
Chris Lattner
9abd08f6f9 disuade people from using ostream.
llvm-svn: 79866
2009-08-23 21:53:47 +00:00
Douglas Gregor
3b7e904fff Don't install the man page for FileCheck
llvm-svn: 79826
2009-08-23 05:24:49 +00:00
Tanya Lattner
1d69b50b8f Update release document with more details.
llvm-svn: 79818
2009-08-23 04:36:30 +00:00
Edward O'Callaghan
16535e6ae7 Note down a few bits and bobs off the top of my head for ReleaseNotes-2.6.html
llvm-svn: 79715
2009-08-22 02:17:22 +00:00
Jim Grosbach
72272286ca Add basic information about SJLJ EH
llvm-svn: 79714
2009-08-22 01:42:39 +00:00
Dan Gohman
0a6e8a4bcd Clarify a few things in the inbounds description.
Describing inbounds in terms of infinitely precise arithmetic prohibits
the assumption address-space-sized integer arithmetic will wrap, with
a wrapped-around value landing within the same object.

llvm-svn: 79538
2009-08-20 17:08:17 +00:00
Sandeep Patel
bf1263a423 Correct ARM v7-A architecture name spelling and add note about hard float.
llvm-svn: 79530
2009-08-20 15:01:16 +00:00
Chris Lattner
d08139d918 fix this back, thanks Eli
llvm-svn: 79508
2009-08-20 03:10:14 +00:00
Chris Lattner
4477f49ef9 minor grammar tweak
llvm-svn: 79498
2009-08-20 00:29:24 +00:00
Tanya Lattner
3fcd0e9616 Update the release process some more. Lots of good details now.
llvm-svn: 79488
2009-08-19 23:07:37 +00:00
Owen Anderson
02c0eaa799 Add a first stab at describing LLVMContext.
llvm-svn: 79435
2009-08-19 17:58:52 +00:00
Erick Tryzelaar
17a7e49077 Update the ocaml docs to work with LLVMContext.
llvm-svn: 79431
2009-08-19 17:32:38 +00:00
Tanya Lattner
89d661628a First steps to document new release plan.
llvm-svn: 79376
2009-08-18 22:33:28 +00:00
Misha Brukman
e3144b3414 Surrounded variable in <tt> tags for consistency.
llvm-svn: 79357
2009-08-18 19:18:40 +00:00