Commit Graph

2497 Commits

Author SHA1 Message Date
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
Bill Wendling 2d8b9a8834 Fixed some formatting.
llvm-svn: 37338
2007-05-29 09:42:13 +00:00
Bill Wendling 0a303eb474 Added "llvmc" to the FAQ.
llvm-svn: 37337
2007-05-29 09:35:34 +00:00
Bill Wendling 2c22fcb11c Added "doc_class" div tags to code segments.
llvm-svn: 37336
2007-05-29 09:24:33 +00:00
Bill Wendling 3716c5df29 Fix for PR1452. Removed "define" keyword from the C code. Added "<div
class="doc_code">" to code examples.

llvm-svn: 37335
2007-05-29 09:04:49 +00:00
Chris Lattner c87f3dff51 remove contradiction owen noticed
llvm-svn: 37327
2007-05-24 19:13:27 +00:00
Chris Lattner bee7b32ef8 final updates
llvm-svn: 37299
2007-05-23 04:39:32 +00:00
Dale Johannesen 10c5ccc68f Document boolOrDefault and its parser.
llvm-svn: 37290
2007-05-22 18:32:34 +00:00
Tanya Lattner 3e85207fef NightlyTest.pl does not exist.
llvm-svn: 37278
2007-05-22 06:12:51 +00:00
Tanya Lattner e94a09e357 Adding 2.0 release
llvm-svn: 37277
2007-05-22 06:06:22 +00:00
Duncan Sands ea7a326468 Fix typo.
llvm-svn: 37223
2007-05-18 09:04:20 +00:00
Chris Lattner feadc1ebdc finished the first draft
llvm-svn: 37219
2007-05-18 06:38:51 +00:00
Chris Lattner 727c3740e4 crank out notes
llvm-svn: 37218
2007-05-18 06:33:02 +00:00
Chris Lattner 6d84cdcfee validation fix
llvm-svn: 37206
2007-05-18 05:38:44 +00:00
Chris Lattner 5538349a7c validation fixes
llvm-svn: 37205
2007-05-18 05:36:14 +00:00
Chris Lattner e0c1df4919 tweak
llvm-svn: 37196
2007-05-18 00:44:29 +00:00
Chris Lattner 6fd9b5e816 validation fixes
llvm-svn: 37183
2007-05-17 22:03:43 +00:00
Chris Lattner 2f131fe30d llvm-gcc now supports almost all gcc extensions. The key missing one is
builtin_apply.

llvm-svn: 37182
2007-05-17 22:02:24 +00:00
Chris Lattner 8ce1ba466f add a section about API changes.
llvm-svn: 37181
2007-05-17 21:41:31 +00:00
Chris Lattner 70c2175ed2 minor tweak
llvm-svn: 37176
2007-05-17 19:58:57 +00:00
Tanya Lattner 6ee68ca990 Merged in both release announcement guts.
llvm-svn: 37131
2007-05-16 23:25:46 +00:00
Reid Spencer 138249b8ca Update for arbitrary precision integer types.
llvm-svn: 37109
2007-05-16 18:44:01 +00:00
Nicolas Geoffray 77d99504cb Note on current implementation of ELF32/PPC ABI.
llvm-svn: 37083
2007-05-15 09:21:28 +00:00
Reid Spencer 146281ce1a The wrapping behavior of part_set is not desirable. Adjust the
documentation to describe the desired behavior.

llvm-svn: 37036
2007-05-14 16:50:20 +00:00
Reid Spencer 70845c05e4 Revise definition of part_select. The wrapping behavior is not useful so
in the reverse case the only difference is that the bits are returned in
reverse order.

