1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
Commit Graph

2895 Commits

Author SHA1 Message Date
Mon P Wang
911ee5bf8b Added support for the following definition of shufflevector
<result> = shufflevector <n x <ty>> <v1>, <n x <ty>> <v2>, <m x i32> <mask> 

llvm-svn: 58964
2008-11-10 04:46:22 +00:00
Chris Lattner
4b49b69b81 fix validation problem.
llvm-svn: 58938
2008-11-09 17:19:14 +00:00
Eric Christopher
f153e3c62e Fix syntax of iterate_complex example. Noticed by Martin!
llvm-svn: 58900
2008-11-08 08:20:49 +00:00
Dan Gohman
bd01d0107e Document the acronym RAUW. Patch by Jonathan Brandmeyer!
llvm-svn: 58863
2008-11-07 20:29:17 +00:00
Devang Patel
5d5357aa3b Clarify documentation. A module pass MP can require a function paqss FP only if FP does not require any module pass.
llvm-svn: 58813
2008-11-06 19:47:49 +00:00
Gabor Greif
efaf754a8c fix two validation errors
llvm-svn: 58722
2008-11-04 21:50:59 +00:00
Gabor Greif
bb2aa36f81 fix typos, harmonize formatting
llvm-svn: 58721
2008-11-04 21:48:10 +00:00
Tanya Lattner
775d919c49 Add note about cmake. Patch by Oscar Fuentes.
llvm-svn: 58712
2008-11-04 18:40:27 +00:00
Chris Lattner
48f4eea41d mention fortran status.
llvm-svn: 58416
2008-10-30 03:58:13 +00:00
Torok Edwin
f4b6f018ef fix typo
llvm-svn: 58384
2008-10-29 16:32:06 +00:00
Chris Lattner
5e1737662b llvm-ld doesn't have a -march option. This fixes PR2961
llvm-svn: 58345
2008-10-28 20:05:06 +00:00
Torok Edwin
62e6eac94a fix prototype of print, it is (llvm/Pass.h):
virtual void print(std::ostream &O, const Module *M) const;
instead of
  virtual void print(llvm::OStream &O, const Module *M) const;
as the docs say

llvm-svn: 58337
2008-10-28 17:29:23 +00:00
Torok Edwin
12f71cb784 fix duplicate anchor names, and broken anchor links from the TOC
llvm-svn: 58332
2008-10-28 16:54:34 +00:00
Gabor Greif
0269c21562 formatting tweak for intrinsic
llvm-svn: 58239
2008-10-27 10:17:24 +00:00
Bill Wendling
028aeb5f8e Some grammar fixes, and non-invasive format changes.
llvm-svn: 58237
2008-10-27 09:27:33 +00:00
Chris Lattner
7351188cb9 mention getresult -> extractvalue (PR2935)
llvm-svn: 58226
2008-10-27 04:39:23 +00:00
Nick Lewycky
6288e2288d Remove -check-exit-code from bugpoint. This is subsumed by -append-exit-code.
Note that -check-exit-code was on by default while -append-exit-code is not.

llvm-svn: 58221
2008-10-26 23:59:36 +00:00
Bruno Cardoso Lopes
5a4985a242 Added MIPS release notes.
llvm-svn: 58139
2008-10-25 14:56:26 +00:00
Matthijs Kooijman
360091f9fd Fix spelling error.
llvm-svn: 57820
2008-10-20 08:45:34 +00:00
Gabor Greif
7a56f56cf4 remove spurious space in link
llvm-svn: 57677
2008-10-17 14:43:58 +00:00
Nicolas Geoffray
db9beb7d40 Remove naming Tilmann for generics.
llvm-svn: 57599
2008-10-15 20:25:04 +00:00
Gabor Greif
4a32c61591 catch one more typo, canonicalize LLVMdev
llvm-svn: 57571
2008-10-15 10:47:24 +00:00
Gabor Greif
af1e025d56 fix some validation errors, improve formatting, squash a strange plural
llvm-svn: 57570
2008-10-15 10:29:51 +00:00
Daniel Dunbar
e11e618cc6 Prevent assert when using '"' in names (via hexadecimal).
Update LangRef to mention \xx quoting in names.

llvm-svn: 57538
2008-10-14 23:51:43 +00:00
Daniel Dunbar
f78f8fdfed Add some ReleaseNotes on clang codegen.
llvm-svn: 57535
2008-10-14 23:25:09 +00:00
Devang Patel
4045b6a017 Document attributes changes.
llvm-svn: 57518
2008-10-14 20:03:43 +00:00
Nicolas Geoffray
da65ee7fd0 Add VMKit notes.
llvm-svn: 57517
2008-10-14 19:23:04 +00:00
Dan Gohman
0c6c14ef30 Mention a few methods in ConstantSDNode that were renamed.
llvm-svn: 57505
2008-10-14 17:06:44 +00:00
Dan Gohman
d53d4be7a8 HTML syntax fixes.
llvm-svn: 57503
2008-10-14 17:00:38 +00:00
Dan Gohman
75d70feb9b Fix missing end tags and invalid HTML entity syntax.
llvm-svn: 57500
2008-10-14 16:51:45 +00:00
Dan Gohman
7227e51b8d Add a missing close-tag.
llvm-svn: 57497
2008-10-14 16:32:04 +00:00
Dan Gohman
0c0b17ec3f Fix a few close tags.
llvm-svn: 57496
2008-10-14 16:23:02 +00:00
Dan Gohman
80b968a645 Fix a typo.
llvm-svn: 57495
2008-10-14 16:13:59 +00:00
Dan Gohman
6ba508d258 Add a brief mention of the new free-list management code.
llvm-svn: 57490
2008-10-14 15:14:55 +00:00
Gabor Greif
d22d9a65f7 minor corrections, improved formatting
llvm-svn: 57486
2008-10-14 11:31:14 +00:00
Gabor Greif
d9aa92c0f1 typo and formatting tweaks
llvm-svn: 57485
2008-10-14 11:00:32 +00:00
Duncan Sands
8fe4eac94c Mention the different constant folders that IRBuilder
can use.

