Commit Graph

464 Commits

Author SHA1 Message Date
Reid Spencer
2dc5201eae Add noreturn function attribute.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35262 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-22 02:18:56 +00:00
Reid Spencer
67606125f6 Preview nounwind function attribute.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35256 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-22 02:02:11 +00:00
Anton Korobeynikov
ec43a0662a More LangRef fixes. Corrected names of intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35249 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-22 00:02:17 +00:00
Anton Korobeynikov
5d522f36ca Fixed va_arg example. Reported by Roman Samoilov
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35248 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-21 23:58:04 +00:00
Jim Laskey
dd4ef1b540 Add link to exception handling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35102 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-14 19:31:19 +00:00
Reid Spencer
de15194839 Add a section on the target datalayout syntax and describe the defaults
and rules used by LLVM to construct the target's layout rules.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34433 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-19 23:54:10 +00:00
Reid Spencer
485bad1a09 For PR1195:
Packed -> Vector


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34296 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-15 03:07:05 +00:00
Reid Spencer
8e11bf8508 Put the Shift instructions in the right section.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33782 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-02 13:57:07 +00:00
Reid Spencer
569f2fa7f1 Preview of the shift instructions becoming Binary Operators.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33720 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-31 21:39:12 +00:00
Anton Korobeynikov
66a8c8ccb8 Grammar fix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33602 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-28 15:27:21 +00:00
Anton Korobeynikov
34d6dea849 Document 'inreg' & 'sret'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33600 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-28 14:30:45 +00:00
Anton Korobeynikov
8cea37b79a Updating documentation:
- Document visibility stuff
 - Fix gcc' supported attributes list
 - Document udis86 configure option


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33462 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-23 12:35:46 +00:00
Reid Spencer
24d6da5fed For PR970:
Clean up handling of isFloatingPoint() and dealing with PackedType.
Patch by Gordon Henriksen!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33415 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-21 00:29:26 +00:00
Reid Spencer
03c056a617 icmp doesn't support comparison of packed types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33357 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-19 17:11:12 +00:00
Reid Spencer
7bf214d8d0 One more @ to remove.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33240 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-15 18:28:34 +00:00
Reid Spencer
950e9f83ea Update documentation for parameter attributes for the syntax change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33238 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-15 18:27:39 +00:00
Chris Lattner
3b19d65897 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33217 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-15 01:54:13 +00:00
Chris Lattner
4887bd8f8e clarify linkonce/weak linkage
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33201 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-14 06:51:48 +00:00
Reid Spencer
4580e529f9 Fix an incorrect conversion of int -> i32
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33199 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-14 06:29:54 +00:00
Chris Lattner
68027ea618 add a global variable example
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33190 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-14 00:27:09 +00:00
Anton Korobeynikov
7f70559bc4 * 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)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33136 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-12 19:20:47 +00:00
Reid Spencer
b592952fe9 Fix a typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33118 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-12 15:46:11 +00:00
Reid Spencer
c78f33757d Update for changes in the assembly syntax. bool is replaced with i1.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33106 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-12 03:35:51 +00:00
Reid Spencer
19b569fc08 Explain that bitcast can only cast a pointer to another pointer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33041 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-09 20:08:58 +00:00
Chris Lattner
b75137d1f4 Fully specify the type of the llvm.va* intrinsics. This helps resolve
Pr1093


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33009 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-08 07:55:15 +00:00
Chris Lattner
30ade26ef7 llvm.isunordered is no longer alive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32995 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 08:53:26 +00:00
Reid Spencer
5cf0fe40d0 Add an example to the trunc instruction to clarify trunc to bool.
Example provided by Baptiste Lepilleur.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32931 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-05 21:33:08 +00:00
Reid Spencer
ac8d27686d Correct the documentation for function declarations. They can have dllimport
or extern_weak linkage as well as "externally visible".


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32887 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-05 00:59:10 +00:00
Reid Spencer
a5173381e9 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32874 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-04 16:43:23 +00:00
Reid Spencer
350f8aa72d icmp and fcmp do not take packed type operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32864 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-04 05:19:58 +00:00
Reid Spencer
c28d2bc476 Remove documentation of non-existent cextcc and csretextcc calling
conventions as these have been replaced with parameter attributes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32797 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-31 21:30:18 +00:00
Reid Spencer
f17a0b7117 One more try on the table formatting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32793 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-31 07:20:23 +00:00
Reid Spencer
92f8230f01 Clean up some typos and formatting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32792 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-31 07:18:34 +00:00
Reid Spencer
ca86e16032 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32791 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-31 07:07:53 +00:00
Reid Spencer
6f85b9d743 Preview of new calling conventions: cextcc and csretextcc to handle explicit
sign and zero extension in function calls.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32764 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-28 16:55:55 +00:00
Andrew Lenharth
75e1068c60 Packed Structure Definitions (docs)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32357 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-08 17:13:00 +00:00
Reid Spencer
93a498566a Tie the ordered/unordered predicate descriptions to their meaning wrt
to QNAN values.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32272 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-06 07:08:07 +00:00
Reid Spencer
85f5b5b9dc We only support 32-bit or 64-bit sequential type indices for GEP. Document
it as so.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32197 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-04 21:29:24 +00:00
Reid Spencer
01c4259d41 Document the icmp and fcmp constant expressions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32188 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-04 19:23:19 +00:00
Reid Spencer
42ddd84add Update for signless GEP semantics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32159 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-03 16:53:48 +00:00
Chris Lattner
722a0cafbd remove dead tag
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31944 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-27 21:53:28 +00:00
Reid Spencer
b7f26289b1 Corrections from review.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31865 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-19 03:00:14 +00:00
Reid Spencer
36d68e418d Update a reference to the old setcc instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31860 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-18 21:55:45 +00:00
Reid Spencer
f3a70a6cd9 For PR950:
Documentation preview of the upcoming icmp and fcmp instructions that
will replace the various setcc instructions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31859 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-18 21:50:54 +00:00
Reid Spencer
5c0ef47d83 Document new constant expr operators, rename bitconvert as bitcast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31693 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-11 23:08:07 +00:00
Reid Spencer
72679258ff Add a preview of two new conversion operators: ptrtoint and inttoptr. Update
the defintion of bitconvert correspondingly.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31688 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-11 21:00:47 +00:00
Reid Spencer
d4448796cf Post-review changes on conversion instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31607 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-09 23:03:26 +00:00
Reid Spencer
3fa91b08a4 Fix runaway <tt> element and section ordering.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31606 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-09 21:48:10 +00:00
Reid Spencer
16c469e660 Remove futurisms that won't be in our future.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31605 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-09 21:42:14 +00:00
Reid Spencer
035ab57f4a One more time for indentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31604 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-09 21:18:01 +00:00
Reid Spencer
47ce179995 Fix indentation problem starting at GEP.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31603 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-09 21:15:49 +00:00
Reid Spencer
3822ff5c71 For PR950:
This patch converts the old SHR instruction into two instructions,
AShr (Arithmetic) and LShr (Logical). The Shr instructions now are not
dependent on the sign of their operands.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31542 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-08 06:47:33 +00:00
Reid Spencer
2fd21e6e4e Fix the section headings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31532 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-08 01:18:52 +00:00
Reid Spencer
9dee3acd91 For PR950:
Early commit of the documentation for new conversion instructions for
easier review.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31531 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-08 01:11:31 +00:00
Reid Spencer
0a783f783c For PR950:
Replace the REM instruction with UREM, SREM and FREM.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31369 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-02 01:53:59 +00:00
Reid Spencer
1628cec4d7 For PR950:
Make necessary changes to support DIV -> [SUF]Div. This changes llvm to
have three division instructions: signed, unsigned, floating point. The
bytecode and assembler are bacwards compatible, however.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31195 91177308-0d34-0410-b5e6-96231b3b80d8
2006-10-26 06:15:43 +00:00
Chris Lattner
32b5d717ce clarify
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30966 91177308-0d34-0410-b5e6-96231b3b80d8
2006-10-15 20:05:59 +00:00
Anton Korobeynikov
b74ed07bfd Adding dllimport, dllexport and external weak linkage types.
DLL* linkages got full (I hope) codegeneration support in C & both x86
assembler backends.
External weak linkage added for future use, we don't provide any
codegeneration, etc. support for it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30374 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-14 18:23:27 +00:00
Chris Lattner
f4d252dc3a new powi intrinsic
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30175 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-08 06:34:02 +00:00
Chris Lattner
884a9702bb Add a link to the GEP faq.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29690 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-15 00:45:58 +00:00
Chris Lattner
81c01f0d2c Decribe the "implementation" keyword.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28762 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-13 03:05:47 +00:00
Chris Lattner
5710ce915e New calling convention I will be adding shortly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28403 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-19 21:15:36 +00:00
Chris Lattner
374ab3016e Update dox, patch by Vladimir Prus!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28306 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-15 17:26:46 +00:00
Chris Lattner
76b8a33f4a Change token to match asmprinter output
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28285 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-14 18:23:06 +00:00
Chris Lattner
99d3c276cc typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27936 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-21 21:37:40 +00:00
Tanya Lattner
0947429538 Adding back vector instructions to keep in mainline.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27704 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-14 19:24:33 +00:00
Tanya Lattner
36ba6d4d53 Removing unimplemented vector instructions from language referrence.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27703 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-14 19:07:42 +00:00
Chris Lattner
3df241e4b2 Move the vector instructions to their own subsection.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27545 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-08 23:07:04 +00:00
Chris Lattner
1eeeb0cce3 Wrap long lines, fix verification error
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27531 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-08 04:40:53 +00:00
Chris Lattner
1bb8d30018 use the right escapes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27530 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-08 04:39:19 +00:00
Chris Lattner
c1989542eb Description for the new shufflevector instruction I'm adding.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27502 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-08 00:13:41 +00:00
Chris Lattner
b3e7afd9ee Fix a typo, thanks to Gabor Greif
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27054 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-24 07:16:10 +00:00
Robert Bocchino
230bd09aed Fixed a typo in the vsetfp examples.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26768 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-14 23:22:57 +00:00
Robert Bocchino
8949de2588 Split the 'vset' instruction into two instructions, 'vsetint' and
'vsetfp', to reflect the fact that the semantics are different for
integer and fp values.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26767 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-14 20:55:28 +00:00
Chris Lattner
80626e947f Update this to match the documentation in the GC doc and to match actual
practice.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26766 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-14 20:02:51 +00:00
Reid Spencer
05fe4b0256 Changes docs for llvm.cs.uiuc.edu -> llvm.org
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26746 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-14 05:39:39 +00:00
Chris Lattner
f0afc2cda2 Spec change: the size of a memset/memcpy/memmove is not required to be aligned
to the alignment argument.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26510 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-04 00:02:10 +00:00
Chris Lattner
41edaa0529 remove the read/write port/io intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26479 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-03 00:19:58 +00:00
Chris Lattner
5b310c3c8b Update the llvm.memset/memcpy/memmove intrinsics to reflect the recent split
into types.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26477 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-03 00:07:20 +00:00
Robert Bocchino
7b81c758ab Added documentation for vset and vselect.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26264 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-17 21:18:08 +00:00
Chris Lattner
e87d653da6 document the syntax of inline asm
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25624 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-25 23:47:57 +00:00
Chris Lattner
52599e17b1 minor syntax change
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25566 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-24 00:37:20 +00:00
Chris Lattner
4e9aba7c12 document module-level inline asm support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25561 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-23 23:23:47 +00:00
Chris Lattner
ec6cb6115f like bswap, the ct* intrinsics require unsigned operands
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25373 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-16 22:38:59 +00:00
Chris Lattner
8a886be335 Consistency
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25372 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-16 22:34:14 +00:00
Reid Spencer
7c898553b6 There is no llvm.bswap.i8, need at least 2 bytes to swap.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25367 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-16 21:14:01 +00:00
Reid Spencer
0b118206bf 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25366 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-16 21:12:35 +00:00
Robert Bocchino
05ccd70396 Added spec for insertelement operation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25342 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-15 20:48:27 +00:00
Nate Begeman
7e36c47307 Make the bswap documentation more to sabre's liking!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25302 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-13 23:26:38 +00:00
Chris Lattner
fb6977de4f fix some minor errors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25301 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-13 23:26:01 +00:00
Nate Begeman
ed4ac951e5 Add documentation for the upcoming bswap intrinsics!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25300 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-13 23:02:51 +00:00
Chris Lattner
57e1f39713 Add llvm.stacksave and llvm.stackrestore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25264 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-13 02:03:13 +00:00
Chris Lattner
fcf39d4589 void* is not legal in LLVM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25262 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-13 01:20:27 +00:00
Robert Bocchino
9fbe14586d Expanded the documentation for constant expressions to cover select
and extractelement.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25183 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-10 19:31:34 +00:00
Robert Bocchino
3a55866622 Added the spec for the new "extractelement" instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25113 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-05 17:37:02 +00:00
Chris Lattner
d07c3f4279 Fix some typos noticed by Gabor Greif!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24364 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-15 06:07:55 +00:00
Chris Lattner
88f6c46cb9 document sections
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24317 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-12 00:45:07 +00:00
Andrew Lenharth
51b8d54922 continued readcyclecounter support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24300 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-11 16:47:30 +00:00
Jeff Cohen
25d4f7e67b Fix some typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24298 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-11 02:15:27 +00:00
Chris Lattner
b8d172f800 Packed elements must be a power of two in size
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24266 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-10 01:44:22 +00:00
Chris Lattner
2cbdc45f35 document alignment on globals, functions, and allocation instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24221 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-06 08:02:57 +00:00
John Criswell
0ec250ca8f Grammar and punctuation fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23965 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-24 16:17:18 +00:00
Chris Lattner
a4d7414a59 llvm.sqrt somehow escaped documentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22490 91177308-0d34-0410-b5e6-96231b3b80d8
2005-07-21 01:29:16 +00:00
Chris Lattner
e67a951720 add a note about variable length array
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22278 91177308-0d34-0410-b5e6-96231b3b80d8
2005-06-24 17:22:57 +00:00
Andrew Lenharth
d0a4c62a03 SelectionDAG is very unhappy when the argument to an intrinsic is a struct
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22272 91177308-0d34-0410-b5e6-96231b3b80d8
2005-06-22 20:38:11 +00:00
Andrew Lenharth
8bf607a221 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22251 91177308-0d34-0410-b5e6-96231b3b80d8
2005-06-18 18:28:17 +00:00
John Criswell
fc6b895b5b 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22083 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-16 16:17:45 +00:00
Chris Lattner
eff29abe2d ctlz = most signficant bits, cttz = least sig
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22061 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-15 19:39:26 +00:00
John Criswell
c1f786cac1 Minor fixup of typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21990 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 22:25:59 +00:00
John Criswell
dae2e9383b Correct a detail with the alloca instruction.
Functions do not exit with invoke; they exit with unwind.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21893 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-12 16:55:34 +00:00
John Criswell
e4c57cc72b Fixed some typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21891 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-12 16:52:32 +00:00
Chris Lattner
590cff389d don't duplicate information, particularly when it's out of date!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21852 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-11 03:35:57 +00:00
Chris Lattner
cfe6b37b07 fix bugs in my previous commit clarify the return type of the bit ops
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21755 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-07 01:46:40 +00:00
Chris Lattner
8cdc5bccc8 add a couple of notes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21754 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-06 23:08:23 +00:00
Chris Lattner
bad10eebbe document calling convention extensions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21753 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-06 22:57:40 +00:00
Chris Lattner
2bff524501 Add info on new 'tail' marker
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21721 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-06 05:47:36 +00:00
Andrew Lenharth
7ba1ea545c fixup argument
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21680 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-04 14:58:31 +00:00
Andrew Lenharth
ec370fd3dc initial descriptions of count intrinsics
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21677 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-03 18:01:48 +00:00
Reid Spencer
a7e302aadc Mention that arguments to functions must be first class types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21650 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-01 22:22:57 +00:00
Reid Spencer
a8d451e1d4 Convert the remainder of the intrinsic function prototypes to "declare"
form from the "call" form.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21573 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-26 20:50:44 +00:00
Reid Spencer
d462235968 Use the declare syntax not the call syntax for intrinsic prototypes so
the uninitiated reader is not confused.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21572 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-26 20:41:16 +00:00
Chris Lattner
69c11bb285 document 'opaque' types
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21535 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-25 17:34:15 +00:00
Misha Brukman
cfa87bcf71 Hyphenate the adjective `n-bit' when used to describe values and processors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21456 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-22 18:02:52 +00:00
Andrew Lenharth
7f4ec3b2e3 First step in adding pcmarker intrinsic. Second step (soon) is adding backend support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20900 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-28 20:05:49 +00:00
Chris Lattner
d4f6b17642 Various cleanups and clarifications, thanks to Gabor Greif for contributing this patch!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20514 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-07 22:13:59 +00:00
Chris Lattner
aeffb4af8b fix another typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20512 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-07 20:31:38 +00:00
Chris Lattner
b40bb38eb4 fix typeo that Gabor Greif noticed!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20511 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-07 20:30:51 +00:00
Chris Lattner
2a61536848 cleanup my miswording
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20381 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-28 19:47:14 +00:00
Chris Lattner
9a9d7ac835 Document llvm.prefetch, patch contributed by Justin Wick!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20373 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-28 19:24:19 +00:00
Chris Lattner
a977c486ba Fix a bug.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20242 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-19 02:22:14 +00:00
Chris Lattner
3689a34489 Document the newly generalized model for constant globals.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20136 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-12 19:30:21 +00:00
John Criswell
9e2485c122 Merged in RELEASE_14 changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18763 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-10 15:51:16 +00:00
Reid Spencer
2dc45b818f More grammaro's fixed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18708 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-09 18:13:12 +00:00
Reid Spencer
cc16dc3249 Clean up some grammaro's.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18705 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-09 18:02:53 +00:00
Chris Lattner
c3f5976112 Fully document the LLVM constants. This should go into LLVM 1.4
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18701 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-09 17:30:23 +00:00
Chris Lattner
e5d947bc84 Reflow and clean up some of the HTML in the initial section, split linkage
types into its own section.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18697 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-09 16:36:40 +00:00
Chris Lattner
fa73021cf1 Move the "High Level Structure" to before "Type System"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18695 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-09 16:11:40 +00:00
Reid Spencer
d3f876c93c Minor format tweask for tables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17394 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 08:19:36 +00:00
Chris Lattner
35eca58d7a Document unreachable instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17033 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-16 18:04:13 +00:00
Chris Lattner
e19d7a7021 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16530 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-27 21:51:25 +00:00
Reid Spencer
3921c74652 Provide some meta tags for this document.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16058 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-26 20:44:00 +00:00
Misha Brukman
c24b75870b Wrap long lines and try to fill the 80 chars per line so that we don't have too
many short lines.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15706 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-12 20:16:08 +00:00
Chris Lattner
a58561b917 Add description of packed type support.
Patch contributed by Brad Jones!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15704 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-12 19:12:28 +00:00
Brian Gaeke
7283e7c056 Modernize example, so that you can paste it right into llvm-as
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14583 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-02 21:08:14 +00:00
John Criswell
f5076133a9 Removed the interrupt_handler instrinsic section that I accidently added
in my previous commits.  It's not implemented and is out of date.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14410 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-25 16:42:50 +00:00
John Criswell
8411475105 Grammar and punctuation fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14409 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-25 16:05:06 +00:00
John Criswell
fa0818711a Added missing quote.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14407 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-25 15:16:57 +00:00
Chris Lattner
fcd3725747 Fix some broken links
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14306 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-21 22:52:48 +00:00
Chris Lattner
ee98bf5477 llvm.isnan is dead, long live llvm.isunordered!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14190 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-15 21:50:46 +00:00
Alkis Evlogimenos
26bbe93ec9 Really add the docs this time :-)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14167 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-13 01:16:15 +00:00
Alkis Evlogimenos
9685372062 Add the isunordered intrinsic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14159 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-12 19:19:14 +00:00
Chris Lattner
320062845b Document the llvm.isnan intrinsic
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14131 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-11 02:28:03 +00:00
Chris Lattner
e53e508642 Fix some broken links
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13997 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-03 22:57:15 +00:00
Chris Lattner
d7923910c5 Describe the new garbage collector intrinsics
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13672 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-23 21:06:01 +00:00
John Criswell
96db6fcb2e 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12867 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-12 16:33:19 +00:00
John Criswell
183402a788 Added initial design for the llvm.readio and llvm.writeio intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12864 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-12 15:02:16 +00:00
John Criswell
4457dc9797 Fixed some spelling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12790 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-09 16:48:45 +00:00
John Criswell
7123e27894 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12789 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-09 16:43:20 +00:00
John Criswell
cfd3baccce Added the llvm.readport and llvm.writeport intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12788 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-09 15:23:37 +00:00
Chris Lattner
f74d5c7d1d Update getelementptr instruction description
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12654 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-05 01:30:49 +00:00
John Criswell
6794d9268b Fixed grammar typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12343 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-12 21:19:06 +00:00
Chris Lattner
cc37aae854 Cleanup the cast section, add the select instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12307 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-12 05:50:16 +00:00
Chris Lattner
9ee5d2296b Remove the comment "Constants must always have an initial value.", which
is incorrect.  Fix some formatting nastiness.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12223 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-08 16:49:10 +00:00
Misha Brukman
daa4cb0f03 HTML 4.01 Strict compliance.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12050 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-01 17:47:27 +00:00
John Criswell
6e4ca61438 Fixed minor typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11800 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-24 16:13:56 +00:00
Chris Lattner
c88c17b0f6 Wow, the description of the 'switch' instruction was out of date.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11790 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-24 04:54:45 +00:00
Chris Lattner
50c372b3d9 fix typeo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11446 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-14 19:27:26 +00:00
Chris Lattner
10610646cb Document new intrinsics
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11438 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-14 04:08:35 +00:00
Chris Lattner
3301ced603 Be a bit more specific about what the alignment value means and the restrictions on it
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11360 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-12 21:18:15 +00:00
Chris Lattner
0eb51b440c Add support for the llvm.memmove intrinsic.
Patch graciously contributed by Reid Spencer!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11354 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-12 18:10:10 +00:00
Chris Lattner
33aec9efa9 Document the llvm.memcpy intrinsic. Clean up some of the formatting of other
sections


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11350 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-12 17:01:32 +00:00
Chris Lattner
8ff759072f 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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10698 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-06 05:31:32 +00:00
John Criswell
009900b512 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10230 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-25 21:45:46 +00:00
Chris Lattner
261efe953b checkin reid's docpatch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10200 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-25 01:02:51 +00:00
John Criswell
23e1492bb1 Fixed another minor grammatical error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10130 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-21 17:42:22 +00:00
John Criswell
2436eda94a Minor grammatical and punctuation corrections.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10126 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-21 16:09:42 +00:00
Misha Brukman
9d0919f62b First pass at cleaning up LangRef.html: stylesheet-ification, consistent
formatting, more strict adherence to HTML 4.01, other misc. cleanups.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9799 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-08 01:05:38 +00:00
Chris Lattner
c7f1cfb1fd Fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9610 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 04:35:26 +00:00
Chris Lattner
478921b11a Clarify that all manipulatable values must be of first class type, and specifically
update the PHI node entry to mention this as well.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9606 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 01:31:37 +00:00
John Criswell
0f6d7c0e20 Merged in RELEASE_1.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9538 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-27 18:18:16 +00:00
Chris Lattner
2c1bbd8bea Hrm, for some reason, my fingers like typing va_begin. Weird
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9329 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 15:43:55 +00:00
Chris Lattner
8d1a81d524 Update for new varargs support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9218 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-18 05:51:36 +00:00
Chris Lattner
25839f02c6 Add documentation for weak variables
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9001 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-10 05:01:39 +00:00
Chris Lattner
f065107bac Add info about volatile loads/stores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8403 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-08 18:27:49 +00:00
Chris Lattner
43c2eb7def Final cleanups, document is good to go
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8338 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-03 04:20:13 +00:00
Chris Lattner
27f71f2659 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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8337 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-03 00:41:47 +00:00
Chris Lattner
fde246a42f hyphenation police visited here
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8336 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-02 23:38:41 +00:00
Chris Lattner
b3ceec2117 Document the llvm.unwind intrinsic.
Clarify the documentation for the invoke instruction


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8196 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-28 22:12:25 +00:00
Misha Brukman
bc0e998c49 The word separate' only has one e'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7173 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-14 17:20:40 +00:00
Chris Lattner
8c6bb90b8e Diversify examples
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6778 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-18 21:30:51 +00:00
Chris Lattner
b5561ffaf2 fix incorrect anchor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6777 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-18 21:28:11 +00:00
Chris Lattner
a1a2097919 va_start only takes on argument now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6039 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-08 15:55:44 +00:00
Chris Lattner
c29b125a99 Update information about the switch instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6037 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-08 05:08:48 +00:00
Chris Lattner
d9ad5b329f * Add information about LLVM intrinsics
* Add information about the va_arg instruction
* Add information about the llvm.va_* intrinsics


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6036 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-08 04:57:36 +00:00
Chris Lattner
3dfa10b5d1 getelementptr uses long instead of uint indexes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4993 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-13 06:01:21 +00:00
Chris Lattner
a0ff4aad41 Add a note about the switch instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4551 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-05 00:21:03 +00:00
Misha Brukman
a3bbcb5b66 Fix spelling of `propagate'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4423 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-29 23:06:16 +00:00
Misha Brukman
e6fe6713da Fixed grammar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3805 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-18 02:35:14 +00:00
Chris Lattner
eaee9e1317 Add distinction between integer and integral types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3570 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-03 00:52:52 +00:00
Chris Lattner
d816bcfe40 Add "written by" note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3543 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-30 21:50:21 +00:00
Chris Lattner
690d99b31b Comment out broken link
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3520 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-29 18:33:48 +00:00
Chris Lattner
f31860b188 Fix typeo noticed by Bryan
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3388 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-19 21:14:38 +00:00
Chris Lattner
2b4dcbb91d Add a note mentioning that bools promote to 0 or 1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3352 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-15 19:36:05 +00:00
Chris Lattner
e489aa563c Remove information about dead 'not' instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3319 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-14 17:55:59 +00:00
Chris Lattner
f8856bc403 Add a note that specifies that the whether or not sign extension is done by
a cast is determined by the source operand.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3304 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-13 20:52:09 +00:00
Chris Lattner
b7c6c2a5cc Avoid calling LLVM "Strongly typed"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2785 91177308-0d34-0410-b5e6-96231b3b80d8
2002-06-25 20:20:08 +00:00
Chris Lattner
c98cbbcc08 Add borders to truth tables
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2782 91177308-0d34-0410-b5e6-96231b3b80d8
2002-06-25 18:06:50 +00:00
Chris Lattner
7bae3950ee Minor tuning and fleshing out of the language reference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2781 91177308-0d34-0410-b5e6-96231b3b80d8
2002-06-25 18:03:17 +00:00
Chris Lattner
6536cfec4a Finish up the updates to the language reference
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2509 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-06 22:08:29 +00:00
Chris Lattner
2b7d320d90 Updated documentation a _LOT_
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2474 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-06 03:03:22 +00:00
Chris Lattner
7faa883665 Update documentation a LOT, make it more accurate and match current model
better.  Still more room for improvement.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2245 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-14 06:13:44 +00:00
Chris Lattner
33ba0d91ab Updated documentation for load, store & getelementptr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-09 00:26:23 +00:00
Chris Lattner
db0926260d Update documentation to reflect:
* Changes in PHI node structure
* Intentions for load instruction to work with structures


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22 91177308-0d34-0410-b5e6-96231b3b80d8
2001-06-11 15:03:43 +00:00
Chris Lattner
009505452b Initial revision
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2 91177308-0d34-0410-b5e6-96231b3b80d8
2001-06-06 20:29:01 +00:00