llvm-svn: 37035
2007-05-14 16:14:57 +00:00
Chris Lattner 97beb5147f Add a skeleton for future contents
llvm-svn: 37028
2007-05-14 06:56:09 +00:00
Chris Lattner 79c2c38ed5 add a link
llvm-svn: 37024
2007-05-13 23:38:44 +00:00
Chris Lattner 8176a2f24e add initial description of llvm top-level stuff.
llvm-svn: 37017
2007-05-13 01:39:44 +00:00
Chris Lattner d72bb414b6 finish the description of the bitstream format.
llvm-svn: 37016
2007-05-13 00:59:52 +00:00
Reid Spencer ece86af259 Fix a grammaro.
llvm-svn: 37005
2007-05-12 08:01:52 +00:00
Chris Lattner c0490b7c20 fix typo
llvm-svn: 37004
2007-05-12 07:50:14 +00:00
Chris Lattner 9ae5b57033 continued description
llvm-svn: 37003
2007-05-12 07:49:15 +00:00
Chris Lattner 73387daf33 add a bunch of content.
llvm-svn: 37002
2007-05-12 05:37:42 +00:00
Chris Lattner 22a641d43a first step
llvm-svn: 37001
2007-05-12 03:23:40 +00:00
Lauro Ramos Venancio 997a010c63 Add a known QEMU problem.
llvm-svn: 37000
2007-05-12 02:36:41 +00:00
Anton Korobeynikov c52614ba88 These attributes are supported!
llvm-svn: 36973
2007-05-10 08:26:24 +00:00
Chris Lattner 3d82dcf1c4 gar. GCC 3.4.2 also miscompiles llvm at -O3. :(
llvm-svn: 36972
2007-05-10 06:42:21 +00:00
Chris Lattner 455563bb96 another version of gcc that miscompiles llvm.
llvm-svn: 36971
2007-05-10 05:37:14 +00:00
Lauro Ramos Venancio bbe26581d9 Add two ARM known problems.
llvm-svn: 36958
2007-05-09 19:31:58 +00:00
Chris Lattner c97579318b arm no longer experimental, c++ eh support is?
llvm-svn: 36952
2007-05-09 06:23:58 +00:00
Chris Lattner 2d47f92f07 add a meta-blurb about the 2.0 release
llvm-svn: 36951
2007-05-09 05:27:05 +00:00
Chris Lattner 98a334980a strip the llvm 1.9 info out of the release notes
llvm-svn: 36950
2007-05-09 04:58:11 +00:00
Chris Lattner 05be1d44da remove dead option
llvm-svn: 36898
2007-05-06 23:24:42 +00:00
Chris Lattner 7feb9c17fa this is obsolete
llvm-svn: 36897
2007-05-06 23:21:05 +00:00
Chris Lattner 8f7f575a08 link to the bitcode doc
llvm-svn: 36896
2007-05-06 23:20:06 +00:00
Devang Patel 8c78a0bff0 Drop 'const'
llvm-svn: 36662
2007-05-03 01:11:54 +00:00
Devang Patel e95c6ad802 Use 'static const char' instead of 'static const int'.
Due to darwin gcc bug, one version of darwin linker coalesces
static const int, which defauts PassID based pass identification.

llvm-svn: 36652
2007-05-02 21:39:20 +00:00
Devang Patel a612049dd8 Update doc to reflect changes I am about to install to fix PR 888.
llvm-svn: 36631
2007-05-01 20:55:38 +00:00
Anton Korobeynikov 39f3cffbe3 Implement protected visibility. This partly implements PR1363. Linker
should be taught to deal with protected symbols.

llvm-svn: 36565
2007-04-29 18:35:00 +00:00
Anton Korobeynikov 546ea7ea88 Implement review feedback
llvm-svn: 36564
2007-04-29 18:02:48 +00:00
Jeff Cohen 222a8a4311 Minor corrections.
llvm-svn: 36548
2007-04-29 01:07:00 +00:00
Anton Korobeynikov b18f8f85e9 Implement review feedback. Aliasees can be either GlobalValue's or
bitcasts of them.

llvm-svn: 36537
2007-04-28 13:45:00 +00:00
Anton Korobeynikov a97b694c82 Implement aliases. This fixes PR1017 and it's dependent bugs. CFE part
will follow.

llvm-svn: 36435
2007-04-25 14:27:10 +00:00
Jeff Cohen beccb74eec Undo erroneous corrections.
llvm-svn: 36340
2007-04-22 14:56:37 +00:00
Jeff Cohen 5819f185a7 Minor corrections.
llvm-svn: 36325
2007-04-22 01:17:39 +00:00
Christopher Lamb bff50208c8 add support for alignment attributes on load/store instructions
llvm-svn: 36301
2007-04-21 08:16:25 +00:00
Jeff Cohen 43a2fb747f Provide link.
llvm-svn: 36257
2007-04-18 17:26:14 +00:00
Devang Patel f96c3625c2 Remove "ModulePasses requiring FunctionPasses" from the list of future
extensions.

llvm-svn: 36186
2007-04-17 00:17:11 +00:00
Devang Patel 9b5e8e5c32 Document how, module pass can require function pass.
llvm-svn: 36171
2007-04-16 21:28:14 +00:00
Duncan Sands 085b45e1f1 Fix typos.
llvm-svn: 36124
2007-04-16 13:02:27 +00:00
Reid Spencer e296548ba6 Describe quoting rules.
llvm-svn: 36060
2007-04-15 08:01:04 +00:00
Reid Spencer 530eef660f Add some info about the pipelines and redirection.
llvm-svn: 36030
2007-04-14 23:27:06 +00:00
Reid Spencer 9dcf4c2337 For PR1319:
Rewrite much of the DejaGnu section to bring it in line with the new
facilities in llvm.exp.

llvm-svn: 36015
2007-04-14 21:46:15 +00:00
Duncan Sands b4a7326c20 Correct typo.
llvm-svn: 35989
2007-04-14 12:30:27 +00:00
Lauro Ramos Venancio c451ec635f update documentation
llvm-svn: 35953
2007-04-12 20:34:36 +00:00
Lauro Ramos Venancio 0ab204bb36 update documentation
llvm-svn: 35952
2007-04-12 19:52:46 +00:00
Reid Spencer c70afc3818 Fix extra argument in part_set examples. Thanks Zhiru.
llvm-svn: 35936
2007-04-12 01:03:03 +00:00
Reid Spencer 7972c4758c Fix validation errors.
llvm-svn: 35933
2007-04-11 23:49:50 +00:00
Reid Spencer 14194dc054 Missing end tag. Thanks, Nick.
llvm-svn: 35932
2007-04-11 23:46:06 +00:00
Reid Spencer 3b5856151b Put period inside the paragraph!
llvm-svn: 35930
2007-04-11 23:26:07 +00:00
Reid Spencer 5bf54c868b Document the part_set intrinsic.
llvm-svn: 35929
2007-04-11 23:23:49 +00:00
Reid Spencer a28d662816 Add Scott's note about GCC 4.1.2 on OpenSUSE.
llvm-svn: 35924
2007-04-11 21:28:31 +00:00
Reid Spencer ea2945e8e2 Fix name of an intrinsic: bit.part_select -> part.select
llvm-svn: 35853
2007-04-10 02:51:31 +00:00
Duncan Sands 24334a3561 Rephrase linker explanation.
llvm-svn: 35739
2007-04-07 17:43:25 +00:00
Reid Spencer edf61160b1 Remove the part_set intrinsic. It won't get implemented as an intrinsic.
llvm-svn: 35667
2007-04-04 19:15:59 +00:00
Reid Spencer 91fd109d6b Appease Chris' pedantic streak.
llvm-svn: 35647
2007-04-04 05:46:04 +00:00
Reid Spencer ca5fdf3b1e Fix links to intrinsic functions outside LangRef.html
llvm-svn: 35646
2007-04-04 04:14:31 +00:00
Reid Spencer 96a5f02392 Remove intrinsics that we will not be implementing.
Fix the anchor names of intrinsics to all be int_ so as to distinguish
them from the i_ prefix reserved for instructions.

llvm-svn: 35645
2007-04-04 02:42:35 +00:00
Devang Patel eb44d8fb19 Update example notes to clarify system linker's role.
llvm-svn: 35597
2007-04-02 16:54:12 +00:00
Reid Spencer f361c4f4f8 bwsap -> bswap
llvm-svn: 35580
2007-04-02 02:25:19 +00:00
Reid Spencer 403a1c4517 Fix some bswap typos that Chris noticed.
llvm-svn: 35564
2007-04-02 00:19:52 +00:00
Chris Lattner 489ad3313a gcc 3.4.4 is known-bad on x86-64
llvm-svn: 35559
2007-04-01 20:14:46 +00:00
Reid Spencer 8bc7d957cf Preview documentation for additional intrinsic functions.
llvm-svn: 35558
2007-04-01 19:00:37 +00:00
Reid Spencer 8a5799f558 For PR1297:
Preview documentation for the llvm.bit.concat intrinsic (yet to be
implemented).

llvm-svn: 35552
2007-04-01 08:27:01 +00:00
Reid Spencer 4eefaab3f6 For PR1297:
Document changes to bswap and bit counting intrinsics. bswap's name now
requires two types in the suffix per overloaded intrinsic naming rules.
The ctpop, cttz, and ctlz intrinsics were changed to always return i32.

llvm-svn: 35550
2007-04-01 08:04:23 +00:00
Reid Spencer 9ade28d260 Mention how to create overloaded intrinsics.
llvm-svn: 35549
2007-04-01 07:44:52 +00:00
Jeff Cohen 2cdce430e2 This is working again.
llvm-svn: 35518
2007-03-30 22:02:18 +00:00
Duncan Sands 3bf01520eb Remove reference to checkpoint.
llvm-svn: 35507
2007-03-30 16:09:58 +00:00
Duncan Sands 16f122e6ad Various hopefully correct easy fixes.
llvm-svn: 35506
2007-03-30 12:22:09 +00:00
Jeff Cohen 277a237520 Update to current situation.
llvm-svn: 35440
2007-03-28 20:27:51 +00:00
Chris Lattner 3d9c1bd9e2 Stop using the foo HTML tag :)
llvm-svn: 35436
2007-03-28 18:27:57 +00:00
Reid Spencer 15316f9568 Undocument the implementation keyword
Docuemnt the checkpoint keyword