llvm-svn: 57483
2008-10-14 07:06:37 +00:00
Chris Lattner
62d852d53a add some upgrading notes from Pekka.
llvm-svn: 57480
2008-10-14 06:37:11 +00:00
Chris Lattner
9e1db7e761 add LSR and frameaddress info.
llvm-svn: 57478
2008-10-14 06:02:29 +00:00
Ted Kremenek
158e2c546d Add static analyzer notes.
llvm-svn: 57475
2008-10-14 05:14:21 +00:00
Chris Lattner
222e130ee3 more minor updates
llvm-svn: 57472
2008-10-14 00:52:49 +00:00
Chris Lattner
f7e94f363f more changes.
llvm-svn: 57470
2008-10-13 22:06:31 +00:00
Chris Lattner
27789db2ca optimizer and codegen
llvm-svn: 57468
2008-10-13 21:50:36 +00:00
Chris Lattner
5aa4dedd28 more updates.
llvm-svn: 57466
2008-10-13 20:59:32 +00:00
Chris Lattner
ba8f9fff79 describe major new features and llvm-gcc features.
llvm-svn: 57463
2008-10-13 20:47:20 +00:00
Duncan Sands
3040939c64 MarkModRef -> AddReadAttrs.
llvm-svn: 57459
2008-10-13 18:42:43 +00:00
Duncan Sands
4229c0774f Add some llvm-gcc changes that may be worth
detailing.

llvm-svn: 57457
2008-10-13 18:33:28 +00:00
Chris Lattner
16dcbb1369 give the static analyzer its own section.
llvm-svn: 57455
2008-10-13 18:11:54 +00:00
Chris Lattner
c842574c62 more rearranging.
llvm-svn: 57453
2008-10-13 18:01:01 +00:00
Chris Lattner
8b69de4186 move major changes down.
llvm-svn: 57452
2008-10-13 17:57:36 +00:00
Duncan Sands
b2532b4e00 Fix typo. Add note on trampoline support.
llvm-svn: 57450
2008-10-13 17:32:15 +00:00
Duncan Sands
13eb8e7bcd Update the Ada part.
llvm-svn: 57447
2008-10-13 17:27:23 +00:00
Chris Lattner
bfa49da29b final note.
llvm-svn: 57446
2008-10-13 17:12:51 +00:00
Chris Lattner
5dffd42d1b fix some crazily long lines.
llvm-svn: 57444
2008-10-13 16:55:18 +00:00
Matthijs Kooijman
5d8f1a58b3 Improve the description on the getelementptr instruction. It should now better
define what the instruction does. This also makes it clear that getelementptr
can index into a vector type.

llvm-svn: 57440
2008-10-13 13:44:15 +00:00
Mikhail Glushenkov
368e89a378 Add whitespace before a parenthesis.
llvm-svn: 57430
2008-10-13 02:46:01 +00:00
Mikhail Glushenkov
2f42d3fe46 Add a note on llvmc2 plugins + remove some trailing whitespace (my Emacs does this automatically).
llvm-svn: 57429
2008-10-13 02:08:34 +00:00
Chris Lattner
6fb7bbb4a7 more notes
llvm-svn: 57427
2008-10-12 22:57:58 +00:00
Chris Lattner
2e4842efdd add some more notes
llvm-svn: 57423
2008-10-12 19:47:48 +00:00
Chris Lattner
f5f57888f4 add some notes
llvm-svn: 57416
2008-10-12 18:30:33 +00:00
Daniel Dunbar
cb2680a63c Add API changes which affected me to release notes:
- DbgStopPointInst
 - Attributes (needs filling in)

llvm-svn: 57382
2008-10-11 21:26:56 +00:00
Daniel Dunbar
216241a02b Add GCC 4.1.2 from Debian to known bad GCC list.
llvm-svn: 57379
2008-10-11 18:40:33 +00:00
Anton Korobeynikov
afa8b7ca0c Note EH stuff for x86-64/linux
llvm-svn: 57378
2008-10-11 18:27:16 +00:00
Anton Korobeynikov
84b498d50c We do support PIC on x86-64/linux
llvm-svn: 57377
2008-10-11 18:27:00 +00:00
Chris Lattner
c41398e502 Strip out 2.3 info, make space for 2.4 info. I'd appreciate it if
various component owners could look through and update their areas
in the known-problems section.

