1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
Commit Graph

339 Commits

Author SHA1 Message Date
Reid Spencer
1667ea03b6 Changes docs for llvm.cs.uiuc.edu -> llvm.org
llvm-svn: 26746
2006-03-14 05:39:39 +00:00
Chris Lattner
4f01eca6ad Spec change: the size of a memset/memcpy/memmove is not required to be aligned
to the alignment argument.

llvm-svn: 26510
2006-03-04 00:02:10 +00:00
Chris Lattner
999aa36a04 remove the read/write port/io intrinsics.
llvm-svn: 26479
2006-03-03 00:19:58 +00:00
Chris Lattner
2b82f9e071 Update the llvm.memset/memcpy/memmove intrinsics to reflect the recent split
into types.

llvm-svn: 26477
2006-03-03 00:07:20 +00:00
Robert Bocchino
af94600ae5 Added documentation for vset and vselect.
llvm-svn: 26264
2006-02-17 21:18:08 +00:00
Chris Lattner
071cd81c93 document the syntax of inline asm
llvm-svn: 25624
2006-01-25 23:47:57 +00:00
Chris Lattner
e7851fb711 minor syntax change
llvm-svn: 25566
2006-01-24 00:37:20 +00:00
Chris Lattner
2952302ff0 document module-level inline asm support.
llvm-svn: 25561
2006-01-23 23:23:47 +00:00
Chris Lattner
4726c98606 like bswap, the ct* intrinsics require unsigned operands
llvm-svn: 25373
2006-01-16 22:38:59 +00:00
Chris Lattner
80ff83125b Consistency
llvm-svn: 25372
2006-01-16 22:34:14 +00:00
Reid Spencer
c14ea0afdf There is no llvm.bswap.i8, need at least 2 bytes to swap.
llvm-svn: 25367
2006-01-16 21:14:01 +00:00
Reid Spencer
3cecd3c4cf For PR411:
This patch is an incremental step towards supporting a flat symbol table.
It de-overloads the intrinsic functions by providing type-specific intrinsics
and arranging for automatically upgrading from the old overloaded name to
the new non-overloaded name. Specifically:
  llvm.isunordered -> llvm.isunordered.f32, llvm.isunordered.f64
  llvm.sqrt -> llvm.sqrt.f32, llvm.sqrt.f64
  llvm.ctpop -> llvm.ctpop.i8, llvm.ctpop.i16, llvm.ctpop.i32, llvm.ctpop.i64
  llvm.ctlz -> llvm.ctlz.i8, llvm.ctlz.i16, llvm.ctlz.i32, llvm.ctlz.i64
  llvm.cttz -> llvm.cttz.i8, llvm.cttz.i16, llvm.cttz.i32, llvm.cttz.i64
New code should not use the overloaded intrinsic names. Warnings will be
emitted if they are used.

llvm-svn: 25366
2006-01-16 21:12:35 +00:00
Robert Bocchino
8cc02aa833 Added spec for insertelement operation.
llvm-svn: 25342
2006-01-15 20:48:27 +00:00
Nate Begeman
96db94e03b Make the bswap documentation more to sabre's liking!
llvm-svn: 25302
2006-01-13 23:26:38 +00:00
Chris Lattner
5b621f5b0b fix some minor errors
llvm-svn: 25301
2006-01-13 23:26:01 +00:00
Nate Begeman
152c1ace0d Add documentation for the upcoming bswap intrinsics!
llvm-svn: 25300
2006-01-13 23:02:51 +00:00
Chris Lattner
b24168a52c Add llvm.stacksave and llvm.stackrestore.
llvm-svn: 25264
2006-01-13 02:03:13 +00:00
Chris Lattner
7b853c5fbe void* is not legal in LLVM.
llvm-svn: 25262
2006-01-13 01:20:27 +00:00
Robert Bocchino
35199c9513 Expanded the documentation for constant expressions to cover select
and extractelement.