llvm-svn: 35413
2007-03-28 02:46:29 +00:00
Tanya Lattner b453c429af Fixing doxygen.cfg target. I'm not a makefile expert, so hopefully this correct.Tested doxygen generation on zion.
llvm-svn: 35390
2007-03-27 23:19:39 +00:00
Reid Spencer 5cde01f616 For PR1276:
Allow doxygen documentation to be rebuilt manually with "make regendoc"
separately from "make install".

Patch by Scott Michel.

llvm-svn: 35378
2007-03-27 06:06:15 +00:00
Reid Spencer 81ffa09488 For PR601:
Add a little flesh to the document skeleton.

llvm-svn: 35377
2007-03-27 02:49:31 +00:00
Reid Spencer 2853e602d4 For PR601:
Initial skeleton for pass documentation.

llvm-svn: 35354
2007-03-26 09:32:31 +00:00
Reid Spencer db3b93bbb2 Fix a link.
llvm-svn: 35306
2007-03-24 22:40:44 +00:00
Reid Spencer 806ad6afb8 Correct the description of srem. remainder follows the dividend not the
divisor!

llvm-svn: 35303
2007-03-24 22:23:39 +00:00
Reid Spencer 9d1700e188 Add noreturn function attribute.
llvm-svn: 35262
2007-03-22 02:18:56 +00:00
Reid Spencer 05dbb9d002 Preview nounwind function attribute.
llvm-svn: 35256
2007-03-22 02:02:11 +00:00
Anton Korobeynikov be9c93c79c More LangRef fixes. Corrected names of intrinsics.
llvm-svn: 35249
2007-03-22 00:02:17 +00:00
Anton Korobeynikov 640bbe0a15 Fixed va_arg example. Reported by Roman Samoilov
llvm-svn: 35248
2007-03-21 23:58:04 +00:00
Devang Patel 1d3bb03aa1 Document LoopPass.
llvm-svn: 35191
2007-03-19 22:21:25 +00:00
Jim Laskey 6e8a2f4738 Change e-mail address.
llvm-svn: 35103
2007-03-14 19:32:21 +00:00
Jim Laskey 2211f496ff Add link to exception handling.
llvm-svn: 35102
2007-03-14 19:31:19 +00:00
Jim Laskey 7248e711bd Adding credit for PPC changes.
llvm-svn: 35101
2007-03-14 19:30:33 +00:00
Jim Laskey 6956773583 First draft of exception handling doc.
llvm-svn: 35100
2007-03-14 19:29:42 +00:00
Chris Lattner 40872ad006 llvm-gcc 3.4 is dead.
llvm-svn: 34961
2007-03-06 06:27:34 +00:00
Reid Spencer ed2ce58244 Get the version number for the LLVM from the autoconf/configure.ac file
when building the documentation for the web site.