llvm-svn: 57376
2008-10-11 18:18:28 +00:00
Chris Lattner
7320e36e54 fix typo
llvm-svn: 57287
2008-10-08 06:26:11 +00:00
Devang Patel
782e55a101 Improve function definition, call and invoke instruction docs.
llvm-svn: 57253
2008-10-07 17:48:33 +00:00
Matthijs Kooijman
311f8e7dca Add two forgotten </i>'s.
llvm-svn: 57239
2008-10-07 10:03:45 +00:00
Devang Patel
797d5155ba Update function attributes docs.
llvm-svn: 57197
2008-10-06 18:50:38 +00:00
Duncan Sands
559ddbafc0 Clarify the relationship between byval and readonly/
readnone.  Make clearer that readnone functions do not
dereference pointer arguments.  Do not use the highly
ambiguous "side-effects" in the readonly description
(since such functions can have control flow side-effects,
such as throwing an exception, or looping for ever).

llvm-svn: 57166
2008-10-06 08:14:18 +00:00
Chris Lattner
aec2eeea80 A word got optimized out, thanks to Duncan for pointing this out
llvm-svn: 57116
2008-10-05 17:14:59 +00:00
Dan Gohman
8c3b14fa6d Update the documentation for first-class aggregates changes,
and remove getresult and references thereto.

llvm-svn: 57064
2008-10-04 19:00:07 +00:00
Chris Lattner
b5fb0f6d1f add a note about inline asm
llvm-svn: 57062
2008-10-04 18:36:02 +00:00
Chris Lattner
6fff750f76 improve description of param/ret attrs
llvm-svn: 57061
2008-10-04 18:33:34 +00:00
Chris Lattner
bae2f35e81 improve descriptions of function attrs
llvm-svn: 57060
2008-10-04 18:23:17 +00:00
Chris Lattner
28d083232d notes are gone.
llvm-svn: 57059
2008-10-04 18:10:21 +00:00
Daniel Dunbar
edea1b15bf Change PointerType::get -> getUnqual
llvm-svn: 57032
2008-10-03 22:17:25 +00:00
Dan Gohman
3ad9361680 Fix a typo.
llvm-svn: 56986
2008-10-03 00:07:11 +00:00
Duncan Sands
f5f028df85 Stacker is dead.
llvm-svn: 56844
2008-09-30 15:18:29 +00:00
Devang Patel
1721a1a319 Fix grammar.
llvm-svn: 56796
2008-09-29 18:34:44 +00:00
Devang Patel
ed4b84c801 Fix sentence.
llvm-svn: 56794
2008-09-29 18:16:09 +00:00
Matthijs Kooijman
4dd694b586 Add some hands-on documentation about which files to create and edit when
adding a backend.

llvm-svn: 56783
2008-09-29 11:52:22 +00:00
Devang Patel
47a504c87c Implement function notes as function attributes.
llvm-svn: 56716
2008-09-26 23:51:19 +00:00
Daniel Dunbar
fe7f42150a Update LICENSE link.
llvm-svn: 56689
2008-09-26 21:12:29 +00:00
Dale Johannesen
62f64ab4c8 Accept 'inreg' attribute on x86 functions as
meaning sse_regparm (i.e. float/double values go
in XMM0 instead of ST0).  Update documentation
to reflect reality.

llvm-svn: 56619
2008-09-25 20:47:45 +00:00
Duncan Sands
2c9f6ab06d Rationalize the names of passes that print information:
-callgraph => print-callgraph
    -callscc   => print-callgraph-sccs
    -cfgscc    => print-cfg-sccs
    -externalfnconstants => print-externalfnconstants
    -print               => print-function
    -print-alias-sets (no change)
    -print-callgraph     => dot-callgraph
    -print-cfg           => dot-cfg
    -print-cfg-only      => dot-cfg-only
    -print-dom-info (no change)
    -printm              => print-module
    -printusedtypes      => print-used-types

llvm-svn: 56487
2008-09-23 12:47:39 +00:00
Tanya Lattner
e5fe7f7369 Upgrade doxygen.
llvm-svn: 56308
2008-09-18 16:32:28 +00:00
Nick Lewycky
d33536e62a Fix documentation for these functions; they do not only modify users within the
block specified by the InstList. Patch by Stefanus Du Toit.

llvm-svn: 56200
2008-09-15 06:31:52 +00:00
Duncan Sands
ed2eeb11d8 The "alias" keyword comes first.
llvm-svn: 56170
2008-09-12 20:48:21 +00:00
Dan Gohman
4646a3791e Add more documentation advertising the -view-*-dags options.
llvm-svn: 56073
2008-09-10 22:23:41 +00:00
Dan Gohman
7abf884d12 Fix a minor wording ambiguity in the Developer Policy.
llvm-svn: 56022
2008-09-09 22:13:09 +00:00
Dan Gohman
3e79d697f3 Extend the vcmp/fcmp LLVM IR instructions to take vectors as arguments
and, if so, to return a vector of boolean as a result;

Extend the select LLVM IR instruction to allow you to specify a result
type which is a vector of boolean, in which case the result will be an
element-wise selection instead of choosing one vector or the other; and

Update LangRef.html to describe these changes.

This patch was contributed by Preston Gurd!

llvm-svn: 55969
2008-09-09 01:02:47 +00:00
Dan Gohman
3d1ee171e8 Bitcasting two or from aggregate types is not permitted. Update
LangRef.html, and teach the verifier to check bitcast instructions.

