Commit Graph

72 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
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
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
7280c50e2f update documentation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35952 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-12 19:52:46 +00:00
Reid Spencer
7fc0832ee1 Describe how arbitrary precision integers are written to the bytecode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34719 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-28 02:33:06 +00:00
Reid Spencer
d6aeb4f4ae For PR1195:
Packed -> Vector.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34297 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-15 03:08:48 +00:00
Reid Spencer
e1888eec10 1. Break long lines to 80 col limit
2. Fix indentation
3. Renumber the instruction opcodes after the Shift became a binary operator.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33777 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-02 02:30:19 +00:00
Reid Spencer
4c16069a44 Fix version information for new instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33689 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-31 01:18:59 +00:00
Reid Spencer
fec152b649 Correct the instruction op codes to meet current head changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33686 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-31 00:38:46 +00:00
Reid Spencer
c4a8d39614 Excise documentation about Compaction Tables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33685 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-31 00:26:08 +00:00
Owen Anderson
d753fbcc76 Describe the recent changes to the bytecode format for PR761.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33586 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-27 19:23:25 +00:00
Anton Korobeynikov
daa3189ed0 One more small fix to documentation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33463 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-23 12:43:53 +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
Andrew Lenharth
8894255fc0 A backwards compatible bc format for packed structs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32360 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-08 17:50:05 +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
145b2536f3 Document correct opcodes for post 1.9 release.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31566 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-08 20:07:40 +00:00
Reid Spencer
3727fd3ae3 Update the instruction opcodes for release 1.9
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31565 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-08 20:06:36 +00:00
Reid Spencer
15fd5f1b81 Document the VAArg, and vector instruction opcodes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30965 91177308-0d34-0410-b5e6-96231b3b80d8
2006-10-15 00:11:05 +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
Tanya Lattner
fcccd6bd17 Removed listing of llvm releases after 1.4, and said "1.4 and newer"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27860 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-20 05:05:12 +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
591d049aa3 update the bytecode format guide for the encoding of inline asm.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25622 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-25 23:31:53 +00:00
Chris Lattner
45f5051149 Update for file-scope inline asm
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25563 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-23 23:38:09 +00:00
Chris Lattner
767d6ba644 Describe section name encoding
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24322 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-12 01:46:21 +00:00
Chris Lattner
52942b5a32 Minor correction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24220 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-06 07:48:11 +00:00
Chris Lattner
afedcb36aa describe extensions to the .bc format for function/global alignment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24217 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-06 07:20:25 +00:00
Chris Lattner
49b1602a40 enumerate non-standard argument encoding cases, such as alignment info for
allocations


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24205 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-05 22:32:06 +00:00
Chris Lattner
f97fa59313 rearrange some info about the instruction encoding
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24204 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-05 22:20:06 +00:00
John Criswell
1d9be9e395 Updated bytecode version numbers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23972 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-24 17:10:57 +00:00
John Criswell
611a8d1b8a Fixed a grammar issue.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23966 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-24 16:20:10 +00:00
Chris Lattner
120bc6da2f minor changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21998 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-14 01:30:15 +00:00
Chris Lattner
a5a4f265f0 user ops are not encoded in the bc format
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21997 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-14 01:26:46 +00:00
Reid Spencer
a5681773ab Document the pseudo-instruction opcodes in opcode range 56-63. These are
used to support things like volatile load/store, tail calls, and calling
conventions without reserving space for the additional information.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21996 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-14 00:06:06 +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
ced6222bc5 Update to reflect recent change
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17860 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-15 22:54:50 +00:00
Reid Spencer
a4213b2783 Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17623 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-08 09:10:50 +00:00
Reid Spencer
da794e7ab8 Document compressed bytecode details.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17622 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-08 08:55:21 +00:00
Misha Brukman
a36b6e5d49 Replace llvm.org => llvm.cs.uiuc.edu
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17550 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 00:59:58 +00:00
Chris Lattner
a1dad814df Add missing 'Instruction Opcodes' bullet to TOC
Update for changes in LLVM 1.4 bytecode format.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17032 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-16 18:03:55 +00:00
Chris Lattner
1dfc8e5257 None of these have actually been implemented yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17027 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-16 00:29:30 +00:00
Nate Begeman
52ca9e4c3d Fix a typo in the bytecode format documentation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16072 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-27 07:59:37 +00:00
Brian Gaeke
715c90ba52 Packed types, brought to you by Brad Jones
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15938 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-20 06:00:58 +00:00
Reid Spencer
43dfdb779b Correct a link, add a TOC entry.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15909 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-18 20:17:05 +00:00
Reid Spencer
09daa63597 Provided opcode definitions.
Clarified documentation of symbol tables.
Clarified definition of slot numbers.
Added the http-equiv meta tag for HTML 4.01 strict compliance.
Adjusted line lengths.
Differentiated between "type slot" and "value slot" everywhere.
ispelled it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15908 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-18 20:06:19 +00:00
Reid Spencer
cf549e1f32 Documented the removal of alignment in version 4 bytecode files (version 3
was released with LLVM 1.3). Alignment of fields can add severe size to
certain kinds of functions (those with lots of long format instructions) so
we decided to do away with alignment altogether in this bc version.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15874 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-17 07:43:43 +00:00
Reid Spencer
8996e55ff9 Technical Corrections (thanks to Robert Mykland):
- Define the "opcode" data type and reference the Instruction.def file
- Clean up the definition of symtab by indicating that it is composed of
  two llists.
- Fix some broken links.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15843 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-17 00:49:03 +00:00
Reid Spencer
5bc74d551a Correct the documentation for the module block header which uses the long
format instead of the short format used in other blocks.

Discrepancy noted by Robert Mykland. Thanks Robert!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15826 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-16 19:24:36 +00:00
Reid Spencer
301fe481c2 Line length <= 80 cols.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15449 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-03 20:57:56 +00:00
Reid Spencer
267660f4ac Fix some indentation (so brg can test commit script).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15448 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-03 20:33:56 +00:00