llvm-svn: 34894
2007-03-04 00:45:50 +00:00
Chris Lattner 73f2825957 grammaro
llvm-svn: 34830
2007-03-02 02:57:34 +00:00
Reid Spencer 91643aa96f Fix a typo.
llvm-svn: 34826
2007-03-02 01:31:31 +00:00
Reid Spencer bbd97b1edb Clarify the use of getValue/getSExtValue/getZExtValue and add the new
APInt constructor.

llvm-svn: 34811
2007-03-01 21:05:33 +00:00
Reid Spencer ccaec8e7c4 Describe how arbitrary precision integers are written to the bytecode.
llvm-svn: 34719
2007-02-28 02:33:06 +00:00
Chris Lattner 93a7145ebe add -enable-eh
llvm-svn: 34600
2007-02-25 18:50:48 +00:00
Chris Lattner 02cbe037e3 update this for llvm-gcc4
llvm-svn: 34566
2007-02-25 01:11:36 +00:00
Bill Wendling 1ce62bf8f4 Added some more information on how to use "delta" to reduce testcases.
llvm-svn: 34553
2007-02-24 03:46:42 +00:00
Chris Lattner 072d578bc2 clarify.
llvm-svn: 34524
2007-02-23 06:53:06 +00:00
Chris Lattner 7d92b9129a clarify llvm-gcc GPL issue
llvm-svn: 34486
2007-02-22 06:33:23 +00:00
Reid Spencer 50c723ae72 Add a section on the target datalayout syntax and describe the defaults
and rules used by LLVM to construct the target's layout rules.

llvm-svn: 34433
2007-02-19 23:54:10 +00:00
Bill Wendling 0ae16357ca Corrected typo.
llvm-svn: 34421
2007-02-19 18:32:40 +00:00
Reid Spencer 68812c7024 Some minor tweaks and grammar cleanup.
llvm-svn: 34420
2007-02-19 17:38:38 +00:00
Chris Lattner 8d033d1163 fix validation
llvm-svn: 34414
2007-02-19 06:57:46 +00:00
Chris Lattner 78914c3d5e more wording changes and some minor additions
llvm-svn: 34413
2007-02-19 06:57:16 +00:00
Chris Lattner f54ba986b2 add the definite article
llvm-svn: 34412
2007-02-19 06:24:23 +00:00
Chris Lattner 83967801fd rename section to Copyright, License, and Patents
llvm-svn: 34411
2007-02-19 06:19:16 +00:00
Chris Lattner 30ff8f8b20 wording changes
llvm-svn: 34410
2007-02-19 06:15:33 +00:00
Chris Lattner a65670e2e5 add strong words about patents
llvm-svn: 34409
2007-02-19 06:13:50 +00:00
Chris Lattner 76fa27f757 incremental changes to own section, protosection on patents
llvm-svn: 34408
2007-02-19 06:05:58 +00:00
Chris Lattner 4d67b16416 fix TOC, clarify bullet in incremental dev
llvm-svn: 34407
2007-02-19 05:59:30 +00:00
Chris Lattner a333819d63 refactor the top-level 'patches' section into a subsection of General Policies.
Much of its content is now in other parts of the doc, and this brings it up
immediately after 'stay informed' and right before 'code reviews'.

llvm-svn: 34406
2007-02-19 05:57:29 +00:00
Chris Lattner 10f1514b07 minor changes
llvm-svn: 34405
2007-02-19 05:49:11 +00:00
Chris Lattner a90a7d6c5a remove terminology section (this is not a legal document)
move testcases above quality.  Mention that a testcase is part of quality.

llvm-svn: 34404
2007-02-19 05:47:13 +00:00
Chris Lattner 793eead2d6 Transmogrify 'Starting New Work' into 'Making a Major Change', add
incremental development as a subsection of it.

llvm-svn: 34403
2007-02-19 05:43:04 +00:00
Chris Lattner 8087c0b55f A bunch of editting. I'm still not done with the 'patches' section.
llvm-svn: 34401
2007-02-19 03:50:31 +00:00
Chris Lattner 8503007331 clarify the 'developed by' line
llvm-svn: 34400
2007-02-19 03:33:06 +00:00
Reid Spencer 9154bc80be Remove broken links to gccas and gccld.
llvm-svn: 34393
2007-02-18 20:37:44 +00:00
Chris Lattner 406fb4f2eb update symtab section to reflect recent changes.
llvm-svn: 34340
2007-02-16 04:37:31 +00:00
Reid Spencer ebe725b466 For PR1195:
Packed -> Vector.