llvm-svn: 55921
2008-09-08 16:45:59 +00:00
Bill Wendling
9f540e75fd Clean up CSS validator errors: 'Property align doesn't exist : center'
llvm-svn: 55885
2008-09-07 10:29:20 +00:00
Bill Wendling
f2786b7a0c Formatting changes. to make the information cleaner.
llvm-svn: 55884
2008-09-07 10:26:33 +00:00
Devang Patel
b85cf5664d update.
llvm-svn: 55809
2008-09-04 23:10:26 +00:00
Devang Patel
23d60ba4ed Document function notes.
llvm-svn: 55808
2008-09-04 23:05:13 +00:00
Gordon Henriksen
587b7ac051 Update GC docs for clarified naming and AsmWriter refactoring.
llvm-svn: 55275
2008-08-24 03:18:23 +00:00
Chris Lattner
48d4303630 remove reference to really really old tree
llvm-svn: 55001
2008-08-19 20:17:48 +00:00
Chris Lattner
90a1c7faa8 the stacker doc is way out of date.
llvm-svn: 54631
2008-08-11 06:13:31 +00:00
Gabor Greif
b3eb156fe2 use the more precise 'op1' instead of 'var1' since the latter can be misunderstood to not encompass constants
llvm-svn: 54490
2008-08-07 21:46:00 +00:00
Chris Lattner
fba89ee08e stacker is really gone.
llvm-svn: 54400
2008-08-06 05:57:58 +00:00
Chris Lattner
127375e0ed remove stacker
llvm-svn: 54398
2008-08-06 05:56:52 +00:00
Bill Wendling
b120b02f4d It's "a static", not "an static"
llvm-svn: 54379
2008-08-05 22:29:16 +00:00
Chris Lattner
ffc6ce44a7 Expand acronyms, suggested by Walter Pawley
llvm-svn: 54362
2008-08-05 18:29:16 +00:00
Chris Lattner
0ad96be1be Capitalize LLVM, suggested by Walt Pawley
llvm-svn: 54360
2008-08-05 18:21:08 +00:00
Matthijs Kooijman
a337c8e1a1 Not that using stream headers other than iostream is allowed.
llvm-svn: 54209
2008-07-30 12:14:10 +00:00
Mon P Wang
fb483982f5 Added support for overloading intrinsics (atomics) based on pointers
to different address spaces.  This alters the naming scheme for those
intrinsics, e.g., atomic.load.add.i32 => atomic.load.add.i32.p0i32

llvm-svn: 54195
2008-07-30 04:36:53 +00:00
Nate Begeman
9a71580e21 Add vector shifts to the IR, patch by Eli Friedman.
CodeGen & Clang work coming next.

llvm-svn: 54161
2008-07-29 15:49:41 +00:00
Dan Gohman
9742f7772d Rename SDOperand to SDValue.
llvm-svn: 54128
2008-07-27 21:46:04 +00:00
Bill Wendling
16bc3bde02 Use &mdash; because.
llvm-svn: 53901
2008-07-22 06:46:17 +00:00
Bill Wendling
e443475afb Remove references to llvm-gcc-4.0
llvm-svn: 53900
2008-07-22 01:37:48 +00:00
Bill Wendling
bb1f477008 Fix grammar.
llvm-svn: 53898
2008-07-22 01:10:25 +00:00
Chris Lattner
631ab45eb2 add a description.
llvm-svn: 53529
2008-07-13 21:27:36 +00:00
Chris Lattner
b650adae49 Add a little wrapper header that is put around bc files when emitting
bc files for modules with a target triple that indicates they are for
darwin.  The reader unconditionally handles this, and the writer could
turn this on for more targets if we care.

This change has two benefits for darwin:

1) it allows us to encode the cpu type of the file in an easy to read
   place that doesn't require decoding the bc file.
2) it works around a bug (IMO) in darwin's AR where it is incapable of
   handling files that are not a multiple of 8 bytes long.  BC files
   are only guaranteed to be multiples of 4 bytes long.

llvm-svn: 53275
2008-07-09 05:14:23 +00:00
Duncan Sands
7a6ba3f3a4 Note that 'nest' only applies to pointers.
llvm-svn: 53226
2008-07-08 09:27:25 +00:00
Chris Lattner
a046dec1c1 clarify :)
llvm-svn: 53218
2008-07-08 05:12:37 +00:00
Matthijs Kooijman
598319ec2b Update link to testing guide to use the new title.
llvm-svn: 53018
2008-07-02 13:54:58 +00:00
Gordon Henriksen
031f1fe91c Add a note for Thunderbird users to the Developer Policy.
llvm-svn: 52797
2008-06-26 22:58:37 +00:00
Chris Lattner
0e8a5a0004 remove a bunch of dead options that never did anything.
llvm-svn: 52727
2008-06-25 16:44:52 +00:00
Mon P Wang
7d89d61387 Added MemOperands to Atomic operations since Atomics touches memory.
Added abstract class MemSDNode for any Node that have an associated MemOperand
Changed atomic.lcs => atomic.cmp.swap, atomic.las => atomic.load.add, and
atomic.lss => atomic.load.sub

llvm-svn: 52706
2008-06-25 08:15:39 +00:00
Gabor Greif
c940b5b51e Use present tense when talking about User layout. It is implemented now.
llvm-svn: 52699
2008-06-25 00:10:22 +00:00
Matthijs Kooijman
7f316e0d59 Update testing documentation with more consistent terminology.
All of LLVM's testing features are now referred to as the "Testing
infrastructure", the DejaGNU tests are just that, and the whole program tests
are referred to as the "test suite".

