Commit Graph

154 Commits

Author SHA1 Message Date
Chris Lattner
f04cf06b5a Decribe the "implementation" keyword.
llvm-svn: 28762
2006-06-13 03:05:47 +00:00
Chris Lattner
48febe01d9 New calling convention I will be adding shortly.
llvm-svn: 28403
2006-05-19 21:15:36 +00:00
Chris Lattner
a093e85b00 Update dox, patch by Vladimir Prus!
llvm-svn: 28306
2006-05-15 17:26:46 +00:00
Chris Lattner
fa70e32490 Change token to match asmprinter output
llvm-svn: 28285
2006-05-14 18:23:06 +00:00
Chris Lattner
e6f4065bca typo
llvm-svn: 27936
2006-04-21 21:37:40 +00:00
Tanya Lattner
72a79541a8 Adding back vector instructions to keep in mainline.
llvm-svn: 27704
2006-04-14 19:24:33 +00:00
Tanya Lattner
61fcf9afdf Removing unimplemented vector instructions from language referrence.
llvm-svn: 27703
2006-04-14 19:07:42 +00:00
Chris Lattner
f8221accdf Move the vector instructions to their own subsection.
llvm-svn: 27545
2006-04-08 23:07:04 +00:00
Chris Lattner
1729e9aa26 Wrap long lines, fix verification error
llvm-svn: 27531
2006-04-08 04:40:53 +00:00
Chris Lattner
4b3a885a0f use the right escapes
llvm-svn: 27530
2006-04-08 04:39:19 +00:00
Chris Lattner
f18ce95ff2 Description for the new shufflevector instruction I'm adding.
llvm-svn: 27502
2006-04-08 00:13:41 +00:00
Chris Lattner
a69d722c90 Fix a typo, thanks to Gabor Greif
llvm-svn: 27054
2006-03-24 07:16:10 +00:00
Robert Bocchino
359261f2e9 Fixed a typo in the vsetfp examples.
llvm-svn: 26768
2006-03-14 23:22:57 +00:00
Robert Bocchino
60b452c13b Split the 'vset' instruction into two instructions, 'vsetint' and
'vsetfp', to reflect the fact that the semantics are different for
integer and fp values.

llvm-svn: 26767
2006-03-14 20:55:28 +00:00
Chris Lattner
443f1658c9 Update this to match the documentation in the GC doc and to match actual
practice.

llvm-svn: 26766
2006-03-14 20:02:51 +00:00
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