Commit Graph

2257 Commits

Author SHA1 Message Date
Bill Wendling bdd6bd8236 Validation fixes
llvm-svn: 42229
2007-09-22 10:03:25 +00:00
Bill Wendling 370dac7346 Validation fixes
llvm-svn: 42228
2007-09-22 09:56:28 +00:00
Bill Wendling beee622c4d Validation fixes
llvm-svn: 42227
2007-09-22 09:54:47 +00:00
Bill Wendling 8715e0c490 Validation fixes
llvm-svn: 42226
2007-09-22 09:39:19 +00:00
Bill Wendling 252570f0ad Validation fixes
llvm-svn: 42225
2007-09-22 09:23:55 +00:00
Bill Wendling 6637c57c54 Validation fixes
llvm-svn: 42224
2007-09-22 09:20:07 +00:00
Bill Wendling 6275c23755 Formatting changes.
llvm-svn: 42223
2007-09-22 09:16:44 +00:00
Chris Lattner 5b95a171e2 fix bugs in the manual
llvm-svn: 42221
2007-09-22 03:17:52 +00:00
Tanya Lattner cf3e26fff2 Correct names.
llvm-svn: 42219
2007-09-22 00:03:01 +00:00
Tanya Lattner 08abc81a44 Fix typo.
llvm-svn: 42217
2007-09-22 00:01:26 +00:00
Tanya Lattner 0186a65ac7 One last fix to get name correct.
llvm-svn: 42216
2007-09-21 23:57:59 +00:00
Tanya Lattner afcdaf58d4 Fix silly typo.
llvm-svn: 42215
2007-09-21 23:57:04 +00:00
Tanya Lattner 23dbd57214 Update annotation intrinsic with more details.
llvm-svn: 42214
2007-09-21 23:56:27 +00:00
Tanya Lattner 293c037336 Adding support for __builtin_annotation with an intrinsic called llvm.annotation. This is similar to llvm.var.annotation but is applied to expressions.
llvm-svn: 42211
2007-09-21 22:59:12 +00:00
Devang Patel d331c8565f Add missing entry.
llvm-svn: 42202
2007-09-21 18:02:24 +00:00
Chris Lattner 1af762f736 I cannot spell coalesce :)
llvm-svn: 42196
2007-09-21 17:43:52 +00:00
Chris Lattner 12477735f9 gcroot must take concrete types, not arbitrary types.
clean up intrinsic descriptions in langref a bit.

llvm-svn: 42194
2007-09-21 17:30:40 +00:00
Chris Lattner 0a1fd10483 Initial hack at 2.1 release notes.
llvm-svn: 42186
2007-09-21 03:54:09 +00:00
Chris Lattner 0625bd6472 Merge DenseMapKeyInfo & DenseMapValueInfo into DenseMapInfo
Add a new DenseMapInfo::isEqual method to allow clients to redefine
the equality predicate used when probing the hash table.

llvm-svn: 42042
2007-09-17 18:34:04 +00:00
Chris Lattner 7b412cb823 Change llvm.gcroot to not init the root to null at runtime, this prevents
using it for live-in values etc.

llvm-svn: 41879
2007-09-12 17:53:10 +00:00
Duncan Sands 86e0119822 Fold the adjust_trampoline intrinsic into
init_trampoline.  There is now only one
trampoline intrinsic.

llvm-svn: 41841
2007-09-11 14:10:23 +00:00
Nick Lewycky a9b13d5cc1 Fix description of the call instruction. There are two types, with one being
optional.

llvm-svn: 41785
2007-09-08 13:57:50 +00:00
Anton Korobeynikov 122bf4be7e Split eh.select / eh.typeid.for intrinsics into i32/i64 versions. This is needed, because they just "mark" register
liveins and we let frontend solve type issue, not lowering code :)