llvm-svn: 34297
2007-02-15 03:08:48 +00:00
Reid Spencer 404a3259f9 For PR1195:
Packed -> Vector

llvm-svn: 34296
2007-02-15 03:07:05 +00:00
Reid Spencer d84d35ba70 For PR1195:
Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and
PackedTyID -> VectorTyID. No functional changes.

llvm-svn: 34293
2007-02-15 02:26:10 +00:00
Reid Spencer 98e745adf6 Fix validation errors.
llvm-svn: 34291
2007-02-15 01:11:54 +00:00
Reid Spencer 77c01f4065 Fix a typo.
llvm-svn: 34289
2007-02-14 22:58:39 +00:00
Reid Spencer 05cc0994cc Add feedback from Vikram Adve.
llvm-svn: 34288
2007-02-14 22:55:40 +00:00
Reid Spencer 1e7306d43d Synchronize TOC headings with actual headings.
llvm-svn: 34285
2007-02-14 17:24:04 +00:00
Reid Spencer e63f6bc4dc Fix the table of contents to match the document body.
llvm-svn: 34284
2007-02-14 17:20:59 +00:00
Reid Spencer 535fb50839 Fix a grammaro.
llvm-svn: 34283
2007-02-14 16:21:54 +00:00
Reid Spencer 3361037c0d A few changes:
1. Fix typos
2. Move Terminology to the end
3. Simplify language in a few spots.
4. Add a policy that larger increments require a larger testing effort.

llvm-svn: 34282
2007-02-14 16:21:10 +00:00
Reid Spencer de63616820 Drop a policy.
llvm-svn: 34281
2007-02-14 08:23:08 +00:00
Reid Spencer 4deff34514 Some more minor tweaks.
llvm-svn: 34280
2007-02-14 08:19:16 +00:00
Reid Spencer 74d6bb6eed Fix word usage.
llvm-svn: 34279
2007-02-14 08:13:38 +00:00
Reid Spencer 6041efc206 Add a missing .
llvm-svn: 34278
2007-02-14 08:09:40 +00:00
Reid Spencer c4a1f8b9cf Incorporate Chris Lattner's second round of feedback.
llvm-svn: 34277
2007-02-14 07:57:48 +00:00
Chris Lattner 61c20afe80 fix validation bug
llvm-svn: 34276
2007-02-14 07:42:59 +00:00
Chris Lattner 3009bcc3bc now that llvm-gcc3 is gone, life is significantly simpler and less scary
llvm-svn: 34275
2007-02-14 07:42:12 +00:00
Chris Lattner d521f3c90e remove an obsolete question
llvm-svn: 34274
2007-02-14 07:40:16 +00:00
Chris Lattner cba64669b0 remove obsolete warning
llvm-svn: 34271
2007-02-14 07:34:22 +00:00
Chris Lattner 24b7135482 There is no circular dependency between llvm and llvm-gcc anymore. stop
scaring users.

llvm-svn: 34270
2007-02-14 07:33:00 +00:00
Reid Spencer 56e5655bc8 Incorporate Chris' first round of comments.
llvm-svn: 34269
2007-02-14 07:22:19 +00:00
Reid Spencer 102f05abcb Add missing closing parenthesis.
llvm-svn: 34248
2007-02-13 20:57:57 +00:00
Reid Spencer 6e0c66d591 Fix tow grammaros that Bill Wendling noticed.
llvm-svn: 34242
2007-02-13 17:04:09 +00:00
Reid Spencer 767abe4371 Clean up spelling mistakes.
llvm-svn: 34238
2007-02-13 09:20:14 +00:00
Reid Spencer dd2b902969 Fix an HTML validation error.
llvm-svn: 34237
2007-02-13 09:11:33 +00:00
Reid Spencer b2c3d78bd9 Make the draft notice more prominent.
llvm-svn: 34236
2007-02-13 09:09:20 +00:00
Reid Spencer d35e364e83 Add DeveloperPolicy.html
llvm-svn: 34235
2007-02-13 09:08:27 +00:00
Reid Spencer a0f02a3648 First draft of the LLVM Developer Policy. This document is a "first cut"
at stating in clear terms the LLVM project's policies with respect to
developers and their contributions. Feedback on this is welcome while it
is in draft stage.

llvm-svn: 34234
2007-02-13 09:06:01 +00:00
Reid Spencer e976307ba9 Remove references to the now deprecated gccas and gccld.
llvm-svn: 34192
2007-02-12 05:03:33 +00:00
Reid Spencer 7e08d13028 Update for llvm-gcc v4.0 usage.
llvm-svn: 34191
2007-02-12 05:02:56 +00:00
Chris Lattner 756f83fdf9 fix a grammar ambiguity noticed by Duncan
llvm-svn: 34151
2007-02-10 18:35:31 +00:00
Reid Spencer 850f09baca int -> i32, etc.
llvm-svn: 34102
2007-02-09 17:56:02 +00:00
Reid Spencer 6bc8576e74 Remove gccas.pod and references to gccas and gccld.
llvm-svn: 34097
2007-02-09 16:56:25 +00:00
Reid Spencer 2543a22035 Change a reference to gccas to a reference to opt.
llvm-svn: 34095
2007-02-09 16:00:28 +00:00
Reid Spencer a7974ccd97 Remove references to gccld and gccas, adjusting the documentation to
mention llvm-ld and opt instead (if appropriate).