llvm-svn: 52674
2008-06-24 12:58:31 +00:00
Dan Gohman
35787913ea Fix the syntax of insertvalue in the example.
llvm-svn: 52623
2008-06-23 15:26:37 +00:00
Chris Lattner
d1c3cc07ce integer types are not primitive, they are derived.
llvm-svn: 52551
2008-06-20 20:50:48 +00:00
Chris Lattner
95316306bb Fix typo, fix suggested by Nicholas Olsen
llvm-svn: 52524
2008-06-20 05:03:17 +00:00
Dan Gohman
db0beeefb1 Fix a missing comma spotted by Bram Geron.
llvm-svn: 52467
2008-06-18 18:42:13 +00:00
Gabor Greif
14dc959397 fix validator warning
llvm-svn: 52461
2008-06-18 14:05:31 +00:00
Gabor Greif
41d941a446 prettify, no semantic changes
llvm-svn: 52460
2008-06-18 13:44:57 +00:00
Gabor Greif
ae2be0f217 Move some documentation from the header file into ProgrammersManual. About to improve.
llvm-svn: 52360
2008-06-16 21:06:12 +00:00
Dan Gohman
d05ed6f328 Fix an error in the two-address example.
llvm-svn: 52253
2008-06-13 17:55:57 +00:00
Dale Johannesen
1d33a78de9 Improve description of -emit-llvm.
llvm-svn: 52238
2008-06-12 17:04:09 +00:00
Gabor Greif
fb9820af36 adjust calls to ConstantFP::get to new API
llvm-svn: 52165
2008-06-10 01:52:17 +00:00
Duncan Sands
93a1178fe5 Update the build instructions.
llvm-svn: 52153
2008-06-09 20:24:05 +00:00
Bill Wendling
28159b5479 Small formatting changes.
llvm-svn: 52136
2008-06-09 07:51:45 +00:00
Tanya Lattner
6319e64984 Create dirs as needed.
llvm-svn: 52131
2008-06-09 07:14:31 +00:00
Gabor Greif
7916e005f6 removed two implicitly closed </p> tags to get it validate
llvm-svn: 52123
2008-06-09 06:06:18 +00:00
Tanya Lattner
5f01c1bb6f Update with new release.
llvm-svn: 52121
2008-06-09 06:02:09 +00:00
Dan Gohman
72469a9c59 Add a note in the API Changes section about the ConstantFP::get change.
llvm-svn: 52119
2008-06-09 04:36:34 +00:00
Anton Korobeynikov
e12f27e1c3 Use proper icon :)
llvm-svn: 52118
2008-06-09 04:21:50 +00:00
Anton Korobeynikov
a86e7c555b Fix few validations errors
llvm-svn: 52117
2008-06-09 04:20:10 +00:00
Anton Korobeynikov
e286b3c7c7 Add footer
llvm-svn: 52116
2008-06-09 04:17:51 +00:00
Anton Korobeynikov
51e0a13486 Remove obsolete CompilerDriver.html and provie a new one, based on autogenerated file form
LLVMC-Reference.rst

llvm-svn: 52115
2008-06-09 04:15:49 +00:00
Chris Lattner
fa59acf7aa linkify, this requires pulling CodeGenerator.html into 2.3.
llvm-svn: 52114
2008-06-09 04:00:08 +00:00
Chris Lattner
8f0cd56a32 grammaro
llvm-svn: 52111
2008-06-08 23:40:40 +00:00
Chris Lattner
d06fbc5799 final edits from me, simplify the ia64 section.
llvm-svn: 52110
2008-06-08 23:12:47 +00:00
Chris Lattner
48eb7fd3ea more edits
llvm-svn: 52109
2008-06-08 23:06:47 +00:00
Dan Gohman
e57bcd41e1 Add notes about two known X86-64 limitations.
llvm-svn: 52108
2008-06-08 23:05:11 +00:00
Chris Lattner
16b9a37b1b several edits
llvm-svn: 52107
2008-06-08 22:59:35 +00:00
Dan Gohman
cc9adb2070 Add some links to doxygen documentation.
llvm-svn: 52106
2008-06-08 22:57:59 +00:00
Dan Gohman
6c421e6cba Describe MachineMemOperands.
llvm-svn: 52105
2008-06-08 22:49:27 +00:00
Dan Gohman
3c9826d374 Fix a grammero.
llvm-svn: 52104
2008-06-08 22:44:43 +00:00
Gordon Henriksen
30183c0387 Revert a bad edit from r52095.
llvm-svn: 52103
2008-06-08 22:05:11 +00:00
Chris Lattner
20cf1070fc add vmkit and rewrite clang section
llvm-svn: 52102
2008-06-08 21:58:17 +00:00
Chris Lattner
ec14741370 start edits.
llvm-svn: 52100
2008-06-08 21:34:41 +00:00
Chris Lattner
032b2d2e17 add more notes.
llvm-svn: 52099
2008-06-08 21:19:07 +00:00
Chris Lattner
ab3318470b add some html escapes
llvm-svn: 52096
2008-06-08 20:25:30 +00:00
Duncan Sands
f6978aed65 Using llc always rather than sometimes using LLC.
Try to improve language in various places.  Use
X86 always rather than sometimes using x86.  Add
some minor Ada info.

llvm-svn: 52095
2008-06-08 20:18:35 +00:00
Duncan Sands
f7f001eff5 Fix spelling.
llvm-svn: 52094
2008-06-08 19:38:43 +00:00
Anton Korobeynikov
9a0ee27d9a Add win64
llvm-svn: 52091
2008-06-08 10:24:13 +00:00
Anton Korobeynikov
5e8b8ee322 This was fixed
llvm-svn: 52090
2008-06-08 10:23:46 +00:00
Chris Lattner
0afb7c4bd1 add some notes.
llvm-svn: 52087
2008-06-08 02:45:07 +00:00
Owen Anderson
ee5cd76a0c Include loop deletion and the ADCE rewrite in the release notes.
llvm-svn: 52048
2008-06-06 16:23:15 +00:00
Duncan Sands
d634afe3aa Wrap MVT::ValueType in a struct to get type safety
and better control the abstraction.  Rename the type
to MVT.  To update out-of-tree patches, the main
thing to do is to rename MVT::ValueType to MVT, and
rewrite expressions like MVT::getSizeInBits(VT) in
the form VT.getSizeInBits().  Use VT.getSimpleVT()
to extract a MVT::SimpleValueType for use in switch
statements (you will get an assert failure if VT is
an extended value type - these shouldn't exist after
type legalization).
This results in a small speedup of codegen and no
new testsuite failures (x86-64 linux).

llvm-svn: 52044
2008-06-06 12:08:01 +00:00
Devang Patel
df5e7efded Describe loop index split.
llvm-svn: 52021
2008-06-05 21:44:00 +00:00
Dan Gohman
1a7d090da5 Wording fixes. Thanks Bill!
llvm-svn: 52017
2008-06-05 18:45:33 +00:00
Gabor Greif
7d316de261 fix typos, tweak stuff, make it to validate
llvm-svn: 52015
2008-06-05 18:39:01 +00:00
Dan Gohman
f27717f820 Move i128 on x86-64 from the codegen section to the x86-specific section.
llvm-svn: 52010
2008-06-05 16:15:39 +00:00
Dan Gohman
b9d1641124 Add a note about improved alignment detection.
llvm-svn: 52009
2008-06-05 15:49:29 +00:00
Dan Gohman
32e1487604 Add a note mentioning --view-sunit-dags improvements.
llvm-svn: 52008
2008-06-05 15:46:36 +00:00
Dan Gohman
d3e3e2b91c Expand the bullet item about i128 support and APInt usage in codegen.
llvm-svn: 52007
2008-06-05 15:43:11 +00:00
Gordon Henriksen
a248df8fa0 Move this to the proper section.
I misread Optimizer Improvements as Other Improvements for some reason.

llvm-svn: 51996
2008-06-05 12:51:50 +00:00
Gordon Henriksen
9df03c6bb1 Adding release notes for bindings improvements.
llvm-svn: 51995
2008-06-05 12:48:32 +00:00
Chris Lattner
d83b336e41 more updates and random notes, including changes up through Week-of-Mon-20080324.
llvm-svn: 51988
2008-06-05 08:02:49 +00:00
Matthijs Kooijman
1fd76cd396 Update comments and documentation to reflect that GCSE and ValueNumbering are
deprecated by the GVN and GVNPRE passes.

llvm-svn: 51983
2008-06-05 07:55:49 +00:00
Chris Lattner
6559c2b294 add llvmc2 notes, stack realignment.
llvm-svn: 51979
2008-06-05 06:57:39 +00:00
Chris Lattner
4d5ca602ce various status updates.
llvm-svn: 51978
2008-06-05 06:35:40 +00:00
Chris Lattner
ac1e6f6a33 Start adding 2.3 content.
llvm-svn: 51977
2008-06-05 06:25:56 +00:00
Chris Lattner
d895b277ea Fix inst_iterator example.
llvm-svn: 51954
2008-06-04 18:20:42 +00:00
Matthijs Kooijman
1923146775 Fix example to be valid LLVM assembly.
llvm-svn: 51942
2008-06-04 15:46:35 +00:00
Nick Lewycky
8331fc08d8 Add a standard for control-flow unreachable assertions in functions that return
values, so as to avoid warnings on some platforms.

llvm-svn: 51831
2008-05-31 23:54:55 +00:00
Dan Gohman
ac5c3382fe IR, bitcode reader, bitcode writer, and asmparser changes to
insertvalue and extractvalue to use constant indices instead of
Value* indices. And begin updating LangRef.html.

There's definately more to come here, but I'm checking this 
basic support in now to make it available to people who are
interested.

llvm-svn: 51806
2008-05-31 00:58:22 +00:00
Chris Lattner
fd26913f74 Update text to point people at the right version of the tutorial for
their release.

llvm-svn: 51638
2008-05-28 06:16:08 +00:00
Dale Johannesen
0950f431e5 Document common linkage.
llvm-svn: 51517
2008-05-23 23:13:41 +00:00
Dan Gohman
c4932afddc label is a first-class type.
llvm-svn: 51512
2008-05-23 22:50:26 +00:00
Dan Gohman
3f8bacf8cf Update the description of first-class types to reflect that
structs and arrays are now first-class. And fix a sentance
fragment in the insertvalue description. Thanks to Chris
for pointing these out!

llvm-svn: 51506
2008-05-23 21:53:15 +00:00
Matthijs Kooijman
ab2db287bd Restructure the testing documentation.
I've tried to make the distinction between the DejaGNU tests and the test-suite
more clear, added a small section about generating output from the test-suite,
removed some duplication and fixed some wordings. Most of the changes are text
movements, however.