llvm-svn: 41763
2007-09-07 11:39:35 +00:00
Duncan Sands ef5a654216 There is an impedance matching problem between LLVM and
gcc exception handling: if an exception unwinds through
an invoke, then execution must branch to the invoke's
unwind target.  We previously tried to enforce this by
appending a cleanup action to every selector, however
this does not always work correctly due to an optimization
in the C++ unwinding runtime: if only cleanups would be
run while unwinding an exception, then the program just
terminates without actually executing the cleanups, as
invoke semantics would require.  I was hoping this
wouldn't be a problem, but in fact it turns out to be the
cause of all the remaining failures in the LLVM testsuite
(these also fail with -enable-correct-eh-support, so turning
on -enable-eh didn't make things worse!).  Instead we need
to append a full-blown catch-all to the end of each
selector.  The correct way of doing this depends on the
personality function, i.e. it is language dependent, so
can only be done by gcc.  Thus this patch which generalizes
the eh.selector intrinsic so that it can handle all possible
kinds of action table entries (before it didn't accomodate
cleanups): now 0 indicates a cleanup, and filters have to be
specified using the number of type infos plus one rather than
the number of type infos.  Related gcc patches will cause
Ada to pass a cleanup (0) to force the selector to always
fire, while C++ will use a C++ catch-all (null).

llvm-svn: 41484
2007-08-27 15:47:50 +00:00
Tanya Lattner ebd4e7ba2f Rename llvm-gcc4 to llvm-gcc.
llvm-svn: 41380
2007-08-24 23:23:23 +00:00
Duncan Sands f2bcd37083 Implement review feedback on trampoline documentation.
llvm-svn: 41304
2007-08-22 23:39:54 +00:00
Reid Spencer 8feb9d67e8 Who thought up this crazy formatting scheme?
llvm-svn: 40905
2007-08-07 17:57:36 +00:00
Reid Spencer 4391aa042c Okay, over/back tags don't next.
llvm-svn: 40904
2007-08-07 17:48:56 +00:00
Reid Spencer 5f5bb46e95 Try an indent level for better formatting.
Add the -version option.

llvm-svn: 40902
2007-08-07 17:43:48 +00:00
Reid Spencer d64584f64b Add the code generation options.
llvm-svn: 40900
2007-08-07 17:12:43 +00:00
Reid Spencer 50138fec19 Rearrange options into sections and add the last floating point related option.
llvm-svn: 40895
2007-08-07 16:29:57 +00:00
Reid Spencer 30b4ae5005 Add the -disable-excess-fp-precision option.
llvm-svn: 40894
2007-08-07 16:23:42 +00:00
Reid Spencer ef3a6a3c7a Add another missing option.
llvm-svn: 40893
2007-08-07 16:21:52 +00:00
Reid Spencer 718eb7f19b Add some more missing options.
llvm-svn: 40892
2007-08-07 16:11:57 +00:00
Reid Spencer a8f72c72a6 Remove the -f option which is no longer supported, but add the -fake-argv0
option which is similar.

llvm-svn: 40891
2007-08-07 15:48:16 +00:00
Reid Spencer b23b65f1ba Describe the global/local naming convention.
llvm-svn: 40890
2007-08-07 14:34:28 +00:00
Reid Spencer ade052e5cf Update links to the command guide generated documentation.
llvm-svn: 40855
2007-08-05 23:43:44 +00:00
Reid Spencer 5dc3672e45 Comment out configuration tags not supported by doxygen 1.3.9
llvm-svn: 40853
2007-08-05 19:51:03 +00:00
Chandler Carruth 7132e00de7 This is the patch to provide clean intrinsic function overloading support in LLVM. It cleans up the intrinsic definitions and generally smooths the process for more complicated intrinsic writing. It will be used by the upcoming atomic intrinsics as well as vector and float intrinsics in the future.
This also changes the syntax for llvm.bswap, llvm.part.set, llvm.part.select, and llvm.ct* intrinsics. They are automatically upgraded by both the LLVM ASM reader and the bitcode reader. The test cases have been updated, with special tests added to ensure the automatic upgrading is supported.

llvm-svn: 40807
2007-08-04 01:51:18 +00:00
Reid Spencer 753163d95f fp2uint -> fptoui
llvm-svn: 40633
2007-07-31 14:40:14 +00:00
Duncan Sands 27e9159c00 Forget to add 'nest' to the list of parameter
attributes.

llvm-svn: 40565
2007-07-27 19:57:41 +00:00
Duncan Sands 644f917358 Support for trampolines, except for X86 codegen which is
still under discussion.

llvm-svn: 40549
2007-07-27 12:58:54 +00:00
Devang Patel b9f5c0c5be Fix example code.
llvm-svn: 40493
2007-07-25 21:05:39 +00:00
Chris Lattner bc15ee2320 test commit
llvm-svn: 40484
2007-07-25 06:15:23 +00:00
Bill Wendling 803a639cff Fix some validation errors.
llvm-svn: 40417
2007-07-23 04:44:02 +00:00
Bill Wendling 922169c385 Converted to "svn" and reformatted.
llvm-svn: 40416
2007-07-23 04:41:42 +00:00
Bill Wendling d0c5c282de Small change.
llvm-svn: 40413
2007-07-23 03:56:42 +00:00
Bill Wendling 9f1b2d9491 Point to the correct SVN repository.
llvm-svn: 40412
2007-07-23 03:56:11 +00:00
Chandler Carruth fd418435be No longer referencing "shared memory" as this can confuse people. The memory is
clearly shared between processors if these instructions are being used, no 
further specification of what type of memory is necessary.

llvm-svn: 40118
2007-07-20 20:14:52 +00:00
Reid Spencer 65a72e3775 Silly HTML
llvm-svn: 40117
2007-07-20 20:03:33 +00:00
Reid Spencer 5b2cb0f88c Fix validation errors.
llvm-svn: 40116
2007-07-20 19:59:11 +00:00
Chandler Carruth 6a5f6bf685 This introduces the atomic operation intrinsics into the documentation. This is
a preview for the intrinsics that are going to be implemented over the next few 
weeks.

llvm-svn: 40115
2007-07-20 19:34:37 +00:00
Reid Spencer 314e1cb7ee For PR1553:
Change the keywords for the zext and sext parameter attributes to be 
zeroext and signext so they don't conflict with the keywords for the
instructions of the same name. This gets around the ambiguity.

llvm-svn: 40069
2007-07-19 23:13:04 +00:00
Nick Lewycky f433a7f1a6 Alphabetize. Document -mlimit parameter.
llvm-svn: 39990
2007-07-18 04:24:20 +00:00
Dan Gohman 33988db5d5 Fix the documentation for llvm.sqrt so that sqrt(0) has defined behavior,
which appears to be the intent.

llvm-svn: 39922
2007-07-16 14:37:41 +00:00
Bill Wendling a5d30d5d83 Fix validation errors
llvm-svn: 39917
2007-07-16 08:52:56 +00:00
Bill Wendling af5b63f6da Clean up some formatting
llvm-svn: 39916
2007-07-16 08:46:40 +00:00
Bill Wendling bcb3b41d99 Clean up some formatting. Add some doc_code div tags.
llvm-svn: 39915
2007-07-16 08:44:39 +00:00
Chris Lattner 0946f04236 remove obsolete note
llvm-svn: 39825
2007-07-13 20:08:19 +00:00
Chris Lattner 0a2d099792 fix some bugs in the manual
llvm-svn: 39822
2007-07-13 20:01:46 +00:00
Gabor Greif 6c0bda829e eliminated all references to 'bytecode' from .pod files
llvm-svn: 38452
2007-07-09 11:24:05 +00:00
Reid Spencer c7f87f202e Subversionify the documentation.
llvm-svn: 38442
2007-07-09 08:04:31 +00:00
Reid Spencer 74119e0e7e Bytecode -> Bitcode
llvm-svn: 38438
2007-07-09 06:45:18 +00:00
Reid Spencer 75efe6cc57 Minor language change upgrader -> upgrade tool
llvm-svn: 38437
2007-07-09 06:42:22 +00:00
Reid Spencer e14b7339e6 This dir does not appear under /docs anymore but under /cmds so use an
absolute path to the llvm.css file.

llvm-svn: 38436
2007-07-09 06:32:55 +00:00
Reid Spencer bb7dc1ed8b Links for commands are now generated into /cmds/ URL.
llvm-svn: 38435
2007-07-09 06:31:51 +00:00
Reid Spencer 15053aaed6 Fix some minor typos.
llvm-svn: 38434
2007-07-09 06:14:11 +00:00
Reid Spencer 69c94d2da4 Fix some typos.
llvm-svn: 38433
2007-07-09 06:06:45 +00:00
Reid Spencer b66b30577e Fix a typo.
llvm-svn: 38432
2007-07-09 06:01:20 +00:00
Reid Spencer af548d0ed2 Fix a typo.
llvm-svn: 38431
2007-07-09 05:58:08 +00:00
Reid Spencer 2cf6fe9ea2 Fix some minor typos, again to test the auto-update of the web site.
llvm-svn: 38430
2007-07-09 05:52:49 +00:00
Reid Spencer dfa6ee7ca7 Remove an unneeded space, mostly to verify that auto-update of the
documentation is working.

llvm-svn: 38429
2007-07-09 05:33:45 +00:00
Gabor Greif a54634adef first pass of nomenclature changes in .html files
llvm-svn: 37956
2007-07-06 22:07:22 +00:00
Reid Spencer a9c32e6b49 Add a note about llvm2cpp's dubious future.
llvm-svn: 37906
2007-07-05 10:12:19 +00:00
Reid Spencer 98f56b50d1 Get the version number right, finally.
llvm-svn: 37905
2007-07-05 10:00:19 +00:00
Duncan Sands fe80638417 Extend eh.selector to support both catches and filters.
Drop the eh.filter intrinsic.

llvm-svn: 37875
2007-07-04 20:52:51 +00:00
Chris Lattner 98c09a07ca Make the GSG actually work.
llvm-svn: 37872
2007-07-04 18:42:47 +00:00
Tanya Lattner 11f9d1b7ee We really should not have this version number in SO many makefiles. This should also probably change to svn instead of cvs, but leaving it for now.
llvm-svn: 37855
2007-07-03 18:11:20 +00:00
Chris Lattner 4b32528ba9 note where to get steens-aa and ds-aa
llvm-svn: 37850
2007-07-03 04:41:50 +00:00
Reid Spencer 0b67f66b45 Terminate the document with the right end tags.
llvm-svn: 37835
2007-07-01 17:02:22 +00:00
Anton Korobeynikov 09ca62d5c5 Remove labels again
llvm-svn: 37824
2007-06-30 00:00:57 +00:00
Anton Korobeynikov eaa836bbf5 Change CVS-style 'labels' to SVN 'tags' directory.
llvm-svn: 37821
2007-06-29 23:13:42 +00:00
Anton Korobeynikov cae5d345fb Another typo
llvm-svn: 37817
2007-06-29 21:44:14 +00:00
Anton Korobeynikov 4c04a9333a Fix a typo
llvm-svn: 37813
2007-06-29 20:56:49 +00:00
John Criswell 5859485a95 Applied Reid's patch. Long live Subversion!
llvm-svn: 37811
2007-06-29 19:12:31 +00:00
John Criswell 2660cef6d7 Convert .cvsignore files
llvm-svn: 37801
2007-06-29 16:35:07 +00:00
Tanya Lattner 872bf1bdc3 Modify deleting global variable with an even easier way.
llvm-svn: 37676
2007-06-20 20:46:37 +00:00
Devang Patel eeff910244 Update AnalysisGroup documentation to document restriction that allows
only one ImmutablePass in a group.

llvm-svn: 37675
2007-06-20 18:51:14 +00:00
Tanya Lattner 1a08cf311e Add blurb on deleting global variables.
llvm-svn: 37674
2007-06-20 18:33:15 +00:00
Chris Lattner 5551482f16 don't use binutils 2.17
llvm-svn: 37652
2007-06-19 05:52:36 +00:00
Tanya Lattner bed1d4d877 Update docs for llvm.var.annotation intrinsic.
llvm-svn: 37635
2007-06-18 23:42:37 +00:00
Tanya Lattner cb1b96047d Add local var annotation intrinsic.
llvm-svn: 37603
2007-06-15 20:50:54 +00:00
Duncan Sands 40f775bf67 Fix typos.
llvm-svn: 37573
2007-06-14 11:27:07 +00:00
Chris Lattner 2150cde0e4 one final bugfix
llvm-svn: 37558
2007-06-12 17:01:15 +00:00
Chris Lattner 2b0bf4fc3b modernize example
llvm-svn: 37557
2007-06-12 17:00:26 +00:00
Chris Lattner a59fb10de8 wording fix noticed by Ivan Novick
llvm-svn: 37519
2007-06-08 16:52:14 +00:00
Tanya Lattner a1d8eeb7da Correct typo. Should be "not allowed"
llvm-svn: 37490
2007-06-07 16:44:52 +00:00
Chris Lattner 00538a1931 update to match latest changes
llvm-svn: 37474
2007-06-06 18:28:13 +00:00
Zhou Sheng 2444a9adeb Commit first round work of PR1373. "noalias" is now fully supported in
VMCore, BitCode, and Assembly. Documentation and test case paramattrs.ll
updated also.

llvm-svn: 37432
2007-06-05 05:28:26 +00:00
Chris Lattner a446f1b46b more fixes to C code.
llvm-svn: 37339
2007-05-29 15:43:56 +00:00