Commit Graph

1901 Commits

Author SHA1 Message Date
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
Jim Laskey
44c3b9fdd4 Change the MachineDebugInfo to MachineModuleInfo to better reflect usage
for debugging and exception handling.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33550 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-26 21:22:28 +00:00
Devang Patel
c20048d05c Fix cut-n-pasto.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33469 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-23 22:56:28 +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
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
2c1ce4f28e Initial template for the 2.0 Bitcode format that will replace the 1.x
Bytecode format.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33412 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-20 23:21:08 +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
9fd6be776b Update copyright for 2007.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33339 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-18 21:33:56 +00:00
Reid Spencer
72826f6171 Update for changes in location of Stacker.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33293 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-17 05:37:42 +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
8f79df3cf9 Change to match API changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33219 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-15 01:55:32 +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
303c4b4f8d Make a couple organizational changes. Type no longer derives from Value
(hasn't for ages) so move it up one level in the table of contents.
Type needs to be understood before Value so move it before Value. Make
the descriptions of types stand out a little more.  Add references to the
doxygen for the Type class.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33122 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-12 17:26:25 +00:00
Reid Spencer
06565dca0c Update documentation for arbitrary precision integers:
1. int -> i32
2. Describe the IntegerType class.
3. Correct the description of Type and its primitive type subclasses.
4. Document OpaqueType and PackedType a little better.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33120 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-12 17:11:23 +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
53bfebc967 Update for changes in the IR. The ConstantIntegral, ConstantBool, and
ConstantInt classes were merged into just ConstantInt.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33107 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-12 03:36:33 +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
a636224712 Update the documentation for SymbolTable class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32970 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-07 00:41:39 +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
Chris Lattner
008151782f Fix broken links, reported by Baptiste Lepilleur
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32882 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-04 22:01:45 +00:00
Reid Spencer
aae58841c6 Document this tool as experimental and list its deficiencies.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32878 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-04 17:55:11 +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
Bill Wendling
10e7c42157 Removed reference to "cnull" because typical users shouldn't need to use
it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32869 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-04 08:38:04 +00:00
Chris Lattner
59075887ef ding dong llvm-gcc3 is dead
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32868 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-04 07:08:27 +00:00
Chris Lattner
78ce3b81c0 gcc 4.1.1 on amd64 is broken
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32867 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-04 07:06:05 +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
Nick Lewycky
790fb92808 Typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32774 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-31 03:44:08 +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
Chris Lattner
0f9a413eb2 fix a typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32713 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-20 04:23:36 +00:00
Reid Spencer
89e211e628 Remove documentation for isSigned and isUnsigned methods of Type class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32708 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-19 23:12:09 +00:00
Chris Lattner
0be6fdf972 update to reflect changes in statistic class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32691 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-19 21:46:21 +00:00
Reid Spencer
6388e3059d Fix an example that used the old SetCondInst instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32681 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-19 19:47:54 +00:00
Reid Spencer
c92d25d50b Make changes for removal of SETCC instruction to unify with LangRef.html.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32680 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-19 19:47:19 +00:00
Bill Wendling
b0a9d1b9bc Added example of how to code print() methods so that they will disappear
from the code if "cnull" is passed into them.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32641 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-17 11:40:40 +00:00
Jim Laskey
b744c256e6 Pass html validation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32598 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-15 10:40:48 +00:00
Jim Laskey
762b6cbd7b Start of PowerPC info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32578 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-14 17:19:50 +00:00