llvm-svn: 25183
2006-01-10 19:31:34 +00:00
Robert Bocchino
61bbc59306 Added the spec for the new "extractelement" instruction.
llvm-svn: 25113
2006-01-05 17:37:02 +00:00
Chris Lattner
e5b3c14caf Fix some typos noticed by Gabor Greif!
llvm-svn: 24364
2005-11-15 06:07:55 +00:00
Chris Lattner
47891477c9 document sections
llvm-svn: 24317
2005-11-12 00:45:07 +00:00
Andrew Lenharth
dca2f13e76 continued readcyclecounter support
llvm-svn: 24300
2005-11-11 16:47:30 +00:00
Jeff Cohen
191cdf9760 Fix some typos.
llvm-svn: 24298
2005-11-11 02:15:27 +00:00
Chris Lattner
ce1390e70e Packed elements must be a power of two in size
llvm-svn: 24266
2005-11-10 01:44:22 +00:00
Chris Lattner
bcea8db4e4 document alignment on globals, functions, and allocation instructions.
llvm-svn: 24221
2005-11-06 08:02:57 +00:00
John Criswell
ec49d11cd2 Grammar and punctuation fixes.
llvm-svn: 23965
2005-10-24 16:17:18 +00:00
Chris Lattner
d19bed2fc0 llvm.sqrt somehow escaped documentation.
llvm-svn: 22490
2005-07-21 01:29:16 +00:00
Chris Lattner
8842bcc3fc add a note about variable length array
llvm-svn: 22278
2005-06-24 17:22:57 +00:00
Andrew Lenharth
0d30c53b5f SelectionDAG is very unhappy when the argument to an intrinsic is a struct
llvm-svn: 22272
2005-06-22 20:38:11 +00:00
Andrew Lenharth
70a6a4b463 OK, after checking the backwards compatibility code on X86 and the new code
path on alpha, now has come the time for new vararg support.  So, with out
further ado, I revert behavior back a couple of years!

Well, ok, I lied.  A few more notes.

First, the Simple ISels cannot be expected to work any longer, but they
should still compile

Second, there are likely some bugs to track down once the nightly testers
start with this.

Third, the initial patch doesn't include sparcv9, but I'll do that today.

Forth, subsequent patches won't bother being long winded.

llvm-svn: 22251
2005-06-18 18:28:17 +00:00
John Criswell
5041bff028 Added a note about how the type can be omitted in call instructions.
Added a note about how getelementptr can be used to index into structures
or arrays.
Fixed some typos, spelling, etc.

llvm-svn: 22083
2005-05-16 16:17:45 +00:00
Chris Lattner
093814c670 ctlz = most signficant bits, cttz = least sig
llvm-svn: 22061
2005-05-15 19:39:26 +00:00
John Criswell
fe7aeb01ec Minor fixup of typos.
llvm-svn: 21990
2005-05-13 22:25:59 +00:00
John Criswell
ab728eac00 Correct a detail with the alloca instruction.
Functions do not exit with invoke; they exit with unwind.

llvm-svn: 21893
2005-05-12 16:55:34 +00:00
John Criswell
abb58b3c4a Fixed some typos.
llvm-svn: 21891
2005-05-12 16:52:32 +00:00
Chris Lattner
2fc5553907 don't duplicate information, particularly when it's out of date!
llvm-svn: 21852
2005-05-11 03:35:57 +00:00
Chris Lattner
b25579d09b fix bugs in my previous commit clarify the return type of the bit ops
llvm-svn: 21755
2005-05-07 01:46:40 +00:00
Chris Lattner
069d6762aa add a couple of notes
llvm-svn: 21754
2005-05-06 23:08:23 +00:00
Chris Lattner
5ba10fa79c document calling convention extensions
llvm-svn: 21753
2005-05-06 22:57:40 +00:00
Chris Lattner
3cbfbba4f7 Add info on new 'tail' marker
llvm-svn: 21721
2005-05-06 05:47:36 +00:00
Andrew Lenharth
fd47801152 fixup argument
llvm-svn: 21680
2005-05-04 14:58:31 +00:00
Andrew Lenharth
583f305fca initial descriptions of count intrinsics
llvm-svn: 21677
2005-05-03 18:01:48 +00:00
Reid Spencer
cdd21b06d3 Mention that arguments to functions must be first class types.
llvm-svn: 21650
2005-05-01 22:22:57 +00:00
Reid Spencer
ef72727630 Convert the remainder of the intrinsic function prototypes to "declare"
form from the "call" form.

