David Greene
e3c4370a47
Add a !patsubst operator. Use on string types.
...
llvm-svn: 73099
2009-06-08 23:05:37 +00:00
David Greene
5c75138561
Update documentation.
...
llvm-svn: 73092
2009-06-08 22:38:07 +00:00
Daniel Dunbar
89fef139c1
Document the stack alignment part of target data description.
...
llvm-svn: 73089
2009-06-08 22:17:53 +00:00
David Greene
21ba6012b2
Add a !regmatch operator to do pattern matching in TableGen.
...
llvm-svn: 73074
2009-06-08 17:00:34 +00:00
Nick Lewycky
cf715254c7
Move </pre> to column one to avoid an extra line of spaces in the example.
...
llvm-svn: 73003
2009-06-06 18:14:04 +00:00
Dan Gohman
5f6f8101d5
Split the Add, Sub, and Mul instruction opcodes into separate
...
integer and floating-point opcodes, introducing
FAdd, FSub, and FMul.
For now, the AsmParser, BitcodeReader, and IRBuilder all preserve
backwards compatability, and the Core LLVM APIs preserve backwards
compatibility for IR producers. Most front-ends won't need to change
immediately.
This implements the first step of the plan outlined here:
http://nondot.org/sabre/LLVMNotes/IntegerOverflow.txt
llvm-svn: 72897
2009-06-04 22:49:04 +00:00
Torok Edwin
8c34bcb7ab
--plugin is not needed for bfd anymore. Update docs.
...
llvm-svn: 72867
2009-06-04 16:08:10 +00:00
Oscar Fuentes
cbaf5a8795
CMake: Renamed LLVM_ENABLE_ASSERTS to
...
LLVM_ENABLE_ASSERTIONS. Fine-tuned the logic that controls the
definition of NDEBUG and _DEBUG macros.
Thanks to Jay Foad for this suggestions.
llvm-svn: 72864
2009-06-04 09:26:16 +00:00
Torok Edwin
29762633ee
lets not forget about c++!
...
llvm-svn: 72778
2009-06-03 15:42:26 +00:00
Oscar Fuentes
86f4f18dca
CMake: Implements and documents option LLVM_ENABLE_ASSERTS.
...
llvm-svn: 72774
2009-06-03 15:11:25 +00:00
Torok Edwin
e056d0b8cd
Document how easy it is to use the gold plugin and have LTO with autotooled projects.
...
Please correct the documentation if I missed anything.
llvm-svn: 72773
2009-06-03 15:06:19 +00:00
Jay Foad
203127a106
Document how phi and invoke instructions interact with SSA form.
...
llvm-svn: 72762
2009-06-03 10:20:10 +00:00
Nick Lewycky
b7afbf8a63
Metadata uses metadata type not empty struct.
...
llvm-svn: 72623
2009-05-30 16:08:30 +00:00
Nick Lewycky
a9de2f1c81
Give embedded metadata its own type instead of relying on EmptyStructTy.
...
llvm-svn: 72610
2009-05-30 05:06:04 +00:00
Bruno Cardoso Lopes
6ec3c6fab6
Fix some typos
...
llvm-svn: 72579
2009-05-29 17:08:57 +00:00
Nick Lewycky
c8242fc08b
Remove border around table used for layout.
...
llvm-svn: 72357
2009-05-24 02:46:06 +00:00
Dan Gohman
00b088d848
Add a note mentioning that uses of the return value of an invoke
...
must be dominated by the normal label.
llvm-svn: 72285
2009-05-22 21:47:08 +00:00
Stuart Hastings
bf369bba4a
Add some missing steps to the sacred testing ritual scriptures.
...
llvm-svn: 72222
2009-05-21 20:23:59 +00:00
Cristian Cadar
9c425ac042
Test commit.
...
llvm-svn: 72092
2009-05-19 01:56:08 +00:00
Evan Cheng
96674b2285
Add short descriptions of 'implicit' and 'parallel'.
...
llvm-svn: 72050
2009-05-18 22:14:45 +00:00
Bill Wendling
97af952d7a
Formatting. Some updating of data structures. More work needs to be done to update the examples.
...
llvm-svn: 71974
2009-05-17 05:52:39 +00:00
David Greene
9a1e15d0d0
Implement !if, analogous to $(if) in GNU make.
...
llvm-svn: 71815
2009-05-14 23:26:46 +00:00
David Greene
70881bc6ae
Graduate LLVM to the big leagues by embedding a LISP processor into TableGen.
...
Ok, not really, but do support some common LISP functions:
* car
* cdr
* null
llvm-svn: 71805
2009-05-14 22:38:31 +00:00
David Greene
fab0ee79db
Implement a !foreach operator analogous to GNU make's $(foreach).
...
Use it on dags and lists like this:
class decls {
string name;
}
def Decls : decls;
class B<list<string> names> : A<!foreach(Decls.name, names, !strconcat(Decls.name, ", Sr."))>;
llvm-svn: 71803
2009-05-14 22:23:47 +00:00
David Greene
26054a566e
Implement a !subst operation simmilar to $(subst) in GNU make to do
...
def/var/string substitution on generic pattern templates. For example:
def Type;
def v4f32 : Type;
def TYPE : Type;
class GenType<Type t> {
let type = !(subst TYPE, v4f32, t);
}
def TheType : GenType<TYPE>;
llvm-svn: 71801
2009-05-14 21:54:42 +00:00
David Greene
e2871b8c65
Implement !cast.
...
llvm-svn: 71794
2009-05-14 21:22:49 +00:00
Jim Grosbach
f3e59935c3
clean up line-wrapping
...
llvm-svn: 71771
2009-05-14 15:44:15 +00:00
Jim Grosbach
bed3aeff20
Update the names of the exception handling sjlj instrinsics to
...
llvm.eh.sjlj.* for better clarity as to their purpose and scope. Add
a description of llvm.eh.sjlj.setjmp to ExceptionHandling.html.
(llvm.eh.sjlj.longjmp documentation coming when that implementation is
added).
llvm-svn: 71758
2009-05-14 00:46:35 +00:00
Bill Wendling
e421c8f63d
Change MachineInstrBuilder::addReg() to take a flag instead of a list of
...
booleans. This gives a better indication of what the "addReg()" is
doing. Remembering what all of those booleans mean isn't easy, especially if you
aren't spending all of your time in that code.
I took Jakob's suggestion and made it illegal to pass in "true" for the
flag. This should hopefully prevent any unintended misuse of this (by reverting
to the old way of using addReg()).
llvm-svn: 71722
2009-05-13 21:33:08 +00:00
Chris Lattner
e5e368472b
garbage allocation is not a good idea :)
...
llvm-svn: 71680
2009-05-13 18:02:09 +00:00
Bill Wendling
562178b9a4
Use llvm::raw_stream instead of llvm::Streams.
...
llvm-svn: 71573
2009-05-12 18:29:42 +00:00
Nick Lewycky
f417462ddf
Make MDNode use CallbackVH. Also change MDNode to store Value* instead of
...
Constant* in preperation of a future change to support holding non-Constants
in an MDNode.
llvm-svn: 71407
2009-05-10 20:57:05 +00:00
Chris Lattner
e8160d0836
fix typo
...
llvm-svn: 71362
2009-05-09 18:11:50 +00:00
Bill Wendling
3bb11df772
Fix typo.
...
llvm-svn: 71260
2009-05-08 20:49:29 +00:00
Duncan Sands
880eaf5278
Allow readonly functions to unwind exceptions. Teach
...
the optimizers about this. For example, a readonly
function with no uses cannot be removed unless it is
also marked nounwind.
llvm-svn: 71071
2009-05-06 06:49:50 +00:00
Mikhail Glushenkov
2a24374c7f
Regenerate documentation.
...
llvm-svn: 71055
2009-05-06 01:41:47 +00:00
Dan Gohman
ad61ec36ad
Add some more documentation for x86 special address spaces.
...
llvm-svn: 71012
2009-05-05 20:48:47 +00:00
Chris Lattner
5cc9a36d1c
Add basic support for code generation of
...
addrspace(257) -> FS relative on x86. Patch by Zoltan Varga!
llvm-svn: 70992
2009-05-05 18:52:19 +00:00
Anton Korobeynikov
fca7d58578
It turns out that this version of gcc is broken (cygwin is well-known in shipping
...
of broken/buggy/snapshot-based compilers)
llvm-svn: 70848
2009-05-04 10:24:46 +00:00
Chris Lattner
b38edd3714
Remove obsolete wording, the only exception a readnone function can throw
...
is the empty set. :) Thanks to Fritz for pointing this out.
llvm-svn: 70790
2009-05-03 19:06:00 +00:00
Chris Lattner
abf304f36e
be very explicit that readnone/readonly functions can't
...
throw exceptions.
llvm-svn: 70788
2009-05-03 18:49:37 +00:00
Misha Brukman
064820037b
HTML-escape '>' as '>' in sample C++ code.
...
llvm-svn: 70569
2009-05-01 20:40:51 +00:00
Jeffrey Yasskin
7263dc71e2
Add a mention of TypeBuilder to the programmer's manual, and clean up the class
...
comment a bit.
llvm-svn: 70515
2009-04-30 22:33:41 +00:00
Bill Wendling
7546bed590
Second attempt:
...
Massive check in. This changes the "-fast" flag to "-O#" in llc. If you want to
use the old behavior, the flag is -O0. This change allows for finer-grained
control over which optimizations are run at different -O levels.
Most of this work was pretty mechanical. The majority of the fixes came from
verifying that a "fast" variable wasn't used anymore. The JIT still uses a
"Fast" flag. I'll change the JIT with a follow-up patch.
llvm-svn: 70343
2009-04-29 00:15:41 +00:00
Duncan Sands
8ba0b4d4f2
Fix some confusion in the Ada f-e build instructions between
...
building without optimization and building with checking.
llvm-svn: 70205
2009-04-27 11:21:35 +00:00
Sanjiv Gupta
e903d414ee
Now that any size of integer indices are allowed for sequential types, remove the unneccessary gyan about promoting them.
...
llvm-svn: 70181
2009-04-27 03:21:00 +00:00
Chris Lattner
f84ee5d944
Add two new record types to the blockinfo block:
...
BLOCKNAME and SETRECORDNAME. This allows a bitcode
file to be self describing with pretty names for
records and blocks in addition to numbers. This
enhances llvm-bcanalyzer to use this to print prettily.
llvm-svn: 70165
2009-04-26 22:21:57 +00:00
Sanjiv Gupta
0877e1eabe
Any size of integral indices are allowed in gep for indexing into sequential types. Also adding a test case to check the indices type allowed into struct.
...
llvm-svn: 70134
2009-04-26 17:14:35 +00:00
Chris Lattner
d31285fdb7
improve documentation on build configurations, patch by
...
Josef Eisl!
llvm-svn: 70087
2009-04-25 22:24:49 +00:00
Chris Lattner
6d2e830ad8
aDd support for building a subset of the llvm tools, patch by Jeffrey Yasskin!
...
llvm-svn: 70082
2009-04-25 22:08:52 +00:00
Chris Lattner
c23e28732d
Update docs to not mention gcse/loadvn and mention memdep and
...
new stuff. PR3924.
llvm-svn: 70077
2009-04-25 21:11:37 +00:00
Sanjiv Gupta
9093a67350
Fixed the gep example for i16 type indices.
...
llvm-svn: 70019
2009-04-25 07:27:44 +00:00
Sanjiv Gupta
14c405828e
Fixed spaces and the getelementpointer example with i16 type indices.
...
llvm-svn: 69971
2009-04-24 16:38:13 +00:00
Sanjiv Gupta
f1177e1be7
Allow i16 type indices to gep.
...
llvm-svn: 69946
2009-04-24 02:37:54 +00:00
David Greene
ddac45edb9
Fix a documentation bug.
...
llvm-svn: 69923
2009-04-23 21:27:58 +00:00
David Greene
a92a50c7c2
Make BinOps typed and require a type specifier for !nameconcat. This
...
allows binops to be used in typed contexts such as when passing
arguments to classes.
llvm-svn: 69921
2009-04-23 21:25:15 +00:00
David Greene
e41e6599cf
Allow defm to inherit from multiple multiclasses.
...
llvm-svn: 69832
2009-04-22 22:17:51 +00:00
David Greene
0698602922
Implement !nameconcat to concatenate strings and look up the resulting
...
name in the symbol table, returning an object.
llvm-svn: 69822
2009-04-22 20:18:10 +00:00
David Greene
9d99a33f27
Implement multiclass inheritance.
...
llvm-svn: 69810
2009-04-22 16:42:54 +00:00
Dan Gohman
640b379ae6
ISD::ADD_PARTS is gone; use ISD::SMUL_LOHI as an example instead.
...
llvm-svn: 69804
2009-04-22 15:55:31 +00:00
Duncan Sands
ece3370566
Make it clearer that llvm-gcc is not needed for
...
building llvm.
llvm-svn: 69441
2009-04-18 12:40:19 +00:00
Jim Grosbach
0603bca31b
Update information on canadian cross builds
...
llvm-svn: 69358
2009-04-17 17:25:16 +00:00
Bill Wendling
1b271d471e
More obsessive reformatting. Fixed some validation errors.
...
llvm-svn: 69130
2009-04-15 02:12:37 +00:00
Chris Lattner
c1bfdc9bb2
Add a new "available_externally" linkage type. This is intended
...
to support C99 inline, GNU extern inline, etc. Related bugzilla's
include PR3517, PR3100, & PR2933. Nothing uses this yet, but it
appears to work.
llvm-svn: 68940
2009-04-13 05:44:34 +00:00
Nick Lewycky
92b1375909
Add paragraph tags.
...
llvm-svn: 68934
2009-04-13 02:03:40 +00:00
Nick Lewycky
2874a8dd3d
Fix compile error. Pointed out by mait on #llvm IRC!
...
llvm-svn: 68910
2009-04-12 20:15:44 +00:00
Misha Brukman
6cee2e6033
Fixed spelling.
...
llvm-svn: 68821
2009-04-10 20:48:27 +00:00
Chris Lattner
0b8f2eafad
fix typo, patch by Shlomi Fish!
...
llvm-svn: 68784
2009-04-10 15:38:51 +00:00
Chris Lattner
fc47fb0629
Remove AllowInverse: it leaks memory and is not the right
...
abstraction for CommandLine.
llvm-svn: 68588
2009-04-08 03:43:51 +00:00
Bill Wendling
f833088369
Use 'name' instead of 'href'.
...
llvm-svn: 68534
2009-04-07 18:54:06 +00:00
Bill Wendling
3da6e4a800
Fix verification failure.
...
llvm-svn: 68531
2009-04-07 18:52:30 +00:00
Bill Wendling
d8ad7f85a3
Offer an explanation of why building LLVM-GCC with objdir == srcdir doesn't
...
work.
llvm-svn: 68530
2009-04-07 18:51:13 +00:00
Bill Wendling
fad0a6efa8
Another reformatting. No change in docs.
...
llvm-svn: 68528
2009-04-07 18:40:56 +00:00
Chris Lattner
ac7e143979
add a new Blob encoding abbreviation for bitcode files that emits
...
elements in a form that is efficient for the reader to just get a
pointer in memory and start reading. APIs to do efficient reading
and writing are still todo.
llvm-svn: 68465
2009-04-06 21:50:39 +00:00
Chris Lattner
367120583b
clean up some html
...
llvm-svn: 68456
2009-04-06 20:35:19 +00:00
Bill Wendling
ca348b1f8e
Add character encoding declaration to fix verification warning.
...
llvm-svn: 68440
2009-04-05 12:38:44 +00:00
Bill Wendling
c9e0b30d02
Obsessively format this document.
...
llvm-svn: 68439
2009-04-05 12:37:44 +00:00
Bill Wendling
ce489ee879
Add character encoding declaration.
...
llvm-svn: 68433
2009-04-05 00:44:06 +00:00
Bill Wendling
1b27430c80
Fix validation error.
...
llvm-svn: 68432
2009-04-05 00:43:04 +00:00
Bill Wendling
de19a199b5
A lot of formatting changes.
...
llvm-svn: 68431
2009-04-05 00:41:19 +00:00
Bill Wendling
6ccfb904ac
Fix some HTML validation errors.
...
llvm-svn: 68427
2009-04-04 22:36:02 +00:00
Bill Wendling
c4f6e63a82
General clean-up of the bitcode format documentation. Having the paragraphs
...
formatted the same, putting words in <tt> tags, adding —s, etc.
llvm-svn: 68426
2009-04-04 22:27:03 +00:00
Nick Lewycky
eea5412e19
Add support for embedded metadata to LLVM. This introduces two new types of
...
Constant, MDString and MDNode which can only be used by globals with a name
that starts with "llvm." or as arguments to a function with the same naming
restriction.
llvm-svn: 68420
2009-04-04 07:22:01 +00:00
Bill Wendling
02eab17c83
Duplicate entry.
...
llvm-svn: 68401
2009-04-03 20:32:13 +00:00
Chris Lattner
6a9249765e
"Add documentation about the fix for missing x86
...
target library in windows under the "Common problems" section."
Patch by Stefanus Du Toit!
llvm-svn: 68399
2009-04-03 20:23:52 +00:00
Chris Lattner
c8f5edab31
update some syntax
...
llvm-svn: 68362
2009-04-03 00:29:19 +00:00
Chris Lattner
2475b3316b
add this to SVN to allow collaborative hacking.
...
llvm-svn: 68243
2009-04-01 21:11:04 +00:00
John Mosby
9b1b8d54fe
docs/TestingGuide.html: correction to prev. text (objdir!=srcdir required for running test-suite), removed refs to llvm-test
...
llvm-svn: 68051
2009-03-30 18:56:53 +00:00
Chris Lattner
1901988355
fix some validation problems.
...
llvm-svn: 68026
2009-03-30 06:34:59 +00:00
John Mosby
8d4d6376bb
Clarify section on setting up and running test-suite
...
llvm-svn: 68023
2009-03-30 04:37:51 +00:00
Bill Wendling
475a59038c
Update the Visual Studio docs. Patch by Stefanus!
...
llvm-svn: 67940
2009-03-28 10:24:15 +00:00
Mikhail Glushenkov
d1d0033738
Documentation update.
...
Expand a bit on various '--*-graph' options.
llvm-svn: 67836
2009-03-27 12:58:29 +00:00
Duncan Sands
dd613ae0dd
Mention explicitly that the Ada front-end will not bootstrap.
...
The configure line had --disable-bootstrap, but it was not
clear that this is essential.
llvm-svn: 67651
2009-03-24 21:16:39 +00:00
Chris Lattner
5e7dd59063
tt'ify.
...
llvm-svn: 67505
2009-03-23 04:53:34 +00:00
Chris Lattner
750312aa5e
VC++ 6.0 is not future work :)
...
Do not recommend llvm::OStream anymore. Use raw_ostream or MemoryBuffer.
llvm-svn: 67504
2009-03-23 04:52:53 +00:00
Duncan Sands
dca010d0d7
Add some explanations of how apint loads and stores
...
work.
llvm-svn: 67471
2009-03-22 11:33:16 +00:00
Duncan Sands
6acf707101
Update these for the 2.5 release.
...
llvm-svn: 66890
2009-03-13 13:42:20 +00:00
Gabor Greif
0cf8da6c06
add some text to explain sentinels
...
llvm-svn: 66790
2009-03-12 10:30:31 +00:00
Gabor Greif
51ea08b090
minor tweaks
...
llvm-svn: 66788
2009-03-12 09:47:03 +00:00
Gabor Greif
2c4672b310
do not pretend llvm/.../*.h being system headers
...
llvm-svn: 66697
2009-03-11 20:23:40 +00:00
Duncan Sands
b27c523449
It makes no sense to have a ODR version of common
...
linkage, so remove it.
llvm-svn: 66690
2009-03-11 20:14:15 +00:00
Gabor Greif
b31a9d0dc0
fix validator errors
...
llvm-svn: 66688
2009-03-11 20:04:08 +00:00
Gabor Greif
5805f37f74
Fix exaples using IRBuilder. Thanks, Quadrescence and Glip7 from IRC!
...
llvm-svn: 66687
2009-03-11 19:51:07 +00:00
Duncan Sands
aadb34c357
Remove the one-definition-rule version of extern_weak
...
linkage: this linkage type only applies to declarations,
but ODR is only relevant to globals with definitions.
llvm-svn: 66650
2009-03-11 08:08:06 +00:00
Chris Lattner
952dfa96b7
Clarify wording, patch by Stefanus Du Toit!
...
llvm-svn: 66458
2009-03-09 20:55:18 +00:00
Chris Lattner
620cb99e33
don't allow hash_map or hash_set.
...
llvm-svn: 66400
2009-03-09 05:20:45 +00:00
Duncan Sands
5ab54d488f
Introduce new linkage types linkonce_odr, weak_odr, common_odr
...
and extern_weak_odr. These are the same as the non-odr versions,
except that they indicate that the global will only be overridden
by an *equivalent* global. In C, a function with weak linkage can
be overridden by a function which behaves completely differently.
This means that IP passes have to skip weak functions, since any
deductions made from the function definition might be wrong, since
the definition could be replaced by something completely different
at link time. This is not allowed in C++, thanks to the ODR
(One-Definition-Rule): if a function is replaced by another at
link-time, then the new function must be the same as the original
function. If a language knows that a function or other global can
only be overridden by an equivalent global, it can give it the
weak_odr linkage type, and the optimizers will understand that it
is alright to make deductions based on the function body. The
code generators on the other hand map weak and weak_odr linkage
to the same thing.
llvm-svn: 66339
2009-03-07 15:45:40 +00:00
Gordon Henriksen
1f96377a36
Committing unsaved changes that should've been with r66237.
...
llvm-svn: 66242
2009-03-06 02:42:47 +00:00
Gordon Henriksen
87ceb6e41b
Incorporate feedback to improve GarbageCollection.html.
...
llvm-svn: 66237
2009-03-06 01:57:32 +00:00
Nick Lewycky
b1866d3036
This bug's been fixed but a version with the fix hasn't been released yet.
...
llvm-svn: 65931
2009-03-03 05:41:16 +00:00
Bill Wendling
1063de1ee0
Document the -gcc-tool-args bugpoint option.
...
llvm-svn: 65897
2009-03-02 23:15:59 +00:00
Daniel Dunbar
c313ae7d7f
Add some more clang related release notes.
...
llvm-svn: 65868
2009-03-02 20:08:12 +00:00
Tanya Lattner
8b29c82a82
Remove incorrect information about fortran on Darwin.
...
llvm-svn: 65859
2009-03-02 19:38:59 +00:00
Gabor Greif
5edffea922
fix broken GCC bugzilla link
...
llvm-svn: 65858
2009-03-02 19:11:53 +00:00
Gabor Greif
744ea6837b
add a Q/A on broken GCCs
...
llvm-svn: 65857
2009-03-02 19:08:05 +00:00
Chris Lattner
a436e649a4
update blurb per Shannon Weyrick.
...
llvm-svn: 65856
2009-03-02 19:07:24 +00:00
Duncan Sands
18cb21f2cb
Try to make the meaning of 'nocapture' a bit clearer. I
...
commented out the line about simplifylibcalls because I
think this doesn't work in the release (it was fixed in
svn after the release branched).
llvm-svn: 65846
2009-03-02 16:58:00 +00:00
Duncan Sands
8b2f5e96ea
Use GCC not gcc, like everywhere else in this document.
...
llvm-svn: 65845
2009-03-02 16:35:57 +00:00
John Criswell
88855f238d
Grammar and punctuation fixes.
...
No content changes.
llvm-svn: 65844
2009-03-02 15:28:15 +00:00
Gabor Greif
0ee8d1d896
note the removal of deprecated interfaces
...
llvm-svn: 65841
2009-03-02 12:23:55 +00:00
Gabor Greif
a7245a7764
minor tweaks
...
llvm-svn: 65838
2009-03-02 12:02:51 +00:00
Gabor Greif
744adc4f8c
minor tweaks
...
llvm-svn: 65837
2009-03-02 11:34:51 +00:00
Nicolas Geoffray
d12730ac42
Add more notes for VMKit.
...
llvm-svn: 65833
2009-03-02 09:25:38 +00:00
Bill Wendling
b46b800ce0
Random formatting changes.
...
llvm-svn: 65815
2009-03-02 07:54:14 +00:00
Bill Wendling
b707c17bf4
Fix typos.
...
llvm-svn: 65813
2009-03-02 07:42:15 +00:00
Bill Wendling
18ab6088d8
Change </pp> to </p>.
...
llvm-svn: 65804
2009-03-02 04:28:57 +00:00
Bill Wendling
187e889dab
- Use "real-world applications" instead of just "real applications".
...
- Verification Fixes.
llvm-svn: 65803
2009-03-02 04:28:18 +00:00
Gordon Henriksen
34de4eed33
Make some improvements to the GC docs.
...
Also, drop reference to the half-baked runtime interface.
llvm-svn: 65802
2009-03-02 03:47:20 +00:00
Chris Lattner
e2117f1ecb
remove empty section
...
llvm-svn: 65800
2009-03-02 03:24:41 +00:00
Chris Lattner
1b279d2378
more englishification
...
llvm-svn: 65799
2009-03-02 03:24:11 +00:00
Chris Lattner
0f9e9e7719
start translating this into Engrish and organizing it.
...
llvm-svn: 65797
2009-03-02 02:37:32 +00:00
Chris Lattner
cccb2fb989
move gold plugin next to LTO doc in the subsystem section
...
llvm-svn: 65790
2009-03-01 23:42:51 +00:00
Nick Lewycky
b999b7b64e
Add a quickstart example.
...
llvm-svn: 65789
2009-03-01 21:55:10 +00:00
Nick Lewycky
1b26d345cc
Close list item tag, to conform with the style in this file. It's optional
...
anyways.
llvm-svn: 65787
2009-03-01 21:07:44 +00:00
Nick Lewycky
5c799fd8dd
Add the gold plugin page to the documentation index!
...
llvm-svn: 65786
2009-03-01 21:06:42 +00:00
Nick Lewycky
57d7512427
Cleanup the description of flags to llvm-gcc. Also remove stray text in the
...
attribution.
llvm-svn: 65785
2009-03-01 20:58:07 +00:00
Nick Lewycky
4c751eeddf
Don't forget the important part. llvm-gcc -use-gold-plugin passes the right
...
options to gold.
llvm-svn: 65783
2009-03-01 18:48:53 +00:00
Mikhail Glushenkov
6336c61b2c
Sprinkle llvmc notes with <tt>.
...
Also removes some trailing whitespace.
llvm-svn: 65781
2009-03-01 18:09:47 +00:00
Duncan Sands
2efa31c91e
Tweak this a bit.
...
llvm-svn: 65772
2009-03-01 15:19:03 +00:00
Nick Lewycky
329a7285b4
Fix grammar.
...
llvm-svn: 65769
2009-03-01 09:51:07 +00:00
Nick Lewycky
f4cf146789
First pass at a document describing how to achieve LTO on Linux with gold.
...
llvm-svn: 65766
2009-03-01 09:38:29 +00:00
Duncan Sands
ac0ff99803
Another point to mention.
...
llvm-svn: 65765
2009-03-01 08:26:19 +00:00
Chris Lattner
543d2057f9
add some llvmc notes from Mikhail
...
llvm-svn: 65756
2009-03-01 02:30:21 +00:00
Bill Wendling
012bf508b5
Fix grammaro.
...
llvm-svn: 65727
2009-02-28 22:12:54 +00:00
Chris Lattner
7138f9c917
add a stub for Roadsend PHP
...
llvm-svn: 65705
2009-02-28 18:58:01 +00:00
Chris Lattner
0472bd03d4
don't use the word 'aggregate' with constants, it is confusing.
...
llvm-svn: 65702
2009-02-28 18:32:25 +00:00
Chris Lattner
61fca97b76
don't redescribe bitcast constraints in two places. It is not valid to
...
bitcast from one aggregate to another.
llvm-svn: 65700
2009-02-28 18:27:03 +00:00
Nick Lewycky
3134ef23bb
Update this text for first-class aggregates.
...
llvm-svn: 65697
2009-02-28 17:30:06 +00:00
Bill Wendling
a054357656
Fix typo. Found by William Moss.
...
llvm-svn: 65693
2009-02-28 12:26:34 +00:00
Gabor Greif
97657f3984
document ilist_traits
...
llvm-svn: 65631
2009-02-27 13:28:07 +00:00
Gabor Greif
55ffced15e
Expand a bit on iplist. If you are more expert on this class, please review!
...
llvm-svn: 65630
2009-02-27 12:02:19 +00:00
Gabor Greif
f727fa8225
update ilist documentation and add some blurb on ilist_node
...
llvm-svn: 65629
2009-02-27 11:37:41 +00:00
Gabor Greif
a60fa9b553
update year
...
llvm-svn: 65628
2009-02-27 11:28:46 +00:00
Ted Kremenek
c72e0a278d
Update release notes for static analyzer.
...
llvm-svn: 65624
2009-02-27 07:01:32 +00:00
Chris Lattner
971ec3c55c
drop some un-edited text for pure and ldc in here.
...
llvm-svn: 65579
2009-02-26 22:33:38 +00:00
Nick Lewycky
bc0bb948cc
Remove libtool.
...
llvm-svn: 65517
2009-02-26 07:44:16 +00:00
Chris Lattner
4a4e2ea4e5
pic16 notes from Sanjiv. Just dumped in for now, will rearrange later.
...
llvm-svn: 65512
2009-02-26 07:32:11 +00:00
Chris Lattner
340f4a5fcb
final random and incoherent notes after making it through all the commits.
...
Next step: making them more coherent.
llvm-svn: 65511
2009-02-26 07:29:17 +00:00
Chris Lattner
8ef915d2ec
more notes.
...
llvm-svn: 65507
2009-02-26 06:47:09 +00:00
Chris Lattner
5e69c7d5b6
add some notes from Nicolas G.
...
llvm-svn: 65503
2009-02-26 05:20:36 +00:00
Duncan Sands
3e50fc3451
Flesh out the Ada section a little.
...
llvm-svn: 65448
2009-02-25 11:59:06 +00:00
Duncan Sands
21bdbc2fe1
The C backend does not support arbitrary precision integers.
...
llvm-svn: 65447
2009-02-25 11:51:54 +00:00
Duncan Sands
161bf4fbbb
Note on new type legalizer.
...
llvm-svn: 65446
2009-02-25 11:50:08 +00:00
Duncan Sands
a86cde89c6
Add note on support for arbitrary precision integers.
...
llvm-svn: 65445
2009-02-25 11:37:39 +00:00
Chris Lattner
4bda3547ba
more notes.
...
llvm-svn: 65439
2009-02-25 07:32:53 +00:00
Chris Lattner
800261b58f
random notes
...
llvm-svn: 65436
2009-02-25 06:34:50 +00:00
Nick Lewycky
97156ee783
Recommend against using Gold to build LLVM.
...
llvm-svn: 65435
2009-02-25 06:29:47 +00:00
Chris Lattner
78e2933103
don't know if there is a vmkit release to match 2.5
...
llvm-svn: 65434
2009-02-25 05:45:05 +00:00
Chris Lattner
50a191ab82
update clang section
...
llvm-svn: 65430
2009-02-25 05:09:54 +00:00
Chris Lattner
934fa00e1d
rip out llvm 2.4 details to make room for 2.5
...
llvm-svn: 65429
2009-02-25 04:41:31 +00:00
Dan Gohman
0e73582689
Eliminate several more unnecessary intptr_t casts.
...
llvm-svn: 64888
2009-02-18 05:09:16 +00:00
Nick Lewycky
494b48e76b
Demonstrate the act of including multiple space-separated parameter attributes,
...
by request on IRC.
llvm-svn: 64619
2009-02-15 23:06:14 +00:00
Dale Johannesen
9a80b9d451
Edit description of floating point constants to
...
reflect reality. Acknowledgements to John Clements
for prodding me into this.
llvm-svn: 64332
2009-02-11 22:14:51 +00:00
Dan Gohman
abede9d54b
Answer a common FAQ:
...
"Can I compile C or C++ code to platform-independent LLVM bitcode?"
llvm-svn: 64222
2009-02-10 17:26:53 +00:00
Chris Lattner
62e48b2e3b
fix typo, patch by Jonathan Brandmeyer!
...
llvm-svn: 64132
2009-02-09 10:00:56 +00:00
Chris Lattner
80aa3c9e96
mention rdynamic, PR3431, patch by Stein Roger Skafløtten!
...
llvm-svn: 64106
2009-02-09 00:04:40 +00:00
Bill Wendling
19c640efd1
Document llvm.umul.with.overflow indicating that it's badly broken and not intended for use.
...
llvm-svn: 64104
2009-02-08 23:00:09 +00:00
Chris Lattner
c3f02abe2b
I can't type today apparently.
...
llvm-svn: 64097
2009-02-08 22:21:28 +00:00
Chris Lattner
4a31df9488
fix typo
...
llvm-svn: 64090
2009-02-08 19:59:51 +00:00
Chris Lattner
4a51a59a4b
document pointer type constraints, PR3513
...
llvm-svn: 64088
2009-02-08 19:53:29 +00:00
Bill Wendling
b2e94f5ae0
Fixes from feedback.
...
llvm-svn: 64070
2009-02-08 04:04:40 +00:00
Bill Wendling
511a92524b
Document the 'llvm.OP.with.overflow' intrinsics.
...
llvm-svn: 64066
2009-02-08 01:40:31 +00:00
Chris Lattner
9a13b357c6
PR3485, document alignment on byref.
...
llvm-svn: 63836
2009-02-05 05:42:28 +00:00
Mike Stump
4c8ca99bb1
Improve -fno-opt style option processing to not require an extra
...
option to make the -fno- form on the option. We also document the new
form in the CommandLine documentation.
llvm-svn: 63559
2009-02-02 22:48:49 +00:00
Chris Lattner
408b359e6e
validation error fix.
...
llvm-svn: 63503
2009-02-02 07:33:15 +00:00
Chris Lattner
27bf492e30
Document type upreferences (PR3380), patch by Stein Roger Skafløtten
...
with enhancements and corrections by me.
llvm-svn: 63502
2009-02-02 07:32:36 +00:00
Devang Patel
58511a356b
Each input file is encoded as a separate compile unit in LLVM debugging
...
information output. However, many target specific tool chains prefer to encode
only one compile unit in an object file. In this situation, the LLVM code
generator will include debugging information entities in the compile unit
that is marked as main compile unit. The code generator accepts maximum one main
compile unit per module. If a module does not contain any main compile unit
then the code generator will emit multiple compile units in the output object
file.
[Part 1]
Update DebugInfo APIs to accept optional boolean value while creating DICompileUnit to mark the unit as "main" unit. By defaults all units are considered non-main. Update SourceLevelDebugging.html to document "main" compile unit.
Update DebugInfo APIs to not accept and encode separate source file/directory entries while creating various llvm.dbg.* entities. There was a recent, yet to be documented, change to include this additional information so no documentation changes are required here.
Update DwarfDebug to handle "main" compile unit. If "main" compile unit is seen then all DIEs are inserted into "main" compile unit. All other compile units are used to find source location for llvm.dbg.* values. If there is not any "main" compile unit then create unique compile unit DIEs for each llvm.dbg.compile_unit.
[Part 2]
Create separate llvm.dbg.compile_unit for each input file. Mark compile unit create for main_input_filename as "main" compile unit. Use appropriate compile unit, based on source location information collected from the tree node, while creating llvm.dbg.* values using DebugInfo APIs.
---
This is Part 1.
llvm-svn: 63400
2009-01-30 18:20:31 +00:00
Dan Gohman
d1106c6f41
SDOperand has been renamed to SDValue. SDNode::Val is now
...
accessed via SDNode::getNode.
llvm-svn: 63240
2009-01-28 21:36:46 +00:00
Duncan Sands
aee16d4916
Rename getAnalysisToUpdate to getAnalysisIfAvailable.
...
llvm-svn: 63198
2009-01-28 13:14:17 +00:00
Mikhail Glushenkov
7f4b6231f1
Update the generated docs.
...
llvm-svn: 63173
2009-01-28 03:47:38 +00:00
Nate Begeman
aa3510c26a
Add some documentation for address-space-based access to the segment registers.
...
llvm-svn: 62986
2009-01-26 02:54:45 +00:00
Dan Gohman
6a676f8aa3
Reality-check the FAQ entry for "Can I use LLVM to convert C++ to C?"
...
llvm-svn: 62961
2009-01-25 16:04:50 +00:00
Dan Gohman
017bf94fbc
Add more documentation mentioning the limitations due to PR2660.
...
llvm-svn: 62919
2009-01-24 15:58:40 +00:00
Dan Gohman
3f9d24dca8
Add a few more notes about LLVM IR features that codegen doesn't
...
yet support.
llvm-svn: 62739
2009-01-22 01:39:38 +00:00
Mikhail Glushenkov
898af4fdfa
Mimic gcc behaviour with regard to response files.
...
llvm-svn: 62688
2009-01-21 13:14:02 +00:00
Mikhail Glushenkov
b0aa02acee
Support for multi-valued options in CommandLine
...
Makes possible to specify options that take multiple arguments (a-la
-sectalign on Darwin). See documentation for details.
llvm-svn: 62372
2009-01-16 22:54:19 +00:00
Duncan Sands
2bb8d618ad
Grammar fix.
...
llvm-svn: 62319
2009-01-16 09:29:46 +00:00
Rafael Espindola
0aba6c9435
Add the private linkage.
...
llvm-svn: 62279
2009-01-15 20:18:42 +00:00
Mikhail Glushenkov
615e954f0f
Some small documentation fixes.
...
llvm-svn: 62251
2009-01-15 02:42:40 +00:00
Mikhail Glushenkov
682197e760
Clarify the documentation a bit.
...
llvm-svn: 62249
2009-01-15 02:04:54 +00:00
Dan Gohman
276142c95b
Document several current CodeGen limitations in LangRef.html.
...
Patches for any of these are welcome!
llvm-svn: 62120
2009-01-12 23:12:39 +00:00
Dan Gohman
bdb0a5b773
The LLVM Assembly Language Reference incorrectly stated that the
...
prefix used for dll{import,export} is _imp__; it is actually __imp_.
Patch by Mahadevan R!
llvm-svn: 62103
2009-01-12 21:35:55 +00:00
Dan Gohman
b9e5badcf9
Fix the instructions to work even when PATH does not contain ".".
...
Thanks to Martin Geisse for pointing this out!
llvm-svn: 62102
2009-01-12 21:29:24 +00:00
Duncan Sands
bcdbfb63dc
Rename getABITypeSize to getTypePaddedSize, as
...
suggested by Chris.
llvm-svn: 62099
2009-01-12 20:38:59 +00:00
Chris Lattner
e53b562bee
remove some dead options.
...
llvm-svn: 62095
2009-01-12 19:02:50 +00:00
Chris Lattner
96dacb990b
Implement PR3313, and while I'm at it address a very FAQ.
...
llvm-svn: 62048
2009-01-11 20:53:49 +00:00
Dan Gohman
473e732586
Fix the example syntax for named sections.
...
llvm-svn: 62033
2009-01-11 00:40:00 +00:00
Mikhail Glushenkov
6761ea2676
Add a --check-graph option to llvmc.
...
llvm-svn: 61989
2009-01-09 16:16:27 +00:00
Gabor Greif
3b91310e36
Get rid of the tagging functions and use PointerIntPair.
...
This means that we have to include an additional header.
This patch should be functionally equivalent. I cannot outrule any performance
degradation, though I do not expect any.
llvm-svn: 61694
2009-01-05 16:05:32 +00:00
Dan Gohman
7f43292fe9
A few more whitespace tidyments.
...
llvm-svn: 61655
2009-01-04 23:49:44 +00:00
Dan Gohman
32c0a04815
Tidy whitespace.
...
llvm-svn: 61653
2009-01-04 23:44:43 +00:00
Misha Brukman
a57637fed5
* Wrap command line flag in <tt>
...
* Wrapped long lines in code section
llvm-svn: 61601
2009-01-03 02:35:05 +00:00
Misha Brukman
7d77c2fac7
So *this* is where all the trailing whitespace in file header comments come
...
from: copy-pasted straight from the coding standards doc!
Oh, the irony.
llvm-svn: 61586
2009-01-02 16:58:42 +00:00
Chris Lattner
59d439dd15
lex and bison aren't needed to build llvm anymore.
...
llvm-svn: 61560
2009-01-02 07:10:51 +00:00
Chris Lattner
53fa6e3f6b
new non-ambiguous syntax.
...
llvm-svn: 61559
2009-01-02 07:02:56 +00:00
Oscar Fuentes
4954ccb97b
CMake: Added some VC++ specific info to CMake.html.
...
llvm-svn: 61521
2008-12-31 14:36:41 +00:00
Misha Brukman
abfa50fc15
* Updated TOC and fixed named anchors
...
* Simplified section header marking
llvm-svn: 61482
2008-12-29 21:33:30 +00:00
Misha Brukman
4d4b7394f9
Minimize the width of the notes region: it will end where the text ends, if the
...
line of text is short enough, instead of stretching all the way to the right
margin.
llvm-svn: 61481
2008-12-29 21:25:09 +00:00
Misha Brukman
5b00db2c8f
Simplified marking code regions with a single <pre> rather than
...
a (<div>, <pre>) combo.
llvm-svn: 61480
2008-12-29 21:20:51 +00:00
Misha Brukman
207cd717bd
Center the legal note to give it even padding on left and right, and make it
...
stand out better.
llvm-svn: 61475
2008-12-29 19:55:01 +00:00
Misha Brukman
438c7fddb0
Cleanup: clarify llvm-gcc version and package name.
...
llvm-svn: 61474
2008-12-29 19:38:58 +00:00
Duncan Sands
fb6f54629f
Clarify a bit. Based on feedback by Talin.
...
llvm-svn: 61470
2008-12-29 15:27:32 +00:00
Nick Lewycky
8f96b51785
Resubmit support for the 'nocapture' attribute.
...
The problematic part of this patch is that we were out of attribute bits,
requiring some fancy bit hacking to make it fit (by shrinking alignment)
without breaking existing users or the file format.
This change will require users to rebuild llvm-gcc to match llvm.
llvm-svn: 61239
2008-12-19 06:39:12 +00:00
Nick Lewycky
4a36d896bf
Recommit this grammar fix that was backed out along with nocapture.
...
llvm-svn: 61189
2008-12-18 02:15:05 +00:00
Misha Brukman
7bd486d25a
Simplified marking code regions -- no need to use <div> to surround <pre> tags.
...
llvm-svn: 61143
2008-12-17 18:11:40 +00:00
Misha Brukman
b4689d53be
Instead of referring to the license file in the 2.3 release, refer to the
...
always-current SVN version.
llvm-svn: 61142
2008-12-17 18:06:53 +00:00
Misha Brukman
e3769b141e
Added mention of the RELEASE_24 tag for the 2.4 release.
...
llvm-svn: 61138
2008-12-17 16:27:23 +00:00
Mikhail Glushenkov
d15a02461a
Update also the generated docs.
...
llvm-svn: 61118
2008-12-17 02:47:30 +00:00
Bill Wendling
f807a68f2e
Temporarily revert r61019, r61030, and r61040. These were breaking LLVM Release
...
builds.
llvm-svn: 61094
2008-12-16 19:06:48 +00:00
Misha Brukman
c6aef75cef
* Comply with HTML 4.01 Strict
...
* Added code-region markings to code sections to make them stand out
* Added pre.doc_code class to llvm.css to simplify marking code regions
llvm-svn: 61072
2008-12-16 03:07:49 +00:00
Misha Brukman
129457e460
* Comply with HTML 4.01 Strict standard
...
* Converted absolute links to llvm.org/docs to relative links
* Fixed spelling and s/;/:/, as needed
llvm-svn: 61071
2008-12-16 02:54:22 +00:00
Nick Lewycky
8bdae4db80
Introducing nocapture, a parameter attribute for pointers to indicate that the
...
callee will not introduce any new aliases of that pointer.
The attributes had all bits allocated already, so I decided to collapse
alignment. Alignment was previously stored as a 16-bit integer from bits 16 to
32 of the attribute, but it was required to be a power of 2. Now it's stored in
log2 encoded form in five bits from 16 to 21. That gives us 11 more bits of
space.
You may have already noticed that you only need four bits to encode a 16-bit
power of two, so why five bits? Because the AsmParser accepted 32-bit
alignments, even though we couldn't store them (they were silently discarded).
Now we can store them in memory, but not in the bitcode.
The bitcode format was already storing these as 64-bit VBR integers. So, the
bitcode format stays the same, keeping the alignment values stored as 16 bit
raw values. There's some hideous code in the reader and writer that deals with
this, waiting to be ripped out the moment we run out of bits again and have to
replace the parameter attributes table encoding.
llvm-svn: 61019
2008-12-15 01:34:58 +00:00
Nick Lewycky
f35b64c5ee
Clarify the meaning of the NoAlias response. The plan is to refer to this from
...
a future version of LangRef.
llvm-svn: 61010
2008-12-14 21:08:48 +00:00
Misha Brukman
4231a32eaf
Fixed HTML validator warning.
...
llvm-svn: 61005
2008-12-14 08:01:51 +00:00
Misha Brukman
225acfd9be
CSS cleanup:
...
* Lowercased all HTML element names
* Standardized spacing around { and }
* removed class "doc_table_nw": grep finds no uses
llvm-svn: 61004
2008-12-14 07:20:36 +00:00
Mikhail Glushenkov
2f6a78628d
Add a comment to the auto-generated docs.
...
llvm-svn: 60985
2008-12-13 17:51:47 +00:00
Mikhail Glushenkov
e114e7652a
Merge llvm-rst.css and llvm.css.
...
llvm-svn: 60984
2008-12-13 17:50:58 +00:00
Mikhail Glushenkov
8d8dd2f6a3
Some more documentation tweaks.
...
llvm-svn: 60970
2008-12-13 03:11:37 +00:00
Mikhail Glushenkov
37399780e2
More cosmetic tweaks for llvmc docs.
...
llvm-svn: 60969
2008-12-13 02:28:58 +00:00
Chris Lattner
c66a5f659a
fix some incorrect links.
...
llvm-svn: 60919
2008-12-12 04:20:01 +00:00
Mikhail Glushenkov
645ac8a052
Man page update.
...
llvm-svn: 60918
2008-12-12 02:34:56 +00:00
Mikhail Glushenkov
0f084f3469
Fix W3C validator errors.
...
llvm-svn: 60912
2008-12-11 23:43:14 +00:00
Mikhail Glushenkov
7ac8dfbc99
Use correct file for the llvmc tutorial.
...
llvm-svn: 60910
2008-12-11 23:33:33 +00:00
Mikhail Glushenkov
24b3fd0fa8
Update the auto-generated llvmc documentation.
...
llvm-svn: 60909
2008-12-11 23:24:40 +00:00
Misha Brukman
ef75e64b5f
* Removed stray </p> tag
...
* Whitespace cleanups
llvm-svn: 60891
2008-12-11 19:44:51 +00:00
Misha Brukman
b8ad12675e
* <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
7a584de2b9
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
102c921f0b
Conform to the HTML 4.01 Strict specification.
...
llvm-svn: 60884
2008-12-11 18:14:06 +00:00
Misha Brukman
74411f221b
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
5cb753f05b
* 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
b800b6704e
s/A Few Coding Standards/LLVM Coding Standards/g
...
llvm-svn: 60859
2008-12-10 23:07:02 +00:00
Nuno Lopes
a74ba17dd5
fix typo. thanks Baldrick for noticing
...
llvm-svn: 60841
2008-12-10 16:11:10 +00:00
Nuno Lopes
8670647ad3
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
a9c24eb117
Update these instructions to the 2.4 release.
...
llvm-svn: 60838
2008-12-10 14:24:58 +00:00
Duncan Sands
7abc3cd656
Mention the Ada and Fortran front-ends.
...
llvm-svn: 60833
2008-12-10 10:50:58 +00:00
Mon P Wang
5f031c6120
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
0e7b5cf766
Rewrite instructions for configuring external tests
...
to reflect reality.
llvm-svn: 60825
2008-12-10 01:58:32 +00:00
Mikhail Glushenkov
18f6dc1f16
Man page typo fix.
...
llvm-svn: 60765
2008-12-09 14:41:00 +00:00
Mon P Wang
0c011f8ba9
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
df0e24acce
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
69eb224a5e
Fixes for Visual Studio users. Patch by OvermindDL1 on llvm-dev!
...
llvm-svn: 60679
2008-12-08 00:45:02 +00:00
Mikhail Glushenkov
63bd106f2c
Man page update.
...
llvm-svn: 60669
2008-12-07 16:48:07 +00:00
Dan Gohman
5dad0993a9
Rename isSimpleLoad to canFoldAsLoad, to better reflect its meaning.
...
llvm-svn: 60487
2008-12-03 18:15:48 +00:00
Nick Lewycky
d1de4fbcf0
Fix spelling mistake.
...
llvm-svn: 60250
2008-11-29 20:13:25 +00:00
Misha Brukman
54dad5f940
Fixed HTML closing tag, cleaned up some spacing.
...
llvm-svn: 60153
2008-11-27 06:41:20 +00:00
Bill Wendling
d8a4b1ec05
Small formatting change.
...
llvm-svn: 60113
2008-11-26 19:19:05 +00:00
Bill Wendling
cdc91a5f09
Update to explain how ssp and sspreq attributes override each other.
...
llvm-svn: 60112
2008-11-26 19:07:40 +00:00
Mikhail Glushenkov
1381c387d4
Describe some more options in the man page.
...
llvm-svn: 60105
2008-11-26 13:40:08 +00:00
Mikhail Glushenkov
f9b34b48d8
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
7c6a0d4d86
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
10311a70cc
add info about how to run the tests with valgrind
...
llvm-svn: 60030
2008-11-25 15:57:52 +00:00
Oscar Fuentes
c87fe528d8
CMake: Documented two cmake variables.
...
llvm-svn: 60008
2008-11-25 04:23:36 +00:00
Dan Gohman
83971772a6
Fix a few HTML tidiness issues.
...
llvm-svn: 59966
2008-11-24 17:18:39 +00:00
Dan Gohman
66dc0a5cbe
Delete some spurious characters.
...
llvm-svn: 59964
2008-11-24 16:45:15 +00:00
Dan Gohman
386810ca94
Fix some "</p>"s.
...
llvm-svn: 59963
2008-11-24 16:35:31 +00:00
Dan Gohman
d7f821e645
Some documentation for LegalizeTypes.
...
llvm-svn: 59962
2008-11-24 16:27:17 +00:00
Torok Edwin
c120302836
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
b8b082166a
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
47fa9bd187
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
2fc3f5daa5
Fixed named anchor for llvm.stackprotector intrinsic.
...
llvm-svn: 59893
2008-11-22 23:55:29 +00:00
Chris Lattner
b5712a8ba9
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
94c9b58408
Document TEST=dbgopt
...
llvm-svn: 59839
2008-11-21 19:35:57 +00:00
Chris Lattner
08bdf9dfab
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
4c5afef830
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
89a7e67578
Make mem[cpy,move,set] intrinsics overloaded.
...
llvm-svn: 59802
2008-11-21 07:49:09 +00:00
Duraid Madina
51f68032c8
LLVM does have a fortran FE!
...
llvm-svn: 59795
2008-11-21 06:26:56 +00:00
Oscar Fuentes
cbfb4cf881
CMake: More documentation.
...
llvm-svn: 59755
2008-11-20 23:35:09 +00:00
Oscar Fuentes
378c8a6a81
CMake: Some documentation. Work in progress.
...
llvm-svn: 59752
2008-11-20 22:05:48 +00:00
Bill Wendling
797dcb3ef7
- 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
2e352c9bb6
Grammar.
...
llvm-svn: 59581
2008-11-19 02:37:39 +00:00
Bill Wendling
99744090d6
Documentation for the llvm.stackprotector intrinsic.
...
llvm-svn: 59557
2008-11-18 22:10:53 +00:00
Chris Lattner
1519aae75e
punctuate, add wording about patches contributed by others.
...
llvm-svn: 59417
2008-11-16 17:40:16 +00:00
Dan Gohman
f719fc4ff0
LLVM can generate native code for amd64 on "Linux".
...
llvm-svn: 59257
2008-11-13 19:07:07 +00:00
Bill Wendling
58ebe90530
Update docs for ssp and sspreq function attributes.
...
llvm-svn: 59203
2008-11-13 01:02:51 +00:00
Duncan Sands
d29e6548b2
Correct these links.
...
llvm-svn: 59126
2008-11-12 10:10:25 +00:00
Chris Lattner
1bccc6695d
last validation errors
...
llvm-svn: 59072
2008-11-11 19:36:31 +00:00
Chris Lattner
69b9f9f3f1
fix some validation errors <it> -> <i>
...
llvm-svn: 59070
2008-11-11 19:35:15 +00:00
Chris Lattner
1d9e6b4408
fix some validation errors.
...
llvm-svn: 59069
2008-11-11 19:34:28 +00:00
Chris Lattner
e0d0ce0cab
remove an extraneous tag
...
llvm-svn: 59067
2008-11-11 19:31:26 +00:00
Chris Lattner
135cb3bcbe
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
73381d71dd
final edits
...
llvm-svn: 58966
2008-11-10 05:40:34 +00:00
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