Dan Gohman
b3f04f468e
Document some more AliasAnalysis infrastructure limitations.
...
llvm-svn: 121874
2010-12-15 18:45:20 +00:00
Bill Wendling
5d32b70967
Add mention that we support FreeBSD/amd64.
...
llvm-svn: 121832
2010-12-15 01:35:55 +00:00
Jakob Stoklund Olesen
36eab1cee4
Add IntervalMap to the Programmer's Manual.
...
llvm-svn: 121740
2010-12-14 00:55:51 +00:00
Chris Lattner
bd61444cb9
further fixes.
...
llvm-svn: 121657
2010-12-13 00:17:12 +00:00
Chris Lattner
053a025bfe
fix typo
...
llvm-svn: 121620
2010-12-12 02:42:57 +00:00
Dan Gohman
4bd64fa805
Introduce a new PartialAlias response for AliasAnalysis. For most
...
AliasAnalysis consumers, PartialAlias will be treated as MayAlias.
For AliasAnalysis chaining, MayAlias says "procede to the next analysis".
PartialAlias will be used to indicate that the query should terminate,
even though it didn't reach MustAlias or NoAlias.
llvm-svn: 121507
2010-12-10 19:38:58 +00:00
Eric Christopher
775608995c
Use GZIPBIN instead of GZIP. Apparently gzip uses GZIP as an environment
...
variable for args you want to default pass to gzip.
Patch based on one by asau@inbox.ru .
Fixes PR8758.
llvm-svn: 121449
2010-12-10 01:31:51 +00:00
Chris Lattner
02093e1f0b
fix some validation problems
...
llvm-svn: 121444
2010-12-10 00:54:03 +00:00
Chris Lattner
77c8cc8fc9
restructure this for readability, correct the example to follow the public ivar name convention
...
llvm-svn: 121443
2010-12-10 00:52:35 +00:00
Chris Lattner
7365a2838b
add a rule for enums, patch by Zhanyong Wan!
...
llvm-svn: 121430
2010-12-09 23:32:39 +00:00
Bill Wendling
2eeba63215
Fix the prototype for the llvm.eh.selector intrinsic.
...
llvm-svn: 121425
2010-12-09 23:05:48 +00:00
Bill Wendling
7a05f00ade
Fix newlines.
...
llvm-svn: 121233
2010-12-08 02:46:25 +00:00
Frits van Bommel
7cf63ace18
Clarify some of the differences between indexing with getelementptr and indexing with insertvalue/extractvalue.
...
llvm-svn: 120957
2010-12-05 20:54:38 +00:00
Zhanyong Wan
4f3b26de28
Add naming rules to the coding standards.
...
llvm-svn: 120689
2010-12-02 05:10:07 +00:00
Chris Lattner
9db8e15f4d
forbid rtti and exceptions
...
llvm-svn: 120450
2010-11-30 19:20:40 +00:00
Nick Lewycky
2965d3e3cd
Make @llvm.invariant.start not be readonly, so that it has side-effects. This
...
unbreaks test/Transforms/InstCombine/invariant.ll which was broken by r120382.
This is a fix-forward to do what I think Chris intended.
llvm-svn: 120388
2010-11-30 04:13:41 +00:00
Oscar Fuentes
e1c6a67df6
Bump required cmake version on CMake.html.
...
llvm-svn: 120162
2010-11-25 21:41:48 +00:00
Zhanyong Wan
19b96fd4ee
Fix formatting nits in the coding standards. Reviewed by clattner.
...
llvm-svn: 119998
2010-11-23 05:03:07 +00:00
Wesley Peck
527da1b6e2
Renaming ISD::BIT_CONVERT to ISD::BITCAST to better reflect the LLVM IR concept.
...
llvm-svn: 119990
2010-11-23 03:31:01 +00:00
Chris Lattner
d78dbee431
a byval argument without an align can have an arbitrary alignment
...
requirement on the input pointer.
llvm-svn: 119914
2010-11-20 23:49:06 +00:00
Chris Lattner
eebbbeb917
add some justification for "using namespace llvm;"
...
llvm-svn: 119544
2010-11-17 19:47:20 +00:00
Chris Lattner
8defde09fd
various cleanups and other improvements, patch by Zhanyong Wan!
...
llvm-svn: 119515
2010-11-17 17:14:55 +00:00
Chris Lattner
79ffdc7581
With the newly simplified SourceMgr interfaces and the generalized
...
SrcMgrDiagHandler, we can improve clang diagnostics for inline asm:
instead of reporting them on a source line of the original line,
we can report it on the correct line wherever the string literal came
from. For something like this:
void foo() {
asm("push %rax\n"
".code32\n");
}
we used to get this: (note that the line in t.c isn't helpful)
t.c:4:7: error: warning: ignoring directive for now
asm("push %rax\n"
^
<inline asm>:2:1: note: instantiated into assembly here
.code32
^
now we get:
t.c:5:8: error: warning: ignoring directive for now
".code32\n"
^
<inline asm>:2:1: note: instantiated into assembly here
.code32
^
Note that we're pointing to line 5 properly now.
llvm-svn: 119488
2010-11-17 08:20:42 +00:00
Chris Lattner
44c2241cd4
update coding standards. Partial specialization is now ok,
...
though possibly not a good idea.
llvm-svn: 119398
2010-11-16 22:19:06 +00:00
Chris Lattner
fced6e2587
libc++ and compiler_rt are now dual licensed under UIUC and MIT license.
...
llvm-svn: 119387
2010-11-16 21:32:53 +00:00
Peter Collingbourne
b813cacf06
Document -enable-no-infs-fp-math and -enable-no-nans-fp-math command line options
...
llvm-svn: 119370
2010-11-16 19:40:13 +00:00
Dan Gohman
a230754385
Fix missing includes of "llvm/Analysis/Passes.h" in the tutorials. Thanks
...
for Arnaud Allard de Grandmaison for preparing a patch.
llvm-svn: 119351
2010-11-16 17:28:22 +00:00
Dan Gohman
56f3a4c761
Update examples and documentation to explicitly add basicaa, now that it's
...
no longer included by default.
llvm-svn: 119169
2010-11-15 18:41:10 +00:00
Dan Gohman
b83aed95c9
-basicaa is no longer the default.
...
llvm-svn: 119163
2010-11-15 18:07:16 +00:00
Chris Lattner
7b783e7cb2
no alpha jit support.
...
llvm-svn: 119052
2010-11-14 18:25:50 +00:00
Chris Lattner
8a7f4dafe5
describe the preferred approach to silencing 'unused variable warnings' due to asserts.
...
llvm-svn: 118863
2010-11-12 00:19:41 +00:00
NAKAMURA Takumi
f791007e81
CMake: Add the new option "LLVM_LIT_ARGS".
...
Defaults:
if (MSVC OR XCODE): "-sv --no-progress-bar"
else: "-sv"
llvm-svn: 118776
2010-11-11 04:09:35 +00:00
Devang Patel
fd0ad36c28
Document debuginfo-tests.
...
llvm-svn: 118746
2010-11-11 00:13:39 +00:00
Chris Lattner
4869d346e3
add (and document) the ability for alias results to have
...
fixed physical registers. Start moving fp comparison
aliases to the .td file (which default to using %st1 if
nothing is specified).
llvm-svn: 118352
2010-11-06 19:57:21 +00:00
Chris Lattner
b6f8e8248d
generalize alias support to allow the result of an alias to
...
add fixed immediate values. Move the aad and aam aliases to
use this, and document it.
llvm-svn: 118350
2010-11-06 19:25:43 +00:00
Chris Lattner
8b0a71fc31
document instalias.
...
llvm-svn: 118335
2010-11-06 08:30:26 +00:00
Duncan Sands
8eb254aed6
Fix typo, pointed out by Trevor Harmon.
...
llvm-svn: 118163
2010-11-03 08:16:50 +00:00
Chris Lattner
3e6c919469
fix typo, patch by Trevor Harmon (PR8537)
...
llvm-svn: 118131
2010-11-03 00:30:29 +00:00
Oscar Fuentes
64cb0eed22
Removed obsolete section about VC++ project files.
...
llvm-svn: 118072
2010-11-02 21:34:19 +00:00
Chris Lattner
7ff334687d
fix the !eq operator in tblgen to return a bit instead of an int.
...
Use this to make the X86 and ARM targets set isCodeGenOnly=1
automatically for their instructions that have Format=Pseudo,
resolving a hack in tblgen.
llvm-svn: 117862
2010-10-31 19:22:57 +00:00
Benjamin Kramer
c940bcf564
Validate HTML.
...
llvm-svn: 117847
2010-10-30 21:07:28 +00:00
Chris Lattner
4dd6ca9a69
add missing tag
...
llvm-svn: 117846
2010-10-30 20:21:00 +00:00
Chris Lattner
f9ec2fb34a
fix typos and some serious bugs in feature handling (but not for
...
cases that are currently exercised). Thanks to Frits van Bommel for
the great review!
llvm-svn: 117840
2010-10-30 19:47:49 +00:00
Chris Lattner
2cb092dc55
Implement (and document!) support for MnemonicAlias's to have Requires
...
directives, allowing things like this:
def : MnemonicAlias<"pop", "popl">, Requires<[In32BitMode]>;
def : MnemonicAlias<"pop", "popq">, Requires<[In64BitMode]>;
Move the rest of the X86 MnemonicAliases over to the .td file.
llvm-svn: 117830
2010-10-30 19:23:13 +00:00
Chris Lattner
ba7b4fea97
implement (and document!) the first kind of MC assembler alias, which
...
just remaps one mnemonic to another. Convert a few of the X86 aliases
from .cpp to .td code.
llvm-svn: 117815
2010-10-30 17:36:36 +00:00
Oscar Fuentes
b1f9380cac
Document LLVM_BUILD_TESTS, LLVM_INCLUDE_TESTS. New convenience target
...
UnitTests for building all the unit tests.
llvm-svn: 117545
2010-10-28 14:38:35 +00:00
Chris Lattner
15597538ae
clarify that not having the ".o file writing" feature
...
doesn't mean that you can't get a .o file. Apparently
this is confusing :)
llvm-svn: 117523
2010-10-28 02:22:02 +00:00
Bill Wendling
6bbe0912c3
Random cleanups and format changes.
...
llvm-svn: 117428
2010-10-27 01:07:41 +00:00
Duncan Sands
406e6f59b8
Yet another thing that was forgotten to be added to the release notes...
...
llvm-svn: 117362
2010-10-26 12:43:36 +00:00
Charles Davis
742052526a
Make the description of the hotpatch attribute even more generic. Spotted by
...
Michael Spencer.
llvm-svn: 117286
2010-10-25 19:07:39 +00:00
Charles Davis
1b2d372b9f
Make hotpatch attribute description a little less Wintel-specific.
...
llvm-svn: 117267
2010-10-25 16:29:03 +00:00
Charles Davis
22fe18625d
Add a new 'hotpatch' attribute. This attribute will insert a two-byte no-op
...
instruction at the beginning of each function that has the attribute, allowing
the function to be easily hooked and/or patched.
llvm-svn: 117264
2010-10-25 15:37:09 +00:00
Kalle Raiskila
829b21fb02
Update target feature matrix for CellSPU
...
llvm-svn: 117255
2010-10-25 08:57:30 +00:00
Jakob Stoklund Olesen
c7932d3ac6
Update target feature matrix for Blackfin.
...
llvm-svn: 117245
2010-10-24 20:04:05 +00:00
Wesley Peck
188deadf88
Updating target feature matrix to indicate current MBlaze status.
...
llvm-svn: 117244
2010-10-24 18:50:12 +00:00
Chris Lattner
60616b1e54
broken link
...
llvm-svn: 117232
2010-10-24 16:24:22 +00:00
Chris Lattner
5427f745b5
add a big table with target features.
...
llvm-svn: 117230
2010-10-24 16:18:00 +00:00
Peter Collingbourne
a92b66ec47
Standardise all build-mode affecting {EN,DIS}ABLE_* make options to
...
test equality to 1, and fix/update documentation to reflect this
llvm-svn: 117094
2010-10-22 12:54:34 +00:00
Tobias Grosser
5f038210cf
Fix type in passes.
...
llvm-svn: 117065
2010-10-21 21:16:03 +00:00
Duncan Sands
a11e9827b1
Argh, completely forgot to add this to the release notes!
...
Better late than never, right?
llvm-svn: 117009
2010-10-21 14:40:02 +00:00
Tobias Grosser
23c8341c3d
Add RegionPass support.
...
A RegionPass is executed like a LoopPass but on the regions detected by the
RegionInfo pass instead of the loops detected by the LoopInfo pass.
llvm-svn: 116905
2010-10-20 01:54:44 +00:00
Jim Grosbach
bbdc5d2ef9
Add a pre-dispatch SjLj EH hook on the unwind edge for targets to do any
...
setup they require. Use this for ARM/Darwin to rematerialize the base
pointer from the frame pointer when required. rdar://8564268
llvm-svn: 116879
2010-10-19 23:27:08 +00:00
Jakob Stoklund Olesen
eba55822d7
Teach FileCheck to handle trailing CHECK-NOT patterns.
...
A CHECK-NOT pattern without a following CHECK pattern simply checks that the
pattern doesn't match before the end of the input file.
You can even have only CHECK-NOT patterns to check that strings appear nowhere
in the input file.
llvm-svn: 116592
2010-10-15 17:47:12 +00:00
Chris Lattner
1ef5e84c31
Per discussion with Sanjiv, remove the PIC16 target from mainline. When/if
...
it comes back, it will be largely a rewrite, so keeping the old codebase
in tree isn't helping anyone.
llvm-svn: 116190
2010-10-11 05:44:40 +00:00
Chris Lattner
f11031a68c
clarify that zero sized vectors are illegal, PR8340
...
llvm-svn: 116167
2010-10-10 18:20:35 +00:00
Nick Lewycky
cf263b0cbd
Fix dead link.
...
llvm-svn: 116157
2010-10-09 21:12:29 +00:00
Nick Lewycky
abe8c130b1
Warn about broken GCCs on ARM due to the problem fixed:
...
http://gcc.gnu.org/ml/gcc-patches/2010-09/msg01070.html
llvm-svn: 115998
2010-10-07 22:30:47 +00:00
Bill Wendling
c473587e28
Fixed RELEASE_28 tags.
...
llvm-svn: 115872
2010-10-06 23:50:30 +00:00
Tobias Grosser
436bc5fdb3
Fix libc++ link in release notes.
...
llvm-svn: 115837
2010-10-06 21:07:30 +00:00
Tobias Grosser
5af766bb1e
Add missing "-" to the command line.
...
llvm-svn: 115777
2010-10-06 11:43:06 +00:00
Duncan Sands
6f2ae72c90
No need to check out everything: binutils is enough.
...
Patch by John Tytgat.
llvm-svn: 115757
2010-10-06 06:45:11 +00:00
Tanya Lattner
3d7ec7b55d
Update release location.
...
llvm-svn: 115749
2010-10-06 05:36:01 +00:00
Chris Lattner
9402633637
remove the !nameconcat tblgen feature. It "shorthand" and only used in 4 places
...
where !cast is just as short.
llvm-svn: 115722
2010-10-06 00:19:21 +00:00
Jim Grosbach
1e8b44e470
s/The ARM has/The ARM backend has/
...
llvm-svn: 115584
2010-10-05 01:00:42 +00:00
Bruno Cardoso Lopes
3ae4d87d6f
AVX intrinsics and builtins were also added to clang
...
llvm-svn: 115566
2010-10-04 22:07:22 +00:00
Douglas Gregor
7e79556d96
Spell AltiVec correctly
...
llvm-svn: 115560
2010-10-04 21:12:06 +00:00
Daniel Dunbar
f70898affa
ReleaseNotes: Note some changes to LLVM development infrastructure.
...
llvm-svn: 115550
2010-10-04 20:11:41 +00:00
Daniel Dunbar
efefb206a5
ReleaseNotes: Note a header rename.
...
llvm-svn: 115549
2010-10-04 20:11:39 +00:00
Gabor Greif
0d4224ef04
validator fixes; others remain, somebody who knows some html, please have a look
...
llvm-svn: 115526
2010-10-04 17:54:30 +00:00
Daniel Dunbar
8fbd8aad45
Add KLEE 2.8 release notes.
...
llvm-svn: 115524
2010-10-04 17:39:47 +00:00
Daniel Dunbar
60ad0094e2
A few more random Clang release notes.
...
llvm-svn: 115520
2010-10-04 17:06:49 +00:00
Gabor Greif
dcdbbea36d
minor tweaks and typos
...
llvm-svn: 115518
2010-10-04 17:03:49 +00:00
Devang Patel
9fbc680c5e
Fix lexical block's tag number.
...
llvm-svn: 115516
2010-10-04 16:51:59 +00:00
Chris Lattner
dc38ad4aee
scheduler update
...
llvm-svn: 115515
2010-10-04 16:46:07 +00:00
Chris Lattner
c3e64b2c37
another tweak
...
llvm-svn: 115510
2010-10-04 16:06:37 +00:00
Duncan Sands
d63e1c80ba
Ada support has moved to dragonegg - I am no longer working on
...
Ada in llvm-gcc.
llvm-svn: 115501
2010-10-04 10:06:56 +00:00
Duncan Sands
6ad8bf6051
Fix a bunch of typos.
...
llvm-svn: 115500
2010-10-04 10:04:14 +00:00
Duncan Sands
fb994d2f0e
Altvec -> Altivec.
...
llvm-svn: 115499
2010-10-04 09:11:50 +00:00
Douglas Gregor
614ace674b
Update LLVM 2.8 release notes for Clang
...
llvm-svn: 115498
2010-10-04 07:02:35 +00:00
Chris Lattner
d3f45c8cf2
checkpoint, the release notes are now feature complete.
...
llvm-svn: 115495
2010-10-04 04:39:25 +00:00
Chris Lattner
9fd1e92de8
checkpoint
...
llvm-svn: 115494
2010-10-04 03:58:12 +00:00
Chris Lattner
fcc65a74a7
checkpoint.
...
llvm-svn: 115489
2010-10-04 02:42:39 +00:00
Chris Lattner
a7f45cf749
write Major Changes and Removed Features.
...
llvm-svn: 115486
2010-10-04 01:29:06 +00:00
Chris Lattner
120804afae
move dragonegg up in the list, write blurbs for lldb and libc++
...
llvm-svn: 115484
2010-10-03 23:49:06 +00:00
Chris Lattner
d93b4afdd7
add a bunch of stuff that works with 2.8
...
llvm-svn: 115483
2010-10-03 23:09:03 +00:00
Chris Lattner
743bc472ac
random updates
...
llvm-svn: 115427
2010-10-02 22:44:15 +00:00
Chris Lattner
bf1cf670a6
checkpoint, don't expect this to read right yet. :)
...
llvm-svn: 115426
2010-10-02 21:59:30 +00:00
Chris Lattner
97eac67552
add a bunch more notes. I survived.
...
llvm-svn: 115418
2010-10-02 19:32:01 +00:00
Devang Patel
cac38900f1
Fix block descriptor documentation.
...
llvm-svn: 115362
2010-10-01 22:45:00 +00:00
Devang Patel
6df452cfb1
Fix dbg_declare signature in document.
...
llvm-svn: 115326
2010-10-01 19:22:16 +00:00
Devang Patel
bed5e7d404
Fix DIDerived type fields' type in document.
...
llvm-svn: 115325
2010-10-01 19:19:30 +00:00
Chris Lattner
ca7c896b16
add a note
...
llvm-svn: 115297
2010-10-01 06:34:49 +00:00
Dale Johannesen
b1f0ff1d66
Fix pasto.
...
llvm-svn: 115261
2010-10-01 01:07:02 +00:00
Dale Johannesen
33e5c354e5
Add some doc for the x86mmx type.
...
llvm-svn: 115255
2010-10-01 00:48:59 +00:00
Duncan Sands
7f9a0dc4b4
Flesh out the dragonegg section.
...
llvm-svn: 115179
2010-09-30 17:37:34 +00:00
Chris Lattner
f25bc19e17
checkpoint notes
...
llvm-svn: 115152
2010-09-30 16:31:33 +00:00
Chris Lattner
510a81a89b
fix incorrect link!
...
llvm-svn: 115124
2010-09-30 01:12:09 +00:00
Chris Lattner
3458ab6001
add a bunch of entries for external projects.
...
llvm-svn: 115112
2010-09-30 00:34:43 +00:00
Duncan Sands
e9da6db67f
Convert a bunch of uses of 'bytecode' into 'bitcode'. This
...
is not everything, but the remaining cases are less trivial.
llvm-svn: 115080
2010-09-29 20:09:55 +00:00
Chris Lattner
16be34dec0
add some random notes.
...
llvm-svn: 115032
2010-09-29 07:25:03 +00:00
Chris Lattner
086d269413
merge all the llvm-gcc pieces together. Recommend that people try dragonegg if they care about fortran performance.
...
llvm-svn: 115031
2010-09-29 05:34:42 +00:00
Chris Lattner
342f957966
prepare for new content.
...
llvm-svn: 115030
2010-09-29 05:30:03 +00:00
Chris Lattner
b671d84ade
reapply developer policy changes after discussion.
...
llvm-svn: 114886
2010-09-27 21:17:15 +00:00
Oscar Fuentes
bf03084532
New cmake options LLVM_INCLUDE_X (X = {TOOLS, EXAMPLES, TESTS}) for
...
not generating build targets for those parts of the build.
llvm-svn: 114797
2010-09-25 20:43:06 +00:00
Chris Lattner
aa2ad5730c
temporarily revert developer policy change as a courtesy to vikram.
...
llvm-svn: 114792
2010-09-25 15:53:35 +00:00
Chris Lattner
16e264c546
remove an obsolete section
...
llvm-svn: 114701
2010-09-23 22:34:49 +00:00
Andrew Trick
68aa18e4be
Fix Getting Started docs.
...
configure expects LLVM Test Suite to be in projects/test-suite.
Made the "getting started" and "testing infrastructure" docs internally consistent.
Avoid confusion between llvm-test and llvm/test.
llvm-svn: 114691
2010-09-23 20:26:44 +00:00
Chris Lattner
a45bbb9628
rewrite the copyright section to match reality: llvm does't have a
...
copyright assignment process.
llvm-svn: 114673
2010-09-23 17:37:11 +00:00
Chris Lattner
81b59834c2
add lldb and libc++ code owners.
...
llvm-svn: 114669
2010-09-23 17:27:54 +00:00
Chris Lattner
191efcfc63
random cruft in my tree.
...
llvm-svn: 114387
2010-09-21 04:03:39 +00:00
Michael J. Spencer
65bd28db99
docs: Tweak wording.
...
llvm-svn: 114271
2010-09-18 08:32:32 +00:00
Michael J. Spencer
386fe51f64
docs: Update GettingStartedVS to reflect current state.
...
llvm-svn: 114167
2010-09-17 06:33:20 +00:00
Oscar Fuentes
144d99d084
Updated GettingStartedVS.html to reflect current state.
...
Reorganized it too.
llvm-svn: 114151
2010-09-17 02:17:13 +00:00
Oscar Fuentes
9712b2c06c
Direct CMake users to the right place for up-to-date info about using
...
LLVM libraries.
llvm-svn: 114139
2010-09-17 00:30:52 +00:00
Bob Wilson
e44f298674
Fix formatting tags.
...
llvm-svn: 113758
2010-09-13 17:39:35 +00:00
Bob Wilson
46d6580ccf
Document NEON intrinsic changes for 2.8.
...
llvm-svn: 113757
2010-09-13 17:37:55 +00:00
Chris Lattner
cb67a14b3e
add some documentation for the most important MC-level classes along with
...
an overview of mc and the idea of the code emission phase.
llvm-svn: 113707
2010-09-11 23:02:10 +00:00
John McCall
978f007a80
Add documentation for llvm-diff.
...
llvm-svn: 113303
2010-09-07 23:10:21 +00:00
Chris Lattner
8128ca1c2c
add note
...
llvm-svn: 113164
2010-09-06 19:14:40 +00:00
Chris Lattner
8c26cee3f3
some random notes.
...
llvm-svn: 113118
2010-09-05 20:49:45 +00:00
Chris Lattner
fc561bad88
this is a release note worthy change.
...
llvm-svn: 112907
2010-09-02 23:22:50 +00:00
Chris Lattner
32eff0df9a
updates to make it clear that this applies to clang and other llvm subprojects.
...
llvm-svn: 112781
2010-09-02 00:09:17 +00:00
Chris Lattner
44ab470c8e
update the tutorial to use CreateFAdd to create fp operations.
...
llvm-svn: 112733
2010-09-01 20:09:20 +00:00
Jakob Stoklund Olesen
94e90b9406
Stack slot access methods are in TargetInstrInfo.
...
llvm-svn: 112653
2010-08-31 22:01:07 +00:00
Duncan Sands
11c23fc349
Update the Ada instructions to LLVM 2.7 (from LLVM 2.5).
...
llvm-svn: 112630
2010-08-31 19:40:21 +00:00
Dan Gohman
f2d817192b
Update the descriptions of NoModRef and ModRef to be consistent
...
with the descriptions of Mod and Ref.
llvm-svn: 112557
2010-08-30 23:47:24 +00:00
Duncan Sands
1b6744a376
Remove a hack that tries to understand incorrect triples from the
...
Triple class constructor. Only valid triples should now be used
inside LLVM - front-ends are now responsable for rejecting or
correcting invalid target triples. The Triple::normalize method
can be used to straighten out funky triples provided by users.
Give this a whirl through the buildbots to see if I caught all
places where triples enter LLVM.
llvm-svn: 112470
2010-08-30 10:57:54 +00:00
Chris Lattner
bd24404718
remove the MSIL backend. It isn't maintained, is buggy, has no testcases
...
and hasn't kept up with ToT. Approved by Anton.
llvm-svn: 112375
2010-08-28 16:33:36 +00:00
Chris Lattner
13ee795c42
remove unions from LLVM IR. They are severely buggy and not
...
being actively maintained, improved, or extended.
llvm-svn: 112356
2010-08-28 04:09:24 +00:00
Bill Wendling
578ee4070c
Create the new linker type "linker_private_weak_def_auto".
...
It's similar to "linker_private_weak", but it's known that the address of the
object is not taken. For instance, functions that had an inline definition, but
the compiler decided not to inline it. Note, unlike linker_private and
linker_private_weak, linker_private_weak_def_auto may have only default
visibility. The symbols are removed by the linker from the final linked image
(executable or dynamic library).
llvm-svn: 111684
2010-08-20 22:05:50 +00:00
Dan Gohman
d3ee4238a5
Make the SCC printing passes use errs() instead of outs(), as the
...
other printing passes do, and update the documentation accordingly.
llvm-svn: 111601
2010-08-20 01:03:44 +00:00
Chris Lattner
249b976ed2
fix a broken link
...
llvm-svn: 111326
2010-08-17 23:26:04 +00:00
Chris Lattner
54a7be757b
add some 's to a pre to avoid newlines being eaten
...
and the formatting being thrown off. I admit to not knowing
what is going on here.
llvm-svn: 111249
2010-08-17 17:13:42 +00:00
Oscar Fuentes
43c6321340
CMake: document how to incorporate LLVM into the cmake project of an
...
external project.
llvm-svn: 110561
2010-08-09 03:26:48 +00:00
Oscar Fuentes
c9793795f7
CMake: documented testing procedure
...
llvm-svn: 110559
2010-08-09 02:49:39 +00:00
Rafael Espindola
fb1f29acf9
Add a opt-args option that can be used to pass arguments to every opt
...
invocation. Fixes PR7793:
bugpoint -debug test.ll --opt-args -unroll-count=4
llvm-svn: 110555
2010-08-08 22:14:20 +00:00
Rafael Espindola
717cd17f6f
s/libLLVMgold/LLVMgold/g
...
llvm-svn: 110552
2010-08-08 21:14:26 +00:00
Peter Collingbourne
099c4e3cde
Fix missing </a> tag error introduced by addition of LowerAtomic pass.
...
While at it, fix all other HTML validation errors in docs/Passes.html.
llvm-svn: 110428
2010-08-06 02:13:25 +00:00
Eric Christopher
fa5d2415b6
Document results of PR7762.
...
llvm-svn: 110373
2010-08-05 20:38:39 +00:00
Owen Anderson
f16eb37b54
Add a note about the changing pass registration interface.
...
llvm-svn: 110231
2010-08-04 18:27:08 +00:00
Dan Gohman
67c0212353
Delete mkpatch. Everything it does is already done by svn diff by default.
...
llvm-svn: 110203
2010-08-04 16:07:22 +00:00
Dan Gohman
852287332a
Remove a link which is no longer relevant.
...
llvm-svn: 110202
2010-08-04 15:59:16 +00:00
Torok Edwin
e6f478f795
Note some LLVM 2.7 -> 2.8 APIs that changed / got renamed.
...
I encountered these while upgrading libclamav.
llvm-svn: 110196
2010-08-04 12:43:22 +00:00
Peter Collingbourne
ddaaf40d24
Add an atomic lowering pass
...
llvm-svn: 110113
2010-08-03 16:19:16 +00:00
Daniel Dunbar
f85eb933d4
docs/TestingGuide: Minimal update to describe 'lit' based regression testing
...
instead of DejaGNU. Still a bit kooky, since the current test format still has
some strong Tcl roots. Oh well!
llvm-svn: 110005
2010-08-02 01:20:23 +00:00
Daniel Dunbar
a9075c5ead
docs/TestingGuide: Rip out description of old nightly tester infrastructure. The
...
official recommendation is to use LNT instead. I will write docs on setting up
an LNT installation for submission to llvm.org, one day.
llvm-svn: 110004
2010-08-02 01:20:20 +00:00
Nick Lewycky
daf67727a3
Fix word choice.
...
llvm-svn: 109995
2010-08-01 23:18:45 +00:00
John Criswell
ad05ae483f
Grammar cop pullover: Corrected and improved some grammar in the description of
...
the llvm.memset() intrinsic family.
No content changes.
llvm-svn: 109863
2010-07-30 16:30:28 +00:00
Gabor Greif
ed79dcb1ab
re-commit r109220, the compile error has already been fixed
...
Simplifying use_iterators by dereferencing
is not a good idea. The codebase does not depend
in this any more, and it may introduce hidden
runtime cost. If you get compile errors, please
dereference your iterator before passing to cast<>
(and friends).
Also: please consider caching the result of
operator* and reusing that instead of dereferencing
many times.
llvm-svn: 109425
2010-07-26 18:48:07 +00:00
Peter Collingbourne
b724226063
Document BUILD_EXAMPLES makefile variable
...
llvm-svn: 109346
2010-07-24 17:54:00 +00:00
Tobias Grosser
336734aca6
Add new RegionInfo pass.
...
The RegionInfo pass detects single entry single exit regions in a function,
where a region is defined as any subgraph that is connected to the remaining
graph at only two spots.
Furthermore an hierarchical region tree is built.
Use it by calling "opt -regions analyze" or "opt -view-regions".
llvm-svn: 109089
2010-07-22 07:46:31 +00:00
Owen Anderson
ac4a1ede17
Add INSTANTIATE_AG_PASS, which combines RegisterPass<> with RegisterAnalysisGroup<> for pass registration.
...
llvm-svn: 109058
2010-07-21 23:07:00 +00:00
Owen Anderson
7ca8fb4795
First stab at updating the documentation for INITIALIZE_PASS().
...
llvm-svn: 109055
2010-07-21 22:58:07 +00:00
Dan Gohman
093cb79d4b
Disallow null as a named metadata operand.
...
Make MDNode::destroy private.
Fix the one thing that used MDNode::destroy, outside of MDNode itself.
One should never delete or destroy an MDNode explicitly. MDNodes
implicitly go away when there are no references to them (implementation
details aside).
llvm-svn: 109028
2010-07-21 18:54:18 +00:00
Chris Lattner
b3fa6bf0ef
strip out the 2.7 release notes, this really is the 2.8 release notes
...
now. Add a few items like the fpstackifier improvements.
llvm-svn: 109013
2010-07-21 15:57:40 +00:00
Gabor Greif
930894fe61
appease Validator
...
llvm-svn: 109007
2010-07-21 10:22:41 +00:00
Gabor Greif
4b17e65baa
add info on operand rotation
...
llvm-svn: 109006
2010-07-21 10:20:08 +00:00
Jakob Stoklund Olesen
8289f78569
Remove the isMoveInstr() hook.
...
llvm-svn: 108567
2010-07-16 22:35:46 +00:00
Benjamin Kramer
92d8998348
Don't pass StringRef by reference.
...
llvm-svn: 108366
2010-07-14 22:38:02 +00:00
Dan Gohman
58cd65f2fe
Fix the Named Metadata example to make it clear which specific
...
construct is the named metadata.
llvm-svn: 108263
2010-07-13 19:48:13 +00:00
Devang Patel
4a7904d652
Fix compile unit in example. Thanks Renato Golin!
...
llvm-svn: 108246
2010-07-13 16:53:20 +00:00
Benjamin Kramer
79698be162
HTML cleanup and validation.
...
llvm-svn: 108239
2010-07-13 12:26:09 +00:00
Duncan Sands
a522e563a8
When doing sext/zext of constants, the target type must be strictly
...
wider than the source type. Correct LangRef.
llvm-svn: 108238
2010-07-13 12:06:14 +00:00
Jakob Stoklund Olesen
c4227f1362
Remove TargetInstrInfo::copyRegToReg entirely.
...
Targets must now implement TargetInstrInfo::copyPhysReg instead. There is no
longer a default implementation forwarding to copyRegToReg.
llvm-svn: 108095
2010-07-11 17:01:17 +00:00
Dan Gohman
e501ff7cc6
sdiv overflow is outright undefined behavior, with or without the
...
'exact' keyword. Thanks to nlewycky for pointing this out!
llvm-svn: 108064
2010-07-11 00:08:34 +00:00
Duncan Sands
1567f0fa7e
Tweak some docs now that the default build is called Debug+Asserts.
...
llvm-svn: 107862
2010-07-08 08:27:18 +00:00
Reid Kleckner
7d797f613f
Update the docs for debugging JITed code with GDB.
...
llvm-svn: 107808
2010-07-07 20:16:45 +00:00
Dan Gohman
00ef93258a
Remove interprocedural-basic-aa and associated code. The AliasAnalysis
...
interface needs implementations to be consistent, so any code which
wants to support different semantics must use a different interface.
It's not currently worthwhile to add a new interface for this new
concept.
Document that AliasAnalysis doesn't support cross-function queries.
llvm-svn: 107776
2010-07-07 14:27:09 +00:00
Duncan Sands
408bb192de
Rename "Release" builds as "Release+Asserts"; rename "Release-Asserts"
...
builds to "Release". The default build is unchanged (optimization on,
assertions on), however it is now called Release+Asserts. The intent
is that future LLVM releases released via llvm.org will be Release builds
in the new sense, i.e. will have assertions disabled (currently they have
assertions enabled, for a more than 20% slowdown). This will bring them
in line with MacOS releases, which ship with assertions disabled. It also
means that "Release" now means the same things in make and cmake builds:
cmake already disables assertions for "Release" builds AFAICS.
llvm-svn: 107758
2010-07-07 07:48:00 +00:00
John McCall
72ed8908ee
Closing tags start with slashes.
...
llvm-svn: 107699
2010-07-06 21:07:14 +00:00
Chris Lattner
5eff9ca26e
minor typo
...
llvm-svn: 107696
2010-07-06 20:51:35 +00:00
Nick Lewycky
14b58dac8d
Alphabetize the list of function parameters.
...
llvm-svn: 107680
2010-07-06 18:24:09 +00:00
Duncan Sands
83cec97479
Bring the list of passes and their descriptions up to date.
...
Patch by Kenneth Hoste.
llvm-svn: 107669
2010-07-06 15:52:15 +00:00
Dan Gohman
6c858db40c
Note the relationship between C99 restrict and LLVM noalias, and
...
clarify a few other things.
llvm-svn: 107659
2010-07-06 15:26:33 +00:00
Chris Lattner
30f33eb935
indmemrem and lowerallocs are gone.
...
llvm-svn: 107587
2010-07-04 17:36:43 +00:00
Dan Gohman
ece6906ea0
Document that BasicAA respects noalias, while InterproceduralBasicAA
...
does not.
llvm-svn: 107546
2010-07-02 23:52:36 +00:00
Dan Gohman
de25629e4f
Describe which dependencies are relevant to noalias, and document how
...
AliasAnalyses have the choice to respect noalias.
llvm-svn: 107544
2010-07-02 23:46:54 +00:00
Dan Gohman
3770af5852
Add some html anchors, to allow attributes to be linked to directly.
...
llvm-svn: 107538
2010-07-02 23:18:08 +00:00
Dan Gohman
df12d08b8e
Reword the definition of the noalias attribute. The intention is for
...
the noalias argument on function attributes be usable to model the
C99 restrict keyword on arguments, and to allow AliasAnalysis to
consider a noalias-attributed argument to be an "identified object".
To support this, refactor a new "based on" concept out of the current
pointer aliasing "associated" concept. This "based on" concept is very
similar to (though it is not identical with) the "based on" concept
in C99.
Also, reword the definition of NoAlias to more closely describe the
concept that the optimizer uses.
llvm-svn: 107495
2010-07-02 18:41:32 +00:00
Bill Wendling
03bcd6ecc8
Implement the "linker_private_weak" linkage type. This will be used for
...
Objective-C metadata types which should be marked as "weak", but which the
linker will remove upon final linkage. However, this linkage isn't specific to
Objective-C.
For example, the "objc_msgSend_fixup_alloc" symbol is defined like this:
.globl l_objc_msgSend_fixup_alloc
.weak_definition l_objc_msgSend_fixup_alloc
.section __DATA, __objc_msgrefs, coalesced
.align 3
l_objc_msgSend_fixup_alloc:
.quad _objc_msgSend_fixup
.quad L_OBJC_METH_VAR_NAME_1
This is different from the "linker_private" linkage type, because it can't have
the metadata defined with ".weak_definition".
Currently only supported on Darwin platforms.
llvm-svn: 107433
2010-07-01 21:55:59 +00:00
Bill Wendling
3632171750
Revert r107205 and r107207.
...
llvm-svn: 107215
2010-06-29 22:34:52 +00:00
Bill Wendling
7d7a50a0ae
Improve explanation.
...
llvm-svn: 107207
2010-06-29 21:41:58 +00:00
Bill Wendling
1767723dbe
Introducing the "linker_weak" linkage type. This will be used for Objective-C
...
metadata types which should be marked as "weak", but which the linker will
remove upon final linkage. For example, the "objc_msgSend_fixup_alloc" symbol is
defined like this:
.globl l_objc_msgSend_fixup_alloc
.weak_definition l_objc_msgSend_fixup_alloc
.section __DATA, __objc_msgrefs, coalesced
.align 3
l_objc_msgSend_fixup_alloc:
.quad _objc_msgSend_fixup
.quad L_OBJC_METH_VAR_NAME_1
This is different from the "linker_private" linkage type, because it can't have
the metadata defined with ".weak_definition".
llvm-svn: 107205
2010-06-29 21:24:00 +00:00
Dan Gohman
b160ba46e8
Add a blurb about -scev-aa.
...
llvm-svn: 107080
2010-06-28 22:09:52 +00:00
Dan Gohman
a3de0186b8
Document problems that I encountered when working on -scev-aa.
...
llvm-svn: 106776
2010-06-24 19:34:03 +00:00
Chris Lattner
58f3c1f863
This makes example Makefile a lot more like actual
...
lib/Transforms/Hello/Makefile, and prevents a lot of errors like "Assertion
`Inserted && "Pass registered multiple times!"' failed"
Patch by Gregory Petrosyan!
llvm-svn: 106471
2010-06-21 20:36:09 +00:00
Eric Christopher
75d4ecb9c3
Remove isTwoAddress from llvm.
...
llvm-svn: 106470
2010-06-21 20:35:09 +00:00
Chris Lattner
456102117a
fix typos reported by Adam Warner!
...
llvm-svn: 106468
2010-06-21 20:31:30 +00:00
Eric Christopher
a4f06da5f1
Another typo.
...
llvm-svn: 106340
2010-06-18 22:51:25 +00:00
Eric Christopher
64ae6577ba
Fix typo.
...
llvm-svn: 106335
2010-06-18 22:33:17 +00:00