Commit Graph

2958 Commits

Author SHA1 Message Date
Mikhail Glushenkov c0363fcba6 More cosmetic tweaks for llvmc docs.
llvm-svn: 60969
2008-12-13 02:28:58 +00:00
Chris Lattner e5a6d7ddae fix some incorrect links.
llvm-svn: 60919
2008-12-12 04:20:01 +00:00
Mikhail Glushenkov a6a9066848 Man page update.
llvm-svn: 60918
2008-12-12 02:34:56 +00:00
Mikhail Glushenkov 6932e2f368 Fix W3C validator errors.
llvm-svn: 60912
2008-12-11 23:43:14 +00:00
Mikhail Glushenkov d9a7795abc Use correct file for the llvmc tutorial.
llvm-svn: 60910
2008-12-11 23:33:33 +00:00
Mikhail Glushenkov 6fd5513284 Update the auto-generated llvmc documentation.
llvm-svn: 60909
2008-12-11 23:24:40 +00:00
Misha Brukman 5039be7e27 * Removed stray </p> tag
* Whitespace cleanups

llvm-svn: 60891
2008-12-11 19:44:51 +00:00
Misha Brukman 586a15c995 * <div align=center> is not valid HTML 4.01 - removed alignment
* <sup> cannot appear inside a <pre> - replaced <pre> with <tt> and <br>
* Added standard "Notes" section
* Sprinkled fixed-width <tt> tags in a few places for consistency

llvm-svn: 60889
2008-12-11 19:37:04 +00:00
Misha Brukman 21a6370323 Removed warnings from HTML 4.01 validator: trailing slashes in <br> and <img>
tags are not needed in HTML, only XML.

llvm-svn: 60885
2008-12-11 18:23:24 +00:00
Misha Brukman 0091c26b2b Conform to the HTML 4.01 Strict specification.
llvm-svn: 60884
2008-12-11 18:14:06 +00:00
Misha Brukman 86242e1990 Global replace of yellow W3C "valid HTML/CSS" icons with blue ones.
llvm-svn: 60880
2008-12-11 17:34:48 +00:00
Misha Brukman 4e71ec11b0 * Fixed formatting of command descriptions to be consistent:
- descriptions on new line
  - no terminating period
* Changed the W3C logos from yellow to blue to not stand out

llvm-svn: 60879
2008-12-11 17:12:52 +00:00
Misha Brukman 6c2522a1cf s/A Few Coding Standards/LLVM Coding Standards/g
llvm-svn: 60859
2008-12-10 23:07:02 +00:00
Nuno Lopes 9499385621 fix typo. thanks Baldrick for noticing
llvm-svn: 60841
2008-12-10 16:11:10 +00:00
Nuno Lopes 65e877eabb add gcc 4.1.2 from redhat to the list of broken compilers
llvm-svn: 60840
2008-12-10 16:01:22 +00:00
Duncan Sands ec1b9b6869 Update these instructions to the 2.4 release.
llvm-svn: 60838
2008-12-10 14:24:58 +00:00
Duncan Sands 8aace1fd08 Mention the Ada and Fortran front-ends.
llvm-svn: 60833
2008-12-10 10:50:58 +00:00
Mon P Wang 68d4eee062 Added a little more information that vector shifts require vector shift amount.
llvm-svn: 60831
2008-12-10 08:55:09 +00:00
Dale Johannesen 40e3b209b1 Rewrite instructions for configuring external tests
to reflect reality.

llvm-svn: 60825
2008-12-10 01:58:32 +00:00
Mikhail Glushenkov e5cd77150e Man page typo fix.
llvm-svn: 60765
2008-12-09 14:41:00 +00:00
Mon P Wang 4dd832d241 Fix getNode to allow a vector for the shift amount for shifts of vectors.
Fix the shift amount when unrolling a vector shift into scalar shifts.
Fix problem in getShuffleScalarElt where it assumes that the input of
a bit convert must be a vector.

llvm-svn: 60740
2008-12-09 05:46:39 +00:00
Dan Gohman 414cf50234 Generalize bugpoint's concept of a "safe" backend, and add options
to allow the "safe" backend to be run with a different path, and/or
with different command-line options.

This enables the following use cases:
 - bugpoint llc against an llc command from a different build
 - bugpoint llc against the same llc with different command-line options
 - and more...

Also, document the existing "custom" interpreter options.