llvm-svn: 51480
2008-05-23 11:45:18 +00:00
Chris Lattner
f2a62165ee minor edits
llvm-svn: 51405
2008-05-22 03:06:14 +00:00
Gabor Greif
3df566d9ec adapt to new API
llvm-svn: 51387
2008-05-21 18:30:15 +00:00
Chris Lattner
7d9e5793c5 Clarify that and/or/xor/sdiv etc all allow vectors.
llvm-svn: 51335
2008-05-20 20:48:21 +00:00
Chris Lattner
4bec425e1d Clarify copyright transfer when you don't own the copyright of
the contributed code.

llvm-svn: 51329
2008-05-20 20:06:53 +00:00
Matthijs Kooijman
bfd128375e Clarify the testing documentation a bit and solve two HTML validator warnings.
llvm-svn: 51313
2008-05-20 10:28:55 +00:00
Bill Wendling
aa7af44a55 Grammar fix.
llvm-svn: 51236
2008-05-19 00:25:01 +00:00
Bill Wendling
739223532a Delete module.
llvm-svn: 51235
2008-05-19 00:20:45 +00:00
Bill Wendling
09ad5a52e1 Convert non-ASCII apostrophes into ASCII apostrophes.
llvm-svn: 51234
2008-05-19 00:19:02 +00:00
Bill Wendling
d646984f41 Delete the Module object.
llvm-svn: 51233
2008-05-19 00:15:33 +00:00
Bill Wendling
3cc7be88e8 s/insure/ensure/
llvm-svn: 51232
2008-05-19 00:05:30 +00:00
Arnold Schwaighofer
ee9e46e049 Add documentation for tail call optimization to CodeGenerator.html. Add a link
referring to it to LangRef.html.

llvm-svn: 51097
2008-05-14 09:17:12 +00:00
Dan Gohman
5bdb90a532 s/indicies/indices/ and clarify the extractvalue and insertvalue are
working with struct field or array element values. Thanks Duncan!

llvm-svn: 51059
2008-05-13 18:16:06 +00:00
Dan Gohman
31a31d4511 Initial documentation for first-class aggregates changes.
llvm-svn: 51013
2008-05-12 23:51:09 +00:00
Dan Gohman
b3a433ed7b Fix a malformed %gt;
llvm-svn: 51011
2008-05-12 23:38:42 +00:00
Nate Begeman
b5b1e1353b Add two new instructions to the llvm IR, vicmp and vfcmp. see updated LangRef
for details.  CodeGen support coming in a follow up patch

llvm-svn: 50985
2008-05-12 19:01:56 +00:00
Gordon Henriksen
846171a09e Improve pass documentation and comments.
Patch by Matthijs Kooijman!

llvm-svn: 50861
2008-05-08 17:46:35 +00:00
Anton Korobeynikov
14d085975f Remove entries from here also
llvm-svn: 50616
2008-05-04 06:23:44 +00:00
Anton Korobeynikov
67c3a24fc6 Drop llvmc also, it will be replaced by shiny new llvmc2
llvm-svn: 50615
2008-05-04 06:19:55 +00:00
Anton Korobeynikov
7a74dc55b7 Drop llvm2cpp, it's now a llc target
llvm-svn: 50614
2008-05-04 06:16:50 +00:00
John Criswell
a806bf2de1 Minor spelling and typo fixes.
llvm-svn: 50448
2008-04-29 22:12:40 +00:00
Mikhail Glushenkov
4c358b3125 Add support for response files to the CommandLine library.
llvm-svn: 50355
2008-04-28 16:44:25 +00:00
Chris Lattner
2b149f62af % -> @
llvm-svn: 50206
2008-04-24 06:00:30 +00:00
Chris Lattner
ddd6b159be Doc updates/edits, contributed by Terence Parr!
llvm-svn: 50205
2008-04-24 05:59:56 +00:00
Chris Lattner
7b8303d37b fix description of 'ret' to be more correct with multiple return
values.  Clarify that it is impossible to 'multiply return' a 
struct with zero elements.

llvm-svn: 50131
2008-04-23 04:59:35 +00:00
Chris Lattner
7fe5f6ffea Allow undef as an operand to getresult.
llvm-svn: 50130
2008-04-23 04:06:52 +00:00
Chris Lattner
5b6f941e70 free(null) -> noop
llvm-svn: 49972
2008-04-19 22:41:32 +00:00
Gabor Greif
441be4d65b merge of 49966 from branches/ggreif/use-diet to trunk. these are already active API changes
llvm-svn: 49968
2008-04-19 22:25:09 +00:00
Chris Lattner
2f237756c5 Some clarifications suggested by Jon Sargeant
llvm-svn: 49963
2008-04-19 21:01:16 +00:00
Chris Lattner
9723592fa7 A couple minor fixes suggested by Matthijs Kooijman
llvm-svn: 49729
2008-04-15 16:59:22 +00:00
Chris Lattner
d98e026e57 improve diagnostics in call parsing, patch suggested by
Matthijs Kooijman

llvm-svn: 49648
2008-04-14 16:44:41 +00:00
Duncan Sands
c5f548f784 Merge LLVMBuilder and FoldingBuilder, calling
the result IRBuilder.  Patch by Dominic Hamon.

llvm-svn: 49604
2008-04-13 06:22:09 +00:00
Duncan Sands
0aa1fc7829 The Ada front-end from the LLVM 2.2 release
cannot be build with GNAT GPL 2006, only with
GNAT GPL 2005.

llvm-svn: 49529
2008-04-11 13:24:43 +00:00
Tanya Lattner
185ece0559 Added note to getting started guide to use llvm-gcc4.2.
Removed llvm-upgrade from documentations.

llvm-svn: 49346
2008-04-07 18:32:25 +00:00
Chris Lattner
0d6e900c28 more edits from Jon Sargeant
llvm-svn: 49065
2008-04-02 00:38:26 +00:00
Chris Lattner
c0850245b7 add a dropped hunk from Jon Sargeant's patch.
llvm-svn: 49045
2008-04-01 18:47:32 +00:00
Chris Lattner
a0dbb9a92a make langref more precise, wave 1, from Jon Sargeant
llvm-svn: 49044
2008-04-01 18:45:27 +00:00
Chris Lattner
4a8cb91c2d minor typo
llvm-svn: 49040
2008-04-01 18:02:36 +00:00
Gordon Henriksen
c2c2b45acb Add a unified 'generated documentation' target so the web site script has a consistent target to use.
llvm-svn: 48985
2008-03-31 17:27:57 +00:00
Erick Tryzelaar
70c988926c There isn't any c++ code in LangImpl8.html, so use that
instead of OCamlLangImpl8.html.

llvm-svn: 48979
2008-03-31 08:50:45 +00:00
Erick Tryzelaar
389fa6b162 Chapter 5, 6, and 7 of the ocaml/kaleidoscope tutorial
and fix some tabs in chapter 3 and 4.

llvm-svn: 48978
2008-03-31 08:44:50 +00:00
Erick Tryzelaar
1bca06f4c6 Tweak build system to allow for installing the tutorial and uninstalling the docs.
llvm-svn: 48968
2008-03-30 20:32:18 +00:00
Erick Tryzelaar
56a7eb661d Fix some documentation for the tutorial.
llvm-svn: 48966
2008-03-30 19:14:31 +00:00
Chris Lattner
fe09b7f41f fix typo, PR2181
llvm-svn: 48954
2008-03-30 16:59:21 +00:00
Erick Tryzelaar
1910b8741f Add chapter 3 and 4 of the ocaml/kaleidoscope tutorial.
llvm-svn: 48949
2008-03-30 09:57:12 +00:00
Nick Lewycky
96038a0528 Update example to new syntax.
llvm-svn: 48910
2008-03-28 06:46:51 +00:00
Erick Tryzelaar
5fcf593c21 Adding the first two chapters of the ocaml/kaleidoscope tutorial.
llvm-svn: 48871
2008-03-27 08:18:07 +00:00
Erick Tryzelaar
0b9ba7c168 Test commit (removed trailing whitespace)
llvm-svn: 48809
2008-03-26 00:38:56 +00:00
Owen Anderson
3282759e08 Oops. I wanted the compile flags for C++, not the C preprocessor flags.
llvm-svn: 48744
2008-03-24 21:38:01 +00:00
Devang Patel
8408d79657 void type is also a valid function return type.
llvm-svn: 48740
2008-03-24 20:52:42 +00:00
Tanya Lattner
dfe5ec1f01 Added Passes.html to the documentation list.
llvm-svn: 48736
2008-03-24 18:29:32 +00:00
Devang Patel
223760bf3f Fix typo. Clarify underlying message.
llvm-svn: 48734
2008-03-24 18:10:52 +00:00
Devang Patel
d603d825c7 Update Function type documentation to clarify how multiple return values are supported.
llvm-svn: 48721
2008-03-24 05:35:41 +00:00
Anton Korobeynikov
197f07a72b Aliasing chains cleanups: update langref, add check into verifier
llvm-svn: 48685
2008-03-22 08:36:14 +00:00
Chris Lattner
3819e559c9 clean up and fix the call section.
llvm-svn: 48651
2008-03-21 17:24:17 +00:00
Chris Lattner
cc10d27f38 cleanups for the getresult section.
llvm-svn: 48650
2008-03-21 17:20:51 +00:00
Devang Patel
5e8cbbea65 PassInfo keep tracks whether a pass is an analysis pass or not.
llvm-svn: 48554
2008-03-19 21:56:59 +00:00
Scott Michel
f20fbe8a93 Note that gcc 4.0.1 will trip internal LLVM asserts (e.g., pred_iterator) if compiling
for Release with optimization levels greater than -O0.

llvm-svn: 48513
2008-03-18 23:13:26 +00:00
Duncan Sands
c7c1fab458 Clarify the unwind attribute. Add assumption
about sret made by the optimizers.

llvm-svn: 48452
2008-03-17 12:17:41 +00:00
Nick Lewycky
ee790026a3 Commit works on regular functions too. Fix the syntax to allow @foo.
llvm-svn: 48414
2008-03-16 07:18:12 +00:00
Devang Patel
0d234e20a5 fix grammer
llvm-svn: 48211
2008-03-11 05:51:59 +00:00
Devang Patel
b1b30b2c76 Document multiple return values.
llvm-svn: 48173
2008-03-10 20:49:15 +00:00
Gordon Henriksen
7af7f7f186 Adding ocamldoc generation.
Patch by Erick Tryzelaar.

llvm-svn: 48147
2008-03-10 15:49:16 +00:00
Nick Kledzik
599e922abd update to document new lto API
llvm-svn: 47764
2008-02-29 19:34:52 +00:00