Reid Spencer
50c723ae72
Add a section on the target datalayout syntax and describe the defaults
...
and rules used by LLVM to construct the target's layout rules.
llvm-svn: 34433
2007-02-19 23:54:10 +00:00
Reid Spencer
404a3259f9
For PR1195:
...
Packed -> Vector
llvm-svn: 34296
2007-02-15 03:07:05 +00:00
Reid Spencer
2ab0193da1
Put the Shift instructions in the right section.
...
llvm-svn: 33782
2007-02-02 13:57:07 +00:00
Reid Spencer
04e259be5c
Preview of the shift instructions becoming Binary Operators.
...
llvm-svn: 33720
2007-01-31 21:39:12 +00:00
Anton Korobeynikov
e93c6e8dca
Grammar fix
...
llvm-svn: 33602
2007-01-28 15:27:21 +00:00
Anton Korobeynikov
e816685bd5
Document 'inreg' & 'sret'
...
llvm-svn: 33600
2007-01-28 14:30:45 +00:00
Anton Korobeynikov
c7f9f3df24
Updating documentation:
...
- Document visibility stuff
- Fix gcc' supported attributes list
- Document udis86 configure option
llvm-svn: 33462
2007-01-23 12:35:46 +00:00
Reid Spencer
2eadb5310d
For PR970:
...
Clean up handling of isFloatingPoint() and dealing with PackedType.
Patch by Gordon Henriksen!
llvm-svn: 33415
2007-01-21 00:29:26 +00:00
Reid Spencer
49c6e09c7c
icmp doesn't support comparison of packed types.
...
llvm-svn: 33357
2007-01-19 17:11:12 +00:00
Reid Spencer
e6a338d263
One more @ to remove.
...
llvm-svn: 33240
2007-01-15 18:28:34 +00:00
Reid Spencer
cf7ebf5cef
Update documentation for parameter attributes for the syntax change.
...
llvm-svn: 33238
2007-01-15 18:27:39 +00:00
Chris Lattner
c0f423a452
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.
llvm-svn: 33217
2007-01-15 01:54:13 +00:00
Chris Lattner
e20b4707c6
clarify linkonce/weak linkage
...
llvm-svn: 33201
2007-01-14 06:51:48 +00:00
Reid Spencer
69240dfa72
Fix an incorrect conversion of int -> i32
...
llvm-svn: 33199
2007-01-14 06:29:54 +00:00
Chris Lattner
5760c5042c
add a global variable example
...
llvm-svn: 33190
2007-01-14 00:27:09 +00:00
Anton Korobeynikov
a0554d90e8
* 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)
llvm-svn: 33136
2007-01-12 19:20:47 +00:00
Reid Spencer
07c9c68825
Fix a typo.
...
llvm-svn: 33118
2007-01-12 15:46:11 +00:00
Reid Spencer
36a1542bcb
Update for changes in the assembly syntax. bool is replaced with i1.
...
llvm-svn: 33106
2007-01-12 03:35:51 +00:00
Reid Spencer
e3db84c6c2
Explain that bitcast can only cast a pointer to another pointer.
...
llvm-svn: 33041
2007-01-09 20:08:58 +00:00
Chris Lattner
db0790c2fd
Fully specify the type of the llvm.va* intrinsics. This helps resolve
...
Pr1093
llvm-svn: 33009
2007-01-08 07:55:15 +00:00
Chris Lattner
65842fe4cd
llvm.isunordered is no longer alive.
...
llvm-svn: 32995
2007-01-07 08:53:26 +00:00
Reid Spencer
db94353bff
Add an example to the trunc instruction to clarify trunc to bool.
...
Example provided by Baptiste Lepilleur.
llvm-svn: 32931
2007-01-05 21:33:08 +00:00
Reid Spencer
92c671e77e
Correct the documentation for function declarations. They can have dllimport
...
or extern_weak linkage as well as "externally visible".
llvm-svn: 32887
2007-01-05 00:59:10 +00:00
Reid Spencer
3e628eb989
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.
llvm-svn: 32874
2007-01-04 16:43:23 +00:00
Reid Spencer
784ef79b55
icmp and fcmp do not take packed type operands.
...
llvm-svn: 32864
2007-01-04 05:19:58 +00:00
Reid Spencer
72ba499004
Remove documentation of non-existent cextcc and csretextcc calling
...
conventions as these have been replaced with parameter attributes.
llvm-svn: 32797
2006-12-31 21:30:18 +00:00
Reid Spencer
655dcc6fce
One more try on the table formatting.
...
llvm-svn: 32793
2006-12-31 07:20:23 +00:00
Reid Spencer
58c08716af
Clean up some typos and formatting.
...
llvm-svn: 32792
2006-12-31 07:18:34 +00:00
Reid Spencer
b5ebf3d667
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.
llvm-svn: 32791
2006-12-31 07:07:53 +00:00
Reid Spencer
c329a4e9cc
Preview of new calling conventions: cextcc and csretextcc to handle explicit
...
sign and zero extension in function calls.
llvm-svn: 32764
2006-12-28 16:55:55 +00:00
Andrew Lenharth
8df88e2cc9
Packed Structure Definitions (docs)
...
llvm-svn: 32357
2006-12-08 17:13:00 +00:00
Reid Spencer
02e0d1de90
Tie the ordered/unordered predicate descriptions to their meaning wrt
...
to QNAN values.
llvm-svn: 32272
2006-12-06 07:08:07 +00:00
Reid Spencer
cee005cbf2
We only support 32-bit or 64-bit sequential type indices for GEP. Document
...
it as so.
llvm-svn: 32197
2006-12-04 21:29:24 +00:00
Reid Spencer
9965ee72f5
Document the icmp and fcmp constant expressions.
...
llvm-svn: 32188
2006-12-04 19:23:19 +00:00
Reid Spencer
c031269ee3
Update for signless GEP semantics.
...
llvm-svn: 32159
2006-12-03 16:53:48 +00:00
Chris Lattner
5230e9175a
remove dead tag
...
llvm-svn: 31944
2006-11-27 21:53:28 +00:00
Reid Spencer
f69acf3e26
Corrections from review.
...
llvm-svn: 31865
2006-11-19 03:00:14 +00:00
Reid Spencer
e008326b86
Update a reference to the old setcc instruction.
...
llvm-svn: 31860
2006-11-18 21:55:45 +00:00
Reid Spencer
c828a0e3fe
For PR950:
...
Documentation preview of the upcoming icmp and fcmp instructions that
will replace the various setcc instructions.
llvm-svn: 31859
2006-11-18 21:50:54 +00:00
Reid Spencer
5b9506439a
Document new constant expr operators, rename bitconvert as bitcast.
...
llvm-svn: 31693
2006-11-11 23:08:07 +00:00
Reid Spencer
b7344ff025
Add a preview of two new conversion operators: ptrtoint and inttoptr. Update
...
the defintion of bitconvert correspondingly.
llvm-svn: 31688
2006-11-11 21:00:47 +00:00
Reid Spencer
51b07256a3
Post-review changes on conversion instructions.
...
llvm-svn: 31607
2006-11-09 23:03:26 +00:00
Reid Spencer
2e2740d46a
Fix runaway <tt> element and section ordering.
...
llvm-svn: 31606
2006-11-09 21:48:10 +00:00
Reid Spencer
8a82cc6304
Remove futurisms that won't be in our future.
...
llvm-svn: 31605
2006-11-09 21:42:14 +00:00
Reid Spencer
a89fb18c98
One more time for indentation.
...
llvm-svn: 31604
2006-11-09 21:18:01 +00:00
Reid Spencer
443460a318
Fix indentation problem starting at GEP.
...
llvm-svn: 31603
2006-11-09 21:15:49 +00:00
Reid Spencer
fdff938a7e
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.
llvm-svn: 31542
2006-11-08 06:47:33 +00:00
Reid Spencer
97c5fa4607
Fix the section headings.
...
llvm-svn: 31532
2006-11-08 01:18:52 +00:00
Reid Spencer
59b6b7d9e4
For PR950:
...
Early commit of the documentation for new conversion instructions for
easier review.
llvm-svn: 31531
2006-11-08 01:11:31 +00:00
Reid Spencer
7eb55b395f
For PR950:
...
Replace the REM instruction with UREM, SREM and FREM.
llvm-svn: 31369
2006-11-02 01:53:59 +00:00