llvm-svn: 34094
2007-02-09 15:59:08 +00:00
Reid Spencer dac9bac45e gccld is gone.
llvm-svn: 34092
2007-02-09 15:33:12 +00:00
Reid Spencer 7ff39512a2 Fix some formatting mistakes.
llvm-svn: 34080
2007-02-09 04:15:08 +00:00
Reid Spencer ddef5ab074 Merge gccld documentation in here. gccld will go away soon.
llvm-svn: 34079
2007-02-09 04:12:51 +00:00
Chris Lattner d81d7be3cd update this.
llvm-svn: 34063
2007-02-08 19:14:21 +00:00
Reid Spencer 26e1f92f55 Describe llvm/test more accurately given recent changes.
llvm-svn: 34055
2007-02-08 17:00:55 +00:00
Chris Lattner b2fa25c8f9 remove some obsolete SymbolTable methods. These docs need to be updated
now that PR411 landed

llvm-svn: 33991
2007-02-07 06:24:17 +00:00
Reid Spencer 1f69fe5b73 Document the LINK_COMPONENTS and NO_INSTALL variables.
llvm-svn: 33969
2007-02-06 19:00:40 +00:00
Chris Lattner 9132f16d6c add a note
llvm-svn: 33904
2007-02-05 06:30:51 +00:00
Reid Spencer f9eabff001 For PR1067:
Update library documentation after removal of libLLVMTransforms.a that
resulted from removal of the LevelRaise pass.

llvm-svn: 33850
2007-02-04 00:17:35 +00:00
Chris Lattner 0a165eedd1 describe SmallSetVector
llvm-svn: 33847
2007-02-04 00:00:26 +00:00
Chris Lattner 265345fc65 null -> pointer, nul -> character :)
llvm-svn: 33841
2007-02-03 22:04:27 +00:00
Reid Spencer 31882b8831 Fix some spellos.
llvm-svn: 33840
2007-02-03 21:06:43 +00:00
Chris Lattner f043f7653e fix grammar
llvm-svn: 33839
2007-02-03 20:17:53 +00:00
Chris Lattner 9dd7a380a8 Serious cleanups. Make the TOC match the text for the class hierarchy,
move the sections of the class-h around in the right order, make it actually
reflect the classes in LLVM today.

llvm-svn: 33838
2007-02-03 20:02:25 +00:00
Chris Lattner 4e406a9f8e Add TOC
llvm-svn: 33837
2007-02-03 19:51:56 +00:00
Chris Lattner f233c425cd describe map-like containers
llvm-svn: 33836
2007-02-03 19:49:31 +00:00
Chris Lattner 68b0ec54c2 improve grammar
llvm-svn: 33830
2007-02-03 08:20:15 +00:00
Chris Lattner f5ddd043d6 improve grammar
llvm-svn: 33829
2007-02-03 08:10:45 +00:00
Chris Lattner cb292fc808 close run-away tag
llvm-svn: 33828
2007-02-03 07:59:51 +00:00
Chris Lattner ac76029f91 fill in the section on Set-like containers.
llvm-svn: 33827
2007-02-03 07:59:07 +00:00
Chris Lattner 694e110a2e fix validation issues
llvm-svn: 33823
2007-02-03 03:06:52 +00:00
Chris Lattner 099213becc fix validation problems
llvm-svn: 33822
2007-02-03 03:05:57 +00:00
Chris Lattner 9d9985cab5 Add some notes about choice of container.
llvm-svn: 33821
2007-02-03 03:04:03 +00:00
Reid Spencer 04c5761386 For PR1152:
Update documentation to reflect that this isn't a full-blown executable
any more.

llvm-svn: 33807
2007-02-03 00:44:47 +00:00
Reid Spencer 2e2e43edf4 And even more correctly.
llvm-svn: 33805
2007-02-03 00:33:26 +00:00
Reid Spencer dc83457a78 Format the examples correctly.
llvm-svn: 33804
2007-02-03 00:32:23 +00:00
Reid Spencer f3293bad2e For PR1152:
Update documentation to reflect addition of gccas functionality into opt.

llvm-svn: 33803
2007-02-03 00:21:56 +00:00
Reid Spencer 2ab0193da1 Put the Shift instructions in the right section.
llvm-svn: 33782
2007-02-02 13:57:07 +00:00
Reid Spencer b958c7ec8a 1. Break long lines to 80 col limit
2. Fix indentation
3. Renumber the instruction opcodes after the Shift became a binary operator.