llvm-svn: 21573
2005-04-26 20:50:44 +00:00
Reid Spencer
a973fb004f Use the declare syntax not the call syntax for intrinsic prototypes so
the uninitiated reader is not confused.

llvm-svn: 21572
2005-04-26 20:41:16 +00:00
Chris Lattner
641c541312 document 'opaque' types
llvm-svn: 21535
2005-04-25 17:34:15 +00:00
Misha Brukman
95e9cfc71a Hyphenate the adjective `n-bit' when used to describe values and processors
llvm-svn: 21456
2005-04-22 18:02:52 +00:00
Andrew Lenharth
c287cd1e4e First step in adding pcmarker intrinsic. Second step (soon) is adding backend support.
llvm-svn: 20900
2005-03-28 20:05:49 +00:00
Chris Lattner
9d2e3380d6 Various cleanups and clarifications, thanks to Gabor Greif for contributing this patch!
llvm-svn: 20514
2005-03-07 22:13:59 +00:00
Chris Lattner
084980cdcd fix another typo
llvm-svn: 20512
2005-03-07 20:31:38 +00:00
Chris Lattner
5f2c1454d4 fix typeo that Gabor Greif noticed!
llvm-svn: 20511
2005-03-07 20:30:51 +00:00
Chris Lattner
af145bfdb2 cleanup my miswording
llvm-svn: 20381
2005-02-28 19:47:14 +00:00
Chris Lattner
e170bea312 Document llvm.prefetch, patch contributed by Justin Wick!
llvm-svn: 20373
2005-02-28 19:24:19 +00:00
Chris Lattner
646e53598f Fix a bug.
llvm-svn: 20242
2005-02-19 02:22:14 +00:00
Chris Lattner
3fce19376e Document the newly generalized model for constant globals.
llvm-svn: 20136
2005-02-12 19:30:21 +00:00
John Criswell
83025c6a56 Merged in RELEASE_14 changes.
llvm-svn: 18763
2004-12-10 15:51:16 +00:00
Reid Spencer
fe6150341f More grammaro's fixed.
llvm-svn: 18708
2004-12-09 18:13:12 +00:00
Reid Spencer
1a3135f333 Clean up some grammaro's.
llvm-svn: 18705
2004-12-09 18:02:53 +00:00
Chris Lattner
30aa7c392e Fully document the LLVM constants. This should go into LLVM 1.4
llvm-svn: 18701
2004-12-09 17:30:23 +00:00
Chris Lattner
74085fba30 Reflow and clean up some of the HTML in the initial section, split linkage
types into its own section.

llvm-svn: 18697
2004-12-09 16:36:40 +00:00
Chris Lattner
ddc2cdb772 Move the "High Level Structure" to before "Type System"
llvm-svn: 18695
2004-12-09 16:11:40 +00:00
Reid Spencer
bd18813e36 Minor format tweask for tables.
llvm-svn: 17394
2004-11-01 08:19:36 +00:00
Chris Lattner
c398679263 Document unreachable instruction
llvm-svn: 17033
2004-10-16 18:04:13 +00:00
Chris Lattner
daa0a295e7 Patch contributed by Patrick Meredith:
added notes on the fact that the current implementation uses
sbyte* for va_list.  Updated all occurances of valist to va_list (it was
inconsistant and find/replace is so easy ;-) ).  Added <...> around all
occurances of va_list in the intrinsic functions to match the vaarg and
vanext instructions and to further show that va_list is a variable type.

llvm-svn: 16530
2004-09-27 21:51:25 +00:00
Reid Spencer
f2a6a96a4b Provide some meta tags for this document.
llvm-svn: 16058
2004-08-26 20:44:00 +00:00
Misha Brukman
c864b3a39c Wrap long lines and try to fill the 80 chars per line so that we don't have too
many short lines.

llvm-svn: 15706
2004-08-12 20:16:08 +00:00
Chris Lattner
899641dee5 Add description of packed type support.
Patch contributed by Brad Jones!

llvm-svn: 15704
2004-08-12 19:12:28 +00:00
Brian Gaeke
6a3e24fcdd Modernize example, so that you can paste it right into llvm-as
llvm-svn: 14583
2004-07-02 21:08:14 +00:00
John Criswell
e9b074657f Removed the interrupt_handler instrinsic section that I accidently added
in my previous commits.  It's not implemented and is out of date.

llvm-svn: 14410
2004-06-25 16:42:50 +00:00
John Criswell
87256ef18a Grammar and punctuation fixes.
llvm-svn: 14409
2004-06-25 16:05:06 +00:00
John Criswell
03e3cff03a Added missing quote.
llvm-svn: 14407
2004-06-25 15:16:57 +00:00
Chris Lattner
fb2a62c838 Fix some broken links
llvm-svn: 14306
2004-06-21 22:52:48 +00:00
Chris Lattner
538a46b41c llvm.isnan is dead, long live llvm.isunordered!
llvm-svn: 14190
2004-06-15 21:50:46 +00:00
Alkis Evlogimenos
dcf5341b61 Really add the docs this time :-)
llvm-svn: 14167
2004-06-13 01:16:15 +00:00
Alkis Evlogimenos
9b28aef6cb Add the isunordered intrinsic.
llvm-svn: 14159
2004-06-12 19:19:14 +00:00
Chris Lattner
99dc0a4bda Document the llvm.isnan intrinsic
llvm-svn: 14131
2004-06-11 02:28:03 +00:00
Chris Lattner
1a313f10c9 Fix some broken links
llvm-svn: 13997
2004-06-03 22:57:15 +00:00
Chris Lattner
01ecaadbca Describe the new garbage collector intrinsics
llvm-svn: 13672
2004-05-23 21:06:01 +00:00
John Criswell
b612d46d37 Corrected the descriptions of the llvm.writeport and llvm.writeio
intrinsics.

Modified llvm.readio and llvm.writeio to use pointers to memory instead
of integers.  This should take care of problems such as different pointer
sizes, casting integers to pointers, weird architectural pointer types, etc.

Re-worded the description of llvm.readio and llvm.writeio so that it should
be more clear as to why they should be used over regular loads/stores for
I/O.

llvm-svn: 12867
2004-04-12 16:33:19 +00:00
John Criswell
4c409cc2c4 Added initial design for the llvm.readio and llvm.writeio intrinsics.
llvm-svn: 12864
2004-04-12 15:02:16 +00:00
John Criswell
aa1f7cd50d Fixed some spelling.
llvm-svn: 12790
2004-04-09 16:48:45 +00:00
John Criswell
e05952bcef Modified the prototypes of the llvm.readport and llvm.writeport intrinsics
so that they do not specify specific integer sizes (as those are
constrained by the code generator, not the intrinsic itself).

Also put these intrinsics into their own "Operating System" section.

llvm-svn: 12789
2004-04-09 16:43:20 +00:00
John Criswell
4293a0444d Added the llvm.readport and llvm.writeport intrinsics.
llvm-svn: 12788
2004-04-09 15:23:37 +00:00
Chris Lattner
262af8c7d8 Update getelementptr instruction description
llvm-svn: 12654
2004-04-05 01:30:49 +00:00
John Criswell
5582d9fa8c Fixed grammar typo.
llvm-svn: 12343
2004-03-12 21:19:06 +00:00
Chris Lattner
44716bb0f7 Cleanup the cast section, add the select instruction
llvm-svn: 12307
2004-03-12 05:50:16 +00:00
Chris Lattner
28d0798a68 Remove the comment "Constants must always have an initial value.", which
is incorrect.  Fix some formatting nastiness.

llvm-svn: 12223
2004-03-08 16:49:10 +00:00
Misha Brukman
bb9e7f4eab HTML 4.01 Strict compliance.
llvm-svn: 12050
2004-03-01 17:47:27 +00:00
John Criswell
b086ac893e Fixed minor typos.
llvm-svn: 11800
2004-02-24 16:13:56 +00:00
Chris Lattner
2b7ba0ef67 Wow, the description of the 'switch' instruction was out of date.
llvm-svn: 11790
2004-02-24 04:54:45 +00:00
Chris Lattner
49c1f92c5c fix typeo
llvm-svn: 11446
2004-02-14 19:27:26 +00:00
Chris Lattner
b4df99f307 Document new intrinsics
llvm-svn: 11438
2004-02-14 04:08:35 +00:00
Chris Lattner
c41ea880a0 Be a bit more specific about what the alignment value means and the restrictions on it
llvm-svn: 11360
2004-02-12 21:18:15 +00:00
Chris Lattner
7c8aebbdbc Add support for the llvm.memmove intrinsic.
Patch graciously contributed by Reid Spencer!

llvm-svn: 11354
2004-02-12 18:10:10 +00:00
Chris Lattner
161154c102 Document the llvm.memcpy intrinsic. Clean up some of the formatting of other
sections

llvm-svn: 11350
2004-02-12 17:01:32 +00:00
Chris Lattner
90912a88f6 Add links to SLD from the LangRef.html doc
Clean up the SLD document a LOT
Fill in a lot of details in the SLD document
update the formats for the object descriptors

llvm-svn: 10698
2004-01-06 05:31:32 +00:00
John Criswell
f5e8f68ed9 Fixed a small grammatical error.
Explained that function return types cannot be aggregate types.
Explained that functions with the same name but different type signatures
are considered to be different functions.

llvm-svn: 10230
2003-11-25 21:45:46 +00:00
Chris Lattner
48d5a78063 checkin reid's docpatch
llvm-svn: 10200
2003-11-25 01:02:51 +00:00
John Criswell
d38e92f298 Fixed another minor grammatical error.
llvm-svn: 10130
2003-11-21 17:42:22 +00:00
John Criswell
29fec87d2f Minor grammatical and punctuation corrections.
llvm-svn: 10126
2003-11-21 16:09:42 +00:00
Misha Brukman
ce107d752a First pass at cleaning up LangRef.html: stylesheet-ification, consistent
formatting, more strict adherence to HTML 4.01, other misc. cleanups.

llvm-svn: 9799
2003-11-08 01:05:38 +00:00
Chris Lattner
e9b662b9fa Fix typo
llvm-svn: 9610
2003-10-30 04:35:26 +00:00
Chris Lattner
de2a4b2bb4 Clarify that all manipulatable values must be of first class type, and specifically
update the PHI node entry to mention this as well.

llvm-svn: 9606
2003-10-30 01:31:37 +00:00
John Criswell
8ba94e9df8 Merged in RELEASE_1.
llvm-svn: 9538
2003-10-27 18:18:16 +00:00
Chris Lattner
b94b7cc213 Hrm, for some reason, my fingers like typing va_begin. Weird
llvm-svn: 9329
2003-10-21 15:43:55 +00:00
Chris Lattner
1e76cc6f8e Update for new varargs support
llvm-svn: 9218
2003-10-18 05:51:36 +00:00
Chris Lattner
216f9ee1fb Add documentation for weak variables
llvm-svn: 9001
2003-10-10 05:01:39 +00:00
Chris Lattner
07f321d012 Add info about volatile loads/stores
llvm-svn: 8403
2003-09-08 18:27:49 +00:00
Chris Lattner
f944a6153f Final cleanups, document is good to go
llvm-svn: 8338
2003-09-03 04:20:13 +00:00
Chris Lattner
fbc927711a Add a WHOLE lot of updates clarifications and fixes. This is not done but getting closer. I changed the docs to reflect the goal of making unwind an instruction, not an intrinsic.
llvm-svn: 8337
2003-09-03 00:41:47 +00:00
Chris Lattner
f697a5ee3e hyphenation police visited here
llvm-svn: 8336
2003-09-02 23:38:41 +00:00
Chris Lattner
5a9007a58b Document the llvm.unwind intrinsic.
Clarify the documentation for the invoke instruction

llvm-svn: 8196
2003-08-28 22:12:25 +00:00
Misha Brukman
5de3e14206 The word separate' only has one e'.
llvm-svn: 7173
2003-07-14 17:20:40 +00:00
Chris Lattner
fc725c2526 Diversify examples
llvm-svn: 6778
2003-06-18 21:30:51 +00:00
Chris Lattner
242a462967 fix incorrect anchor
llvm-svn: 6777
2003-06-18 21:28:11 +00:00
Chris Lattner
75a5272ec6 va_start only takes on argument now.
llvm-svn: 6039
2003-05-08 15:55:44 +00:00
Chris Lattner
9487ecd232 Update information about the switch instruction
llvm-svn: 6037
2003-05-08 05:08:48 +00:00
Chris Lattner
16e530dfbf * Add information about LLVM intrinsics
* Add information about the va_arg instruction
* Add information about the llvm.va_* intrinsics

llvm-svn: 6036
2003-05-08 04:57:36 +00:00
Chris Lattner
8fa0bebfd9 getelementptr uses long instead of uint indexes
llvm-svn: 4993
2002-12-13 06:01:21 +00:00
Chris Lattner
3c8aa6a2b4 Add a note about the switch instruction
llvm-svn: 4551
2002-11-05 00:21:03 +00:00
Misha Brukman
c9c721edf0 Fix spelling of `propagate'.
llvm-svn: 4423
2002-10-29 23:06:16 +00:00
Misha Brukman
0dca417cb1 Fixed grammar.
llvm-svn: 3805
2002-09-18 02:35:14 +00:00
Chris Lattner
3f5cd179cb Add distinction between integer and integral types.
llvm-svn: 3570
2002-09-03 00:52:52 +00:00
Chris Lattner
d022069527 Add "written by" note
llvm-svn: 3543
2002-08-30 21:50:21 +00:00
Chris Lattner
eb3b0721ea Comment out broken link
llvm-svn: 3520
2002-08-29 18:33:48 +00:00
Chris Lattner
141d33d521 Fix typeo noticed by Bryan
llvm-svn: 3388
2002-08-19 21:14:38 +00:00
Chris Lattner
0812b53cc4 Add a note mentioning that bools promote to 0 or 1
llvm-svn: 3352
2002-08-15 19:36:05 +00:00
Chris Lattner
c152083997 Remove information about dead 'not' instruction
llvm-svn: 3319
2002-08-14 17:55:59 +00:00
Chris Lattner
b98004b6b1 Add a note that specifies that the whether or not sign extension is done by
a cast is determined by the source operand.

