Chris Lattner
ad0711b2eb
clarify linkonce/weak linkage
...
llvm-svn: 33201
2007-01-14 06:51:48 +00:00
Reid Spencer
f5a1a8e8f0
Fix an incorrect conversion of int -> i32
...
llvm-svn: 33199
2007-01-14 06:29:54 +00:00
Chris Lattner
0d479b2b2c
add a global variable example
...
llvm-svn: 33190
2007-01-14 00:27:09 +00:00
Anton Korobeynikov
548b9af9c2
* 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
dc437799c4
Fix a typo.
...
llvm-svn: 33118
2007-01-12 15:46:11 +00:00
Reid Spencer
354e21ece7
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
7b13c6b655
Explain that bitcast can only cast a pointer to another pointer.
...
llvm-svn: 33041
2007-01-09 20:08:58 +00:00
Chris Lattner
11742f393a
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
37d3f423c4
llvm.isunordered is no longer alive.
...
llvm-svn: 32995
2007-01-07 08:53:26 +00:00
Reid Spencer
638b8441d3
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
2ca3b609dc
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
70f0dbeea5
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
9c23bd6133
icmp and fcmp do not take packed type operands.
...
llvm-svn: 32864
2007-01-04 05:19:58 +00:00
Reid Spencer
99efdb330f
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
c2be766b76
One more try on the table formatting.
...
llvm-svn: 32793
2006-12-31 07:20:23 +00:00
Reid Spencer
fac01a2470
Clean up some typos and formatting.
...
llvm-svn: 32792
2006-12-31 07:18:34 +00:00
Reid Spencer
c1d50e7137
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
b7c7a56ef8
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
d93b9ff60e
Packed Structure Definitions (docs)
...
llvm-svn: 32357
2006-12-08 17:13:00 +00:00
Reid Spencer
6ae0c0fc62
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
f60eb61a53
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
d9c3d3a10b
Document the icmp and fcmp constant expressions.
...
llvm-svn: 32188
2006-12-04 19:23:19 +00:00
Reid Spencer
dd477ab627
Update for signless GEP semantics.
...
llvm-svn: 32159
2006-12-03 16:53:48 +00:00
Chris Lattner
fedc6153c3
remove dead tag
...
llvm-svn: 31944
2006-11-27 21:53:28 +00:00
Reid Spencer
93bdfff01e
Corrections from review.
...
llvm-svn: 31865
2006-11-19 03:00:14 +00:00
Reid Spencer
603a6e0590
Update a reference to the old setcc instruction.
...
llvm-svn: 31860
2006-11-18 21:55:45 +00:00
Reid Spencer
dfa8272cca
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
2aaa443bc0
Document new constant expr operators, rename bitconvert as bitcast.
...
llvm-svn: 31693
2006-11-11 23:08:07 +00:00
Reid Spencer
71ccba2570
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
a6a6d83b1a
Post-review changes on conversion instructions.
...
llvm-svn: 31607
2006-11-09 23:03:26 +00:00
Reid Spencer
9456e29646
Fix runaway <tt> element and section ordering.
...
llvm-svn: 31606
2006-11-09 21:48:10 +00:00
Reid Spencer
31c63cb092
Remove futurisms that won't be in our future.
...
llvm-svn: 31605
2006-11-09 21:42:14 +00:00
Reid Spencer
934534d8df
One more time for indentation.
...
llvm-svn: 31604
2006-11-09 21:18:01 +00:00
Reid Spencer
72af785994
Fix indentation problem starting at GEP.
...
llvm-svn: 31603
2006-11-09 21:15:49 +00:00
Reid Spencer
da1f5b882a
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
7374a87fdb
Fix the section headings.
...
llvm-svn: 31532
2006-11-08 01:18:52 +00:00
Reid Spencer
7ae0bd2d88
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
1abf69e923
For PR950:
...
Replace the REM instruction with UREM, SREM and FREM.
llvm-svn: 31369
2006-11-02 01:53:59 +00:00
Reid Spencer
6833ffe8b8
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.
llvm-svn: 31195
2006-10-26 06:15:43 +00:00
Chris Lattner
99ce7667fb
clarify
...
llvm-svn: 30966
2006-10-15 20:05:59 +00:00
Anton Korobeynikov
6e19f80688
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.
llvm-svn: 30374
2006-09-14 18:23:27 +00:00
Chris Lattner
06c3df5cb1
new powi intrinsic
...
llvm-svn: 30175
2006-09-08 06:34:02 +00:00
Chris Lattner
180ca1aa2e
Add a link to the GEP faq.
...
llvm-svn: 29690
2006-08-15 00:45:58 +00:00
Chris Lattner
f04cf06b5a
Decribe the "implementation" keyword.
...
llvm-svn: 28762
2006-06-13 03:05:47 +00:00
Chris Lattner
48febe01d9
New calling convention I will be adding shortly.
...
llvm-svn: 28403
2006-05-19 21:15:36 +00:00
Chris Lattner
a093e85b00
Update dox, patch by Vladimir Prus!
...
llvm-svn: 28306
2006-05-15 17:26:46 +00:00
Chris Lattner
fa70e32490
Change token to match asmprinter output
...
llvm-svn: 28285
2006-05-14 18:23:06 +00:00
Chris Lattner
e6f4065bca
typo
...
llvm-svn: 27936
2006-04-21 21:37:40 +00:00
Tanya Lattner
72a79541a8
Adding back vector instructions to keep in mainline.
...
llvm-svn: 27704
2006-04-14 19:24:33 +00:00
Tanya Lattner
61fcf9afdf
Removing unimplemented vector instructions from language referrence.
...
llvm-svn: 27703
2006-04-14 19:07:42 +00:00