llvm-svn: 33777
2007-02-02 02:30:19 +00:00
Reid Spencer 04e259be5c Preview of the shift instructions becoming Binary Operators.
llvm-svn: 33720
2007-01-31 21:39:12 +00:00
Reid Spencer 2970eeb003 Fix version information for new instructions.
llvm-svn: 33689
2007-01-31 01:18:59 +00:00
Reid Spencer 216b9e3896 Correct the instruction op codes to meet current head changes.
llvm-svn: 33686
2007-01-31 00:38:46 +00:00
Reid Spencer 8ad541d5a8 Excise documentation about Compaction Tables.
llvm-svn: 33685
2007-01-31 00:26:08 +00:00
Anton Korobeynikov e93c6e8dca Grammar fix
llvm-svn: 33602
2007-01-28 15:27:21 +00:00
Anton Korobeynikov e816685bd5 Document 'inreg' & 'sret'
llvm-svn: 33600
2007-01-28 14:30:45 +00:00
Owen Anderson 8ce4b1b9cd Describe the recent changes to the bytecode format for PR761.
llvm-svn: 33586
2007-01-27 19:23:25 +00:00
Jim Laskey c56315c2b5 Change the MachineDebugInfo to MachineModuleInfo to better reflect usage
for debugging and exception handling.

llvm-svn: 33550
2007-01-26 21:22:28 +00:00
Devang Patel 40ec08095b Fix cut-n-pasto.
llvm-svn: 33469
2007-01-23 22:56:28 +00:00
Anton Korobeynikov 725ad649b9 One more small fix to documentation
llvm-svn: 33463
2007-01-23 12:43:53 +00:00
Anton Korobeynikov c7f9f3df24 Updating documentation:
- Document visibility stuff
 - Fix gcc' supported attributes list
 - Document udis86 configure option

llvm-svn: 33462
2007-01-23 12:35:46 +00:00
Reid Spencer 2eadb5310d For PR970:
Clean up handling of isFloatingPoint() and dealing with PackedType.
Patch by Gordon Henriksen!

llvm-svn: 33415
2007-01-21 00:29:26 +00:00
Reid Spencer ba66c52037 Initial template for the 2.0 Bitcode format that will replace the 1.x
Bytecode format.

llvm-svn: 33412
2007-01-20 23:21:08 +00:00
Reid Spencer 49c6e09c7c icmp doesn't support comparison of packed types.
llvm-svn: 33357
2007-01-19 17:11:12 +00:00
Reid Spencer 5cf93b411f Update copyright for 2007.
llvm-svn: 33339
2007-01-18 21:33:56 +00:00
Reid Spencer ebd7cac7e4 Update for changes in location of Stacker.
llvm-svn: 33293
2007-01-17 05:37:42 +00:00
Reid Spencer e6a338d263 One more @ to remove.
llvm-svn: 33240
2007-01-15 18:28:34 +00:00
Reid Spencer cf7ebf5cef Update documentation for parameter attributes for the syntax change.
llvm-svn: 33238
2007-01-15 18:27:39 +00:00
Chris Lattner 298ca5518d Change to match API changes.
llvm-svn: 33219
2007-01-15 01:55:32 +00:00
Chris Lattner c0f423a452 Terminology change: drop 'integral' completely. Now we just have integer,
which includes i1.  Change the semantics of the various instructions to
support i1 where they didn't before: for example, it is now legal [though
not terribly useful, as it is the same as xor] to add two i1 values.

llvm-svn: 33217
2007-01-15 01:54:13 +00:00
Chris Lattner e20b4707c6 clarify linkonce/weak linkage
llvm-svn: 33201
2007-01-14 06:51:48 +00:00
Reid Spencer 69240dfa72 Fix an incorrect conversion of int -> i32
llvm-svn: 33199
2007-01-14 06:29:54 +00:00
Chris Lattner 5760c5042c add a global variable example
llvm-svn: 33190
2007-01-14 00:27:09 +00:00
Anton Korobeynikov a0554d90e8 * PIC codegen for X86/Linux has been implemented
* PIC-aware internal structures in X86 Codegen have been refactored
* Visibility (default/weak) has been added
* Docs fixes (external weak linkage, visibility, formatting)

