Commit Graph

242 Commits

Author SHA1 Message Date
Anton Korobeynikov
6f9896fcc8 Implement protected visibility. This partly implements PR1363. Linker
should be taught to deal with protected symbols.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36565 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-29 18:35:00 +00:00
Anton Korobeynikov
c6c98af9e5 Implement review feedback
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36564 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-29 18:02:48 +00:00
Jeff Cohen
b627eab040 Minor corrections.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36548 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-29 01:07:00 +00:00
Anton Korobeynikov
a80e1181b7 Implement review feedback. Aliasees can be either GlobalValue's or
bitcasts of them.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36537 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-28 13:45:00 +00:00
Anton Korobeynikov
8b0a8c84da Implement aliases. This fixes PR1017 and it's dependent bugs. CFE part
will follow.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36435 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-25 14:27:10 +00:00
Jeff Cohen
cb75731bf4 Undo erroneous corrections.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36340 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-22 14:56:37 +00:00
Jeff Cohen
6f1cc770e2 Minor corrections.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36325 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-22 01:17:39 +00:00
Christopher Lamb
2330e4d4c4 add support for alignment attributes on load/store instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36301 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-21 08:16:25 +00:00
Lauro Ramos Venancio
a4563364d0 update documentation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35953 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-12 20:34:36 +00:00
Reid Spencer
f0dbf64d0c Fix extra argument in part_set examples. Thanks Zhiru.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35936 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-12 01:03:03 +00:00
Reid Spencer
c891084372 Fix validation errors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35933 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-11 23:49:50 +00:00
Reid Spencer
065cc7fa58 Missing end tag. Thanks, Nick.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35932 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-11 23:46:06 +00:00
Reid Spencer
e31a27d721 Put period inside the paragraph!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35930 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-11 23:26:07 +00:00
Reid Spencer
f86037f17d Document the part_set intrinsic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35929 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-11 23:23:49 +00:00
Reid Spencer
beacf66d3f Fix name of an intrinsic: bit.part_select -> part.select
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35853 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-10 02:51:31 +00:00
Reid Spencer
8d8e1eb284 Remove the part_set intrinsic. It won't get implemented as an intrinsic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35667 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-04 19:15:59 +00:00
Reid Spencer
771b675c51 Appease Chris' pedantic streak.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35647 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-04 05:46:04 +00:00
Reid Spencer
a3e435fdfd 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35645 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-04 02:42:35 +00:00
Reid Spencer
338ea097f2 bwsap -> bswap
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35580 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-02 02:25:19 +00:00
Reid Spencer
543ab1d784 Fix some bswap typos that Chris noticed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35564 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-02 00:19:52 +00:00
Reid Spencer
a13ba7d597 Preview documentation for additional intrinsic functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35558 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-01 19:00:37 +00:00
Reid Spencer
497d93e61f For PR1297:
Preview documentation for the llvm.bit.concat intrinsic (yet to be
implemented).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35552 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-01 08:27:01 +00:00
Reid Spencer
409e28f9cc 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35550 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-01 08:04:23 +00:00
Duncan Sands
526cdf6b9e Remove reference to checkpoint.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35507 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-30 16:09:58 +00:00
Duncan Sands
8036ca47e2 Various hopefully correct easy fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35506 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-30 12:22:09 +00:00
Reid Spencer
c10f0af135 Undocument the implementation keyword
Docuemnt the checkpoint keyword


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35413 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-28 02:46:29 +00:00
Reid Spencer
64f5c6c357 Fix a link.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35306 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-24 22:40:44 +00:00
Reid Spencer
c9fdfc8e9f Correct the description of srem. remainder follows the dividend not the
divisor!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35303 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-24 22:23:39 +00:00
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