llvm-svn: 60681
2008-12-08 04:02:47 +00:00
Nick Lewycky d745adedd7 Fixes for Visual Studio users. Patch by OvermindDL1 on llvm-dev!
llvm-svn: 60679
2008-12-08 00:45:02 +00:00
Mikhail Glushenkov bd53583426 Man page update.
llvm-svn: 60669
2008-12-07 16:48:07 +00:00
Dan Gohman 69cc2cbbff Rename isSimpleLoad to canFoldAsLoad, to better reflect its meaning.
llvm-svn: 60487
2008-12-03 18:15:48 +00:00
Nick Lewycky 35847809b7 Fix spelling mistake.
llvm-svn: 60250
2008-11-29 20:13:25 +00:00
Misha Brukman c9813bda47 Fixed HTML closing tag, cleaned up some spacing.
llvm-svn: 60153
2008-11-27 06:41:20 +00:00
Bill Wendling 6e41adddab Small formatting change.
llvm-svn: 60113
2008-11-26 19:19:05 +00:00
Bill Wendling 0f5541e4cf Update to explain how ssp and sspreq attributes override each other.
llvm-svn: 60112
2008-11-26 19:07:40 +00:00
Mikhail Glushenkov b21abb9d48 Describe some more options in the man page.
llvm-svn: 60105
2008-11-26 13:40:08 +00:00
Mikhail Glushenkov e9eeb0d562 Add a man page for llvmc. Really basic for now, will be updated later.
llvm-svn: 60049
2008-11-25 21:38:38 +00:00
Chris Lattner c09f2c2bb0 This method got renamed, thanks to Mattias Holm for pointing this out.
llvm-svn: 60039
2008-11-25 18:34:50 +00:00
Nuno Lopes ab6d607ff7 add info about how to run the tests with valgrind
llvm-svn: 60030
2008-11-25 15:57:52 +00:00
Oscar Fuentes 669db413ff CMake: Documented two cmake variables.
llvm-svn: 60008
2008-11-25 04:23:36 +00:00
Dan Gohman 8ef449828f Fix a few HTML tidiness issues.
llvm-svn: 59966
2008-11-24 17:18:39 +00:00
Dan Gohman f3bfcf9748 Delete some spurious characters.
llvm-svn: 59964
2008-11-24 16:45:15 +00:00
Dan Gohman 970a547554 Fix some "</p>"s.
llvm-svn: 59963
2008-11-24 16:35:31 +00:00
Dan Gohman 1e6f511050 Some documentation for LegalizeTypes.
llvm-svn: 59962
2008-11-24 16:27:17 +00:00
Torok Edwin 9bc1a6554e NULL, unique pointers from malloc(0), and freed pointers are legal values for
noalias attribute parameters/return values.

llvm-svn: 59955
2008-11-24 08:02:24 +00:00
Nick Lewycky d59572cb22 Seriously strengthen the guarantee offered by noalias on a function's return
value. It must now be as if the pointer were allocated and has not escaped to
the caller. Thanks to Dan Gohman for pointing out the error in the original
and helping devise this definition.

llvm-svn: 59940
2008-11-24 05:00:44 +00:00
Nick Lewycky f5ffcbcd0b Extend the 'noalias' attribute to function return values. This is intended to
indicate functions that allocate, such as operator new, or list::insert. The
actual definition is slightly less strict (for now).

No changes to the bitcode reader/writer, asm printer or verifier were needed.

llvm-svn: 59934
2008-11-24 03:41:24 +00:00
Misha Brukman 50de2b2365 Fixed named anchor for llvm.stackprotector intrinsic.
llvm-svn: 59893
2008-11-22 23:55:29 +00:00
Chris Lattner 1fdb4310e3 Describe how the JIT maps fields to MachineOperands, patch by
JP Bonn!

llvm-svn: 59876
2008-11-22 19:10:48 +00:00
Devang Patel b885a91a12 Document TEST=dbgopt
llvm-svn: 59839
2008-11-21 19:35:57 +00:00
Chris Lattner dd7083452f reapply Sanjiv's patch to genericize memcpy/memset/memmove to take an
arbitrary integer width for the count.