llvm-svn: 3304
2002-08-13 20:52:09 +00:00
Chris Lattner
5f86b721b3 Avoid calling LLVM "Strongly typed"
llvm-svn: 2785
2002-06-25 20:20:08 +00:00
Chris Lattner
91ef4b8b0f Add borders to truth tables
llvm-svn: 2782
2002-06-25 18:06:50 +00:00
Chris Lattner
34bf0aa8ff Minor tuning and fleshing out of the language reference.
llvm-svn: 2781
2002-06-25 18:03:17 +00:00
Chris Lattner
6b0fe18eb2 Finish up the updates to the language reference
llvm-svn: 2509
2002-05-06 22:08:29 +00:00
Chris Lattner
c0699e7040 Updated documentation a _LOT_
llvm-svn: 2474
2002-05-06 03:03:22 +00:00
Chris Lattner
a7184775f4 Update documentation a LOT, make it more accurate and match current model
better.  Still more room for improvement.

llvm-svn: 2245
2002-04-14 06:13:44 +00:00
Chris Lattner
6812ccce5f Updated documentation for load, store & getelementptr
llvm-svn: 166
2001-07-09 00:26:23 +00:00
Chris Lattner
43cd747830 Update documentation to reflect:
* Changes in PHI node structure
* Intentions for load instruction to work with structures

llvm-svn: 22
2001-06-11 15:03:43 +00:00
Chris Lattner
e6b9b382e2 Initial revision
llvm-svn: 2
2001-06-06 20:29:01 +00:00