llvm-svn: 33136
2007-01-12 19:20:47 +00:00
Reid Spencer 2759b18e5d Make a couple organizational changes. Type no longer derives from Value
(hasn't for ages) so move it up one level in the table of contents.
Type needs to be understood before Value so move it before Value. Make
the descriptions of types stand out a little more.  Add references to the
doxygen for the Type class.

llvm-svn: 33122
2007-01-12 17:26:25 +00:00
Reid Spencer b9e5d10cf7 Update documentation for arbitrary precision integers:
1. int -> i32
2. Describe the IntegerType class.
3. Correct the description of Type and its primitive type subclasses.
4. Document OpaqueType and PackedType a little better.

llvm-svn: 33120
2007-01-12 17:11:23 +00:00
Reid Spencer 07c9c68825 Fix a typo.
llvm-svn: 33118
2007-01-12 15:46:11 +00:00
Reid Spencer e4c7fcd1bd Update for changes in the IR. The ConstantIntegral, ConstantBool, and
ConstantInt classes were merged into just ConstantInt.

llvm-svn: 33107
2007-01-12 03:36:33 +00:00
Reid Spencer 36a1542bcb Update for changes in the assembly syntax. bool is replaced with i1.
llvm-svn: 33106
2007-01-12 03:35:51 +00:00
Reid Spencer e3db84c6c2 Explain that bitcast can only cast a pointer to another pointer.
llvm-svn: 33041
2007-01-09 20:08:58 +00:00
Chris Lattner db0790c2fd Fully specify the type of the llvm.va* intrinsics. This helps resolve
Pr1093

llvm-svn: 33009
2007-01-08 07:55:15 +00:00
Chris Lattner 65842fe4cd llvm.isunordered is no longer alive.
llvm-svn: 32995
2007-01-07 08:53:26 +00:00
Reid Spencer 9e224a2533 Update the documentation for SymbolTable class.
llvm-svn: 32970
2007-01-07 00:41:39 +00:00
Reid Spencer db94353bff Add an example to the trunc instruction to clarify trunc to bool.
Example provided by Baptiste Lepilleur.

llvm-svn: 32931
2007-01-05 21:33:08 +00:00
Reid Spencer 92c671e77e Correct the documentation for function declarations. They can have dllimport
or extern_weak linkage as well as "externally visible".

llvm-svn: 32887
2007-01-05 00:59:10 +00:00
Chris Lattner bc5cc2e7fa Fix broken links, reported by Baptiste Lepilleur
llvm-svn: 32882
2007-01-04 22:01:45 +00:00
Reid Spencer 8392ed123a Document this tool as experimental and list its deficiencies.
llvm-svn: 32878
2007-01-04 17:55:11 +00:00
Reid Spencer 3e628eb989 Clean up usage of "unsigned" and "signed" in the documentation to indicate
only that specific instructions regard their operands as signed and
unsigned not that the operands *are* signed or unsigned.

llvm-svn: 32874
2007-01-04 16:43:23 +00:00
Bill Wendling 4d95e91eca Removed reference to "cnull" because typical users shouldn't need to use
it.

llvm-svn: 32869
2007-01-04 08:38:04 +00:00
Chris Lattner 424d4dc713 ding dong llvm-gcc3 is dead
llvm-svn: 32868
2007-01-04 07:08:27 +00:00
Chris Lattner 13ce918505 gcc 4.1.1 on amd64 is broken
llvm-svn: 32867
2007-01-04 07:06:05 +00:00
Reid Spencer 784ef79b55 icmp and fcmp do not take packed type operands.
llvm-svn: 32864
2007-01-04 05:19:58 +00:00
Reid Spencer 72ba499004 Remove documentation of non-existent cextcc and csretextcc calling
conventions as these have been replaced with parameter attributes.

llvm-svn: 32797
2006-12-31 21:30:18 +00:00
Reid Spencer 655dcc6fce One more try on the table formatting.
llvm-svn: 32793
2006-12-31 07:20:23 +00:00
Reid Spencer 58c08716af Clean up some typos and formatting.
llvm-svn: 32792
2006-12-31 07:18:34 +00:00
Reid Spencer b5ebf3d667 For PR950:
Update for signless integer types:
1. Replace [us]byte with i8
2. Replace [u]short with i16
3. Replace [u]int   with i32
4. Replace [u]long  with i64
5. Document the "define" keyword and use it in all examples.
6. Document parameter attributes and how they affect function types.

llvm-svn: 32791
2006-12-31 07:07:53 +00:00
Nick Lewycky bfe93dfdd8 Typo.
llvm-svn: 32774
2006-12-31 03:44:08 +00:00
Reid Spencer c329a4e9cc Preview of new calling conventions: cextcc and csretextcc to handle explicit
sign and zero extension in function calls.

llvm-svn: 32764
2006-12-28 16:55:55 +00:00
Chris Lattner d7ed9c92c2 fix a typo
llvm-svn: 32713
2006-12-20 04:23:36 +00:00
Reid Spencer 85f3c06003 Remove documentation for isSigned and isUnsigned methods of Type class.
llvm-svn: 32708
2006-12-19 23:12:09 +00:00
Chris Lattner 58e5345894 update to reflect changes in statistic class.
llvm-svn: 32691
2006-12-19 21:46:21 +00:00
Reid Spencer 8810d370af Fix an example that used the old SetCondInst instruction.
llvm-svn: 32681
2006-12-19 19:47:54 +00:00
Reid Spencer c6be386754 Make changes for removal of SETCC instruction to unify with LangRef.html.
llvm-svn: 32680
2006-12-19 19:47:19 +00:00
Bill Wendling 3307244ce9 Added example of how to code print() methods so that they will disappear
from the code if "cnull" is passed into them.

llvm-svn: 32641
2006-12-17 11:40:40 +00:00
Jim Laskey 57825843d0 Pass html validation.
llvm-svn: 32598
2006-12-15 10:40:48 +00:00
Jim Laskey ef58334ddb Start of PowerPC info.
llvm-svn: 32578
2006-12-14 17:19:50 +00:00
Bill Wendling b0629487d8 Fixed some formatting.
llvm-svn: 32392
2006-12-09 01:35:43 +00:00
Bill Wendling c78ae26ff8 Another example of using the llvm IO streams.
llvm-svn: 32391
2006-12-09 01:27:51 +00:00
Bill Wendling 2b52dc1753 Add documentation for how to use the new LLVM streams.
llvm-svn: 32390
2006-12-09 01:20:34 +00:00
Andrew Lenharth 78f9389d79 A backwards compatible bc format for packed structs
llvm-svn: 32360
2006-12-08 17:50:05 +00:00