llvm-svn: 59823
2008-11-21 16:42:48 +00:00
Bill Wendling 4bce2bff88 Revert r59802. It was breaking the build of llvm-gcc:
g++ -m32 -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wmissing-format-attribute -fno-common -mdynamic-no-pic -DHAVE_CONFIG_H -Wno-unused -DTARGET_NAME=\"i386-apple-darwin9.5.0\" -I. -I. -I../../llvm-gcc.src/gcc -I../../llvm-gcc.src/gcc/. -I../../llvm-gcc.src/gcc/../include -I./../intl -I../../llvm-gcc.src/gcc/../libcpp/include  -I../../llvm-gcc.src/gcc/../libdecnumber -I../libdecnumber -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.obj/include -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/include -DENABLE_LLVM -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.obj/../llvm.src/include  -D_DEBUG  -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS   -I. -I. -I../../llvm-gcc.src/gcc -I../../llvm-gcc.src/gcc/. -I../../llvm-gcc.src/gcc/../include -I./../intl -I../../llvm-gcc.src/gcc/../libcpp/include  -I../../llvm-gcc.src/gcc/../libdecnumber -I../libdecnumber -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.obj/include -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/include ../../llvm-gcc.src/gcc/llvm-types.cpp -o llvm-types.o
../../llvm-gcc.src/gcc/llvm-convert.cpp: In member function 'void TreeToLLVM::EmitMemCpy(llvm::Value*, llvm::Value*, llvm::Value*, unsigned int)':
../../llvm-gcc.src/gcc/llvm-convert.cpp:1496: error: 'memcpy_i32' is not a member of 'llvm::Intrinsic'
../../llvm-gcc.src/gcc/llvm-convert.cpp:1496: error: 'memcpy_i64' is not a member of 'llvm::Intrinsic'
../../llvm-gcc.src/gcc/llvm-convert.cpp: In member function 'void TreeToLLVM::EmitMemMove(llvm::Value*, llvm::Value*, llvm::Value*, unsigned int)':
../../llvm-gcc.src/gcc/llvm-convert.cpp:1512: error: 'memmove_i32' is not a member of 'llvm::Intrinsic'
../../llvm-gcc.src/gcc/llvm-convert.cpp:1512: error: 'memmove_i64' is not a member of 'llvm::Intrinsic'
../../llvm-gcc.src/gcc/llvm-convert.cpp: In member function 'void TreeToLLVM::EmitMemSet(llvm::Value*, llvm::Value*, llvm::Value*, unsigned int)':
../../llvm-gcc.src/gcc/llvm-convert.cpp:1528: error: 'memset_i32' is not a member of 'llvm::Intrinsic'
../../llvm-gcc.src/gcc/llvm-convert.cpp:1528: error: 'memset_i64' is not a member of 'llvm::Intrinsic'
make[3]: *** [llvm-convert.o] Error 1
make[3]: *** Waiting for unfinished jobs....
rm fsf-funding.pod gcov.pod gfdl.pod cpp.pod gpl.pod gcc.pod
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2

llvm-svn: 59809
2008-11-21 09:09:41 +00:00
Sanjiv Gupta 09a203765a Make mem[cpy,move,set] intrinsics overloaded.
llvm-svn: 59802
2008-11-21 07:49:09 +00:00
Duraid Madina 132f6b472c LLVM does have a fortran FE!
llvm-svn: 59795
2008-11-21 06:26:56 +00:00
Oscar Fuentes 50ff154ea5 CMake: More documentation.
llvm-svn: 59755
2008-11-20 23:35:09 +00:00
Oscar Fuentes 8395ac96c4 CMake: Some documentation. Work in progress.
llvm-svn: 59752
2008-11-20 22:05:48 +00:00
Bill Wendling 1431331b47 - Move the stackprotector intrinsic to the general section.
- Rewrite the sentence to make it look as if English is my first language.

llvm-svn: 59592
2008-11-19 05:56:17 +00:00
Daniel Dunbar 21fad54c6f Grammar.
llvm-svn: 59581
2008-11-19 02:37:39 +00:00
Bill Wendling f85850f89e Documentation for the llvm.stackprotector intrinsic.
llvm-svn: 59557
2008-11-18 22:10:53 +00:00
Chris Lattner 354e8b8189 punctuate, add wording about patches contributed by others.
llvm-svn: 59417
2008-11-16 17:40:16 +00:00
Dan Gohman d92243a74c LLVM can generate native code for amd64 on "Linux".
llvm-svn: 59257
2008-11-13 19:07:07 +00:00
Bill Wendling a813017b41 Update docs for ssp and sspreq function attributes.
llvm-svn: 59203
2008-11-13 01:02:51 +00:00
Duncan Sands d85a1669b9 Correct these links.
llvm-svn: 59126
2008-11-12 10:10:25 +00:00
Chris Lattner 7db0a21b7b last validation errors
llvm-svn: 59072
2008-11-11 19:36:31 +00:00
Chris Lattner 97a5bb1157 fix some validation errors <it> -> <i>
llvm-svn: 59070
2008-11-11 19:35:15 +00:00
Chris Lattner 5f04ce98f2 fix some validation errors.
llvm-svn: 59069
2008-11-11 19:34:28 +00:00
Chris Lattner 6ce09d73f0 remove an extraneous tag
llvm-svn: 59067
2008-11-11 19:31:26 +00:00
Chris Lattner d402cc7b6a Make this document *substantially* better and cover a lot more territory.
Document written by Mason Woo (http://www.woo.com)!

llvm-svn: 59066
2008-11-11 19:30:41 +00:00
Chris Lattner 2a09239563 final edits
llvm-svn: 58966
2008-11-10 05:40:34 +00:00
Mon P Wang 25f0106fd9 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 26c744492f fix validation problem.
llvm-svn: 58938
2008-11-09 17:19:14 +00:00
Eric Christopher 6e670388c0 Fix syntax of iterate_complex example. Noticed by Martin!
llvm-svn: 58900
2008-11-08 08:20:49 +00:00
Dan Gohman 67feab3b5a Document the acronym RAUW. Patch by Jonathan Brandmeyer!
llvm-svn: 58863
2008-11-07 20:29:17 +00:00
Devang Patel ef21de946b 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 e5f9d67a68 fix two validation errors
llvm-svn: 58722
2008-11-04 21:50:59 +00:00
Gabor Greif 6b7bb1f127 fix typos, harmonize formatting
llvm-svn: 58721
2008-11-04 21:48:10 +00:00
Tanya Lattner 81edfc172e Add note about cmake. Patch by Oscar Fuentes.
llvm-svn: 58712
2008-11-04 18:40:27 +00:00
Chris Lattner 7292fb191f mention fortran status.
llvm-svn: 58416
2008-10-30 03:58:13 +00:00
Torok Edwin 49c28e4599 fix typo
llvm-svn: 58384
2008-10-29 16:32:06 +00:00
Chris Lattner 8f243a5dde llvm-ld doesn't have a -march option. This fixes PR2961
llvm-svn: 58345
2008-10-28 20:05:06 +00:00
Torok Edwin df851ff94f 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 7b747ef017 fix duplicate anchor names, and broken anchor links from the TOC
llvm-svn: 58332
2008-10-28 16:54:34 +00:00
Gabor Greif bb026a0c63 formatting tweak for intrinsic
llvm-svn: 58239
2008-10-27 10:17:24 +00:00
Bill Wendling ef36246c6f Some grammar fixes, and non-invasive format changes.
llvm-svn: 58237
2008-10-27 09:27:33 +00:00
Chris Lattner bf2262270e mention getresult -> extractvalue (PR2935)
llvm-svn: 58226
2008-10-27 04:39:23 +00:00
Nick Lewycky f5ba827d41 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 24eb3de4c2 Added MIPS release notes.
llvm-svn: 58139
2008-10-25 14:56:26 +00:00
Matthijs Kooijman 3abb308878 Fix spelling error.
llvm-svn: 57820
2008-10-20 08:45:34 +00:00
Gabor Greif ca01496e59 remove spurious space in link
llvm-svn: 57677
2008-10-17 14:43:58 +00:00
Nicolas Geoffray 54efd496bc Remove naming Tilmann for generics.
llvm-svn: 57599
2008-10-15 20:25:04 +00:00
Gabor Greif e4544f7f91 catch one more typo, canonicalize LLVMdev
llvm-svn: 57571
2008-10-15 10:47:24 +00:00
Gabor Greif 3b33cb1667 fix some validation errors, improve formatting, squash a strange plural
llvm-svn: 57570
2008-10-15 10:29:51 +00:00
Daniel Dunbar 0f8155ae4e 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 c11b40f6e1 Add some ReleaseNotes on clang codegen.
llvm-svn: 57535
2008-10-14 23:25:09 +00:00
Devang Patel dbf83835fc Document attributes changes.
llvm-svn: 57518
2008-10-14 20:03:43 +00:00
Nicolas Geoffray e5ec932baf Add VMKit notes.
llvm-svn: 57517
2008-10-14 19:23:04 +00:00
Dan Gohman 0ccb5b4435 Mention a few methods in ConstantSDNode that were renamed.
llvm-svn: 57505
2008-10-14 17:06:44 +00:00
Dan Gohman 2ed2753007 HTML syntax fixes.
llvm-svn: 57503
2008-10-14 17:00:38 +00:00
Dan Gohman ef9462f67c Fix missing end tags and invalid HTML entity syntax.
llvm-svn: 57500
2008-10-14 16:51:45 +00:00
Dan Gohman 93bf60d4cb Add a missing close-tag.
llvm-svn: 57497
2008-10-14 16:32:04 +00:00
Dan Gohman ad888911c0 Fix a few close tags.
llvm-svn: 57496
2008-10-14 16:23:02 +00:00
Dan Gohman f4a169f201 Fix a typo.
llvm-svn: 57495
2008-10-14 16:13:59 +00:00
Dan Gohman 765edbc4e4 Add a brief mention of the new free-list management code.
llvm-svn: 57490
2008-10-14 15:14:55 +00:00
Gabor Greif 20564a05b9 minor corrections, improved formatting
llvm-svn: 57486
2008-10-14 11:31:14 +00:00
Gabor Greif 355f81cd16 typo and formatting tweaks
llvm-svn: 57485
2008-10-14 11:00:32 +00:00
Duncan Sands 6e9c3cbe30 Mention the different constant folders that IRBuilder
can use.

llvm-svn: 57483
2008-10-14 07:06:37 +00:00
Chris Lattner 6f21daaec1 add some upgrading notes from Pekka.
llvm-svn: 57480
2008-10-14 06:37:11 +00:00
Chris Lattner 0597229d3e add LSR and frameaddress info.
llvm-svn: 57478
2008-10-14 06:02:29 +00:00
Ted Kremenek 3db01846db Add static analyzer notes.
llvm-svn: 57475
2008-10-14 05:14:21 +00:00
Chris Lattner bcffa5af89 more minor updates
llvm-svn: 57472
2008-10-14 00:52:49 +00:00
Chris Lattner 934e2d4939 more changes.
llvm-svn: 57470
2008-10-13 22:06:31 +00:00
Chris Lattner 25879d7d82 optimizer and codegen
llvm-svn: 57468
2008-10-13 21:50:36 +00:00
Chris Lattner 0327f0bc91 more updates.
llvm-svn: 57466
2008-10-13 20:59:32 +00:00
Chris Lattner 591ef273e3 describe major new features and llvm-gcc features.
llvm-svn: 57463
2008-10-13 20:47:20 +00:00
Duncan Sands 8547c2d56f MarkModRef -> AddReadAttrs.
llvm-svn: 57459
2008-10-13 18:42:43 +00:00
Duncan Sands b34d5906b8 Add some llvm-gcc changes that may be worth
detailing.

llvm-svn: 57457
2008-10-13 18:33:28 +00:00
Chris Lattner 44c09cd164 give the static analyzer its own section.
llvm-svn: 57455
2008-10-13 18:11:54 +00:00
Chris Lattner f5cd98683e more rearranging.
llvm-svn: 57453
2008-10-13 18:01:01 +00:00
Chris Lattner 1e4d5bc071 move major changes down.
llvm-svn: 57452
2008-10-13 17:57:36 +00:00
Duncan Sands 719f778de5 Fix typo. Add note on trampoline support.
llvm-svn: 57450
2008-10-13 17:32:15 +00:00
Duncan Sands aef747fc53 Update the Ada part.
llvm-svn: 57447
2008-10-13 17:27:23 +00:00
Chris Lattner 3fc6e59083 final note.
llvm-svn: 57446
2008-10-13 17:12:51 +00:00
Chris Lattner 0ae020952b fix some crazily long lines.
llvm-svn: 57444
2008-10-13 16:55:18 +00:00
Matthijs Kooijman 0e2682781c 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 d3ec89e733 Add whitespace before a parenthesis.
llvm-svn: 57430
2008-10-13 02:46:01 +00:00
Mikhail Glushenkov 024f7cf859 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 e3df07e417 more notes
llvm-svn: 57427
2008-10-12 22:57:58 +00:00
Chris Lattner c4d68546e3 add some more notes
llvm-svn: 57423
2008-10-12 19:47:48 +00:00
Chris Lattner 6396952f37 add some notes
llvm-svn: 57416
2008-10-12 18:30:33 +00:00
Daniel Dunbar a4a0813fb4 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 2a5754521d 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 28f08aa041 Note EH stuff for x86-64/linux
llvm-svn: 57378
2008-10-11 18:27:16 +00:00
Anton Korobeynikov e57220a5d1 We do support PIC on x86-64/linux
llvm-svn: 57377
2008-10-11 18:27:00 +00:00
Chris Lattner d8b33e0af6 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 6cbe8e99b3 fix typo
llvm-svn: 57287
2008-10-08 06:26:11 +00:00
Devang Patel 022562369f Improve function definition, call and invoke instruction docs.
llvm-svn: 57253
2008-10-07 17:48:33 +00:00
Matthijs Kooijman eefa7dfcd3 Add two forgotten </i>'s.
llvm-svn: 57239
2008-10-07 10:03:45 +00:00
Devang Patel 7e9b05ede5 Update function attributes docs.
llvm-svn: 57197
2008-10-06 18:50:38 +00:00
Duncan Sands 2a1d8bace1 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 0625c28135 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 cc3132e5ed 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 d552826d6e add a note about inline asm
llvm-svn: 57062
2008-10-04 18:36:02 +00:00
Chris Lattner d2597d71d4 improve description of param/ret attrs
llvm-svn: 57061
2008-10-04 18:33:34 +00:00
Chris Lattner fbf60a4f72 improve descriptions of function attrs
llvm-svn: 57060
2008-10-04 18:23:17 +00:00
Chris Lattner cbc4d2a164 notes are gone.
llvm-svn: 57059
2008-10-04 18:10:21 +00:00
Daniel Dunbar b9e03a65cd Change PointerType::get -> getUnqual
llvm-svn: 57032
2008-10-03 22:17:25 +00:00
Dan Gohman d9ef073176 Fix a typo.
llvm-svn: 56986
2008-10-03 00:07:11 +00:00
Duncan Sands dc69391810 Stacker is dead.
llvm-svn: 56844
2008-09-30 15:18:29 +00:00
Devang Patel e97439091f Fix grammar.
llvm-svn: 56796
2008-09-29 18:34:44 +00:00
Devang Patel 6891a55e73 Fix sentence.
llvm-svn: 56794
2008-09-29 18:16:09 +00:00
Matthijs Kooijman eed995b796 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 9eb525d4f9 Implement function notes as function attributes.
llvm-svn: 56716
2008-09-26 23:51:19 +00:00
Daniel Dunbar 94cefefcbb Update LICENSE link.
llvm-svn: 56689
2008-09-26 21:12:29 +00:00
Dale Johannesen c50ada2f56 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 9c40c28926 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 1fd58f738b Upgrade doxygen.
llvm-svn: 56308
2008-09-18 16:32:28 +00:00
Nick Lewycky 57368a561f 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 7e99a94c18 The "alias" keyword comes first.
llvm-svn: 56170
2008-09-12 20:48:21 +00:00
Dan Gohman dd51d52c0f Add more documentation advertising the -view-*-dags options.
llvm-svn: 56073
2008-09-10 22:23:41 +00:00
Dan Gohman fb9dbe0f5b Fix a minor wording ambiguity in the Developer Policy.
llvm-svn: 56022
2008-09-09 22:13:09 +00:00
Dan Gohman c579d978a3 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 c05dca95a2 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 5703c6e8dd Clean up CSS validator errors: 'Property align doesn't exist : center'
llvm-svn: 55885
2008-09-07 10:29:20 +00:00
Bill Wendling b175fa49ed Formatting changes. to make the information cleaner.
llvm-svn: 55884
2008-09-07 10:26:33 +00:00
Devang Patel 8af98cdf73 update.
llvm-svn: 55809
2008-09-04 23:10:26 +00:00
Devang Patel caacdbab3d Document function notes.
llvm-svn: 55808
2008-09-04 23:05:13 +00:00
Gordon Henriksen 75609c7e1c Update GC docs for clarified naming and AsmWriter refactoring.
llvm-svn: 55275
2008-08-24 03:18:23 +00:00
Chris Lattner 7f55d8ff44 remove reference to really really old tree
llvm-svn: 55001
2008-08-19 20:17:48 +00:00
Chris Lattner 7b7b67872f the stacker doc is way out of date.
llvm-svn: 54631
2008-08-11 06:13:31 +00:00
Gabor Greif 0f75ad0a52 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 8709ed3371 stacker is really gone.
llvm-svn: 54400
2008-08-06 05:57:58 +00:00
Chris Lattner 6b12e46f35 remove stacker
llvm-svn: 54398
2008-08-06 05:56:52 +00:00
Bill Wendling 6e03f9a40b It's "a static", not "an static"
llvm-svn: 54379
2008-08-05 22:29:16 +00:00
Chris Lattner 67c37d1127 Expand acronyms, suggested by Walter Pawley
llvm-svn: 54362
2008-08-05 18:29:16 +00:00
Chris Lattner 1ca5c64440 Capitalize LLVM, suggested by Walt Pawley
llvm-svn: 54360
2008-08-05 18:21:08 +00:00
Matthijs Kooijman ca4ffaabcd Not that using stream headers other than iostream is allowed.
llvm-svn: 54209
2008-07-30 12:14:10 +00:00
Mon P Wang 2c839d4b1e 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 fecbc8cff1 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 2ce6f2ad5e Rename SDOperand to SDValue.
llvm-svn: 54128
2008-07-27 21:46:04 +00:00
Bill Wendling 94d371b33c Use &mdash; because.
llvm-svn: 53901
2008-07-22 06:46:17 +00:00
Bill Wendling fc8ed10fb0 Remove references to llvm-gcc-4.0
llvm-svn: 53900
2008-07-22 01:37:48 +00:00
Bill Wendling cb13d70595 Fix grammar.
llvm-svn: 53898
2008-07-22 01:10:25 +00:00
Chris Lattner 8afd2f3016 add a description.
llvm-svn: 53529
2008-07-13 21:27:36 +00:00
Chris Lattner a660f4bb07 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 825bde45cc Note that 'nest' only applies to pointers.
llvm-svn: 53226
2008-07-08 09:27:25 +00:00
Chris Lattner fc12d2e5f3 clarify :)
llvm-svn: 53218
2008-07-08 05:12:37 +00:00
Matthijs Kooijman a5d95540f5 Update link to testing guide to use the new title.
llvm-svn: 53018
2008-07-02 13:54:58 +00:00
Gordon Henriksen 3b2e269475 Add a note for Thunderbird users to the Developer Policy.
llvm-svn: 52797
2008-06-26 22:58:37 +00:00
Chris Lattner 651e66d14c remove a bunch of dead options that never did anything.
llvm-svn: 52727
2008-06-25 16:44:52 +00:00
Mon P Wang 6a490371c9 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 845eb8ea44 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 8fd284185c 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 88ce1a5b6b Fix the syntax of insertvalue in the example.
llvm-svn: 52623
2008-06-23 15:26:37 +00:00
Chris Lattner e4645615d3 integer types are not primitive, they are derived.
llvm-svn: 52551
2008-06-20 20:50:48 +00:00
Chris Lattner 643b00a3e6 Fix typo, fix suggested by Nicholas Olsen
llvm-svn: 52524
2008-06-20 05:03:17 +00:00
Dan Gohman 08783a88a2 Fix a missing comma spotted by Bram Geron.
llvm-svn: 52467
2008-06-18 18:42:13 +00:00
Gabor Greif 687f35f466 fix validator warning
llvm-svn: 52461
2008-06-18 14:05:31 +00:00
Gabor Greif 095502edfe prettify, no semantic changes
llvm-svn: 52460
2008-06-18 13:44:57 +00:00
Gabor Greif 5c28a6c31e 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 01cd2d9263 Fix an error in the two-address example.
llvm-svn: 52253
2008-06-13 17:55:57 +00:00
Dale Johannesen b50a845d4e Improve description of -emit-llvm.
llvm-svn: 52238
2008-06-12 17:04:09 +00:00
Gabor Greif 8030749993 adjust calls to ConstantFP::get to new API
llvm-svn: 52165
2008-06-10 01:52:17 +00:00
Duncan Sands 7192a54772 Update the build instructions.
llvm-svn: 52153
2008-06-09 20:24:05 +00:00
Bill Wendling 54a6cbf12a Small formatting changes.
llvm-svn: 52136
2008-06-09 07:51:45 +00:00
Tanya Lattner d18ce727e1 Create dirs as needed.
llvm-svn: 52131
2008-06-09 07:14:31 +00:00
Gabor Greif 7f39fb522b removed two implicitly closed </p> tags to get it validate
llvm-svn: 52123
2008-06-09 06:06:18 +00:00
Tanya Lattner 610e89dfc5 Update with new release.
llvm-svn: 52121
2008-06-09 06:02:09 +00:00
Dan Gohman e30c937df3 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 286175d545 Use proper icon :)
llvm-svn: 52118
2008-06-09 04:21:50 +00:00
Anton Korobeynikov 3cd6223490 Fix few validations errors
llvm-svn: 52117
2008-06-09 04:20:10 +00:00
Anton Korobeynikov 2a67ecb664 Add footer
llvm-svn: 52116
2008-06-09 04:17:51 +00:00
Anton Korobeynikov 4167db94bf 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 5baa413833 linkify, this requires pulling CodeGenerator.html into 2.3.
llvm-svn: 52114
2008-06-09 04:00:08 +00:00
Chris Lattner c57ba6c14b grammaro
llvm-svn: 52111
2008-06-08 23:40:40 +00:00
Chris Lattner 54d1210f7a final edits from me, simplify the ia64 section.
llvm-svn: 52110
2008-06-08 23:12:47 +00:00
Chris Lattner ed716055f6 more edits
llvm-svn: 52109
2008-06-08 23:06:47 +00:00
Dan Gohman 721b3721be Add notes about two known X86-64 limitations.
llvm-svn: 52108
2008-06-08 23:05:11 +00:00
Chris Lattner b7bc2aa3ed several edits
llvm-svn: 52107
2008-06-08 22:59:35 +00:00
Dan Gohman aa4a946a0c Add some links to doxygen documentation.
llvm-svn: 52106
2008-06-08 22:57:59 +00:00
Dan Gohman 8709a80646 Describe MachineMemOperands.
llvm-svn: 52105
2008-06-08 22:49:27 +00:00
Dan Gohman e70672453a Fix a grammero.
llvm-svn: 52104
2008-06-08 22:44:43 +00:00
Gordon Henriksen f78a57bb09 Revert a bad edit from r52095.
llvm-svn: 52103
2008-06-08 22:05:11 +00:00
Chris Lattner c75fd52044 add vmkit and rewrite clang section
llvm-svn: 52102
2008-06-08 21:58:17 +00:00
Chris Lattner 625a3d8301 start edits.
llvm-svn: 52100
2008-06-08 21:34:41 +00:00
Chris Lattner b076b00fdf add more notes.
llvm-svn: 52099
2008-06-08 21:19:07 +00:00
Chris Lattner 94fd4474f4 add some html escapes
llvm-svn: 52096
2008-06-08 20:25:30 +00:00
Duncan Sands 5644846da3 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 0bc1526b6d Fix spelling.
llvm-svn: 52094
2008-06-08 19:38:43 +00:00
Anton Korobeynikov 486c7d3fa5 Add win64
llvm-svn: 52091
2008-06-08 10:24:13 +00:00
Anton Korobeynikov f7c5a6e805 This was fixed
llvm-svn: 52090
2008-06-08 10:23:46 +00:00
Chris Lattner 7795ea929a add some notes.
llvm-svn: 52087
2008-06-08 02:45:07 +00:00
Owen Anderson f7647e432c Include loop deletion and the ADCE rewrite in the release notes.
llvm-svn: 52048
2008-06-06 16:23:15 +00:00
Duncan Sands 13237ac3b9 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 33aac00892 Describe loop index split.
llvm-svn: 52021
2008-06-05 21:44:00 +00:00
Dan Gohman ae408aa83f Wording fixes. Thanks Bill!
llvm-svn: 52017
2008-06-05 18:45:33 +00:00
Gabor Greif 80ae8a7194 fix typos, tweak stuff, make it to validate
llvm-svn: 52015
2008-06-05 18:39:01 +00:00
Dan Gohman b0ec18bd81 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 4277e7e49a Add a note about improved alignment detection.
llvm-svn: 52009
2008-06-05 15:49:29 +00:00
Dan Gohman 23254a8f83 Add a note mentioning --view-sunit-dags improvements.
llvm-svn: 52008
2008-06-05 15:46:36 +00:00
Dan Gohman 46105567f7 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 03a4ad4db9 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 03d9625286 Adding release notes for bindings improvements.
llvm-svn: 51995
2008-06-05 12:48:32 +00:00
Chris Lattner 6cb64030e5 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 5afc2740b7 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 618a99f920 add llvmc2 notes, stack realignment.
llvm-svn: 51979
2008-06-05 06:57:39 +00:00
Chris Lattner a1a4c9a227 various status updates.
llvm-svn: 51978
2008-06-05 06:35:40 +00:00
Chris Lattner b711222b27 Start adding 2.3 content.
llvm-svn: 51977
2008-06-05 06:25:56 +00:00
Chris Lattner 09ebde227e Fix inst_iterator example.
llvm-svn: 51954
2008-06-04 18:20:42 +00:00
Matthijs Kooijman a6bb22e9bc Fix example to be valid LLVM assembly.
llvm-svn: 51942
2008-06-04 15:46:35 +00:00
Nick Lewycky fb75d42faa 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 1ecaf45cf1 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 e438c56174 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 4188aadbb2 Document common linkage.
llvm-svn: 51517
2008-05-23 23:13:41 +00:00
Dan Gohman da52d216e6 label is a first-class type.
llvm-svn: 51512
2008-05-23 22:50:26 +00:00
Dan Gohman 34d1c0d0f8 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 e7d45b1e49 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