Tanya Lattner
da94af763b
Update the release process some more. Lots of good details now.
...
llvm-svn: 79488
2009-08-19 23:07:37 +00:00
Owen Anderson
fe7bbc92e1
Add a first stab at describing LLVMContext.
...
llvm-svn: 79435
2009-08-19 17:58:52 +00:00
Erick Tryzelaar
be86e9fd9a
Update the ocaml docs to work with LLVMContext.
...
llvm-svn: 79431
2009-08-19 17:32:38 +00:00
Tanya Lattner
7fb1616d60
First steps to document new release plan.
...
llvm-svn: 79376
2009-08-18 22:33:28 +00:00
Misha Brukman
f87bb00561
Surrounded variable in <tt> tags for consistency.
...
llvm-svn: 79357
2009-08-18 19:18:40 +00:00
Oscar Fuentes
6d61f558ac
CMake: LLVM_ENABLE_PIC now defaults to ON, as in `configure'. This is
...
required on some platforms for building shared libraries that link to
the LLVM libraries.
llvm-svn: 79339
2009-08-18 15:29:35 +00:00
John McCall
c5680625c8
#include <cstdlib> in the code listing for strtod.
...
llvm-svn: 79285
2009-08-17 21:07:37 +00:00
Jim Grosbach
43bbb9de66
Remove a bit more cruft from the sjlj moving to a backend pass.
...
llvm-svn: 79272
2009-08-17 20:25:04 +00:00
Oscar Fuentes
a127f4e010
CMake: Removed traces of obsolete variable LLVM_PLO_FLAGS.
...
llvm-svn: 79204
2009-08-16 21:01:16 +00:00
Oscar Fuentes
acfd9ad43d
CMake: New option LLVM_BUILD_TOOLS. Renamed LLVM_EXAMPLES to
...
LLVM_BUILD_EXAMPLES and set default to true. Documented.
llvm-svn: 79203
2009-08-16 20:56:30 +00:00
Bill Wendling
4c1b9b02c5
Fix validation errors.
...
llvm-svn: 79131
2009-08-15 20:08:04 +00:00
Bill Wendling
527241b35e
Fix validation errors.
...
llvm-svn: 79130
2009-08-15 20:07:42 +00:00
Chris Lattner
724af2ca77
wrap to 80 cols
...
llvm-svn: 79124
2009-08-15 18:33:10 +00:00
Chris Lattner
da108b4ed4
implement support for CHECK-NEXT: in filecheck.
...
llvm-svn: 79123
2009-08-15 18:32:21 +00:00
Chris Lattner
3ee64e8f4b
document filecheck.
...
llvm-svn: 79110
2009-08-15 16:51:06 +00:00
Chris Lattner
e9ba80db30
fix pasto noticed by Jakub
...
llvm-svn: 79109
2009-08-15 16:18:56 +00:00
Chris Lattner
7e11b725f4
add a stub for futher description of filecheck.
...
llvm-svn: 79106
2009-08-15 15:40:48 +00:00
Chris Lattner
878e2b7deb
add a simple FileCheck man page.
...
llvm-svn: 79105
2009-08-15 15:38:11 +00:00
Bill Wendling
365ab60d7a
Reformatting and some cleanup.
...
llvm-svn: 79088
2009-08-15 08:56:09 +00:00
Owen Anderson
55f1c09e31
Push LLVMContexts through the IntegerType APIs.
...
llvm-svn: 78948
2009-08-13 21:58:54 +00:00
Misha Brukman
952784fbf5
Grammar fix.
...
llvm-svn: 78930
2009-08-13 20:08:52 +00:00
Bob Wilson
2f6a79cbff
Add some release notes about ARM v7 support and known problems.
...
llvm-svn: 78842
2009-08-12 21:19:49 +00:00
Chris Lattner
73e9f8c636
make owen happy by being explicit.
...
llvm-svn: 78688
2009-08-11 17:38:15 +00:00
Jim Grosbach
693e36a3e8
SjLj based exception handling unwinding support. This patch is nasty, brutish
...
and short. Well, it's kinda short. Definitely nasty and brutish.
The front-end generates the register/unregister calls into the SjLj runtime,
call-site indices and landing pad dispatch. The back end fills in the LSDA
with the call-site information provided by the front end. Catch blocks are
not yet implemented.
Built on Darwin and verified no llvm-core "make check" regressions.
llvm-svn: 78625
2009-08-11 00:09:57 +00:00
Devang Patel
714612b1eb
Clarify limitations of a ModulePass requiring a FunctionPass.
...
llvm-svn: 78566
2009-08-10 16:37:29 +00:00
Daniel Dunbar
11595b20fc
Add DEBUG_WITH_TYPE as a clean alternative to tweaking DEBUG_TYPE.
...
This:
--
#undef DEBUG_TYPE
#define DEBUG_TYPE "foo"
DEBUG(...)
#undef DEBUG_TYPE
#define DEBUG_TYPE ""
--
becomes this:
--
DEBUG_WITH_TYPE("foo", ...)
--
llvm-svn: 78435
2009-08-07 23:48:59 +00:00
Anton Korobeynikov
d4f00616cf
Add note about msys perl needed for windows/mingw32 builds.
...
Patch by John Thompson!
llvm-svn: 78304
2009-08-06 12:54:58 +00:00
Benjamin Kramer
eaccdd34a3
Documentation: fix HTML validation errors.
...
llvm-svn: 78196
2009-08-05 15:42:44 +00:00
Chris Lattner
0aff0b2b58
common globals may also not be marked constant.
...
llvm-svn: 78169
2009-08-05 05:41:44 +00:00
Chris Lattner
d055488c72
Clarify common linkage and the requirements on it. Enforce
...
them in the verifier.
llvm-svn: 78160
2009-08-05 05:21:07 +00:00
Edward O'Callaghan
ab8a04c6a8
Minor www site formating improvements.
...
llvm-svn: 78054
2009-08-04 05:24:28 +00:00
Benjamin Kramer
666cf9d2f2
Remove duplicated colons and spaces.
...
llvm-svn: 77892
2009-08-02 12:13:02 +00:00
Chris Lattner
29c6c43cd0
remove the dead PreferredEHDataFormat TAI hook: its now dead
...
even considering #if 0 code.
llvm-svn: 77856
2009-08-02 04:02:52 +00:00
Chris Lattner
6778f1f368
add a note about the build bots
...
llvm-svn: 77796
2009-08-01 19:25:25 +00:00
Owen Anderson
5a1acd9912
Move a few more APIs back to 2.5 forms. The only remaining ones left to change back are
...
metadata related, which I'm waiting on to avoid conflicting with Devang.
llvm-svn: 77721
2009-07-31 20:28:14 +00:00
Owen Anderson
4056ca9568
Move types back to the 2.5 API.
...
llvm-svn: 77516
2009-07-29 22:17:13 +00:00
Dan Gohman
61acaaa0f0
Add one-past-the-end language to the inbounds keyword.
...
llvm-svn: 77460
2009-07-29 16:00:30 +00:00
Chris Lattner
a40b912352
some wording changes.
...
llvm-svn: 77443
2009-07-29 06:44:13 +00:00
Chris Lattner
4719e01a64
link to a newer preso
...
llvm-svn: 77440
2009-07-29 06:19:14 +00:00
Andreas Bolka
8ae4e24c67
Fix a few typos and add links.
...
llvm-svn: 77403
2009-07-29 00:02:05 +00:00
Chris Lattner
14abb832b2
discourage else after "noreturn" statements.
...
llvm-svn: 77387
2009-07-28 22:54:04 +00:00
Dan Gohman
1639c3905e
Add a new keyword 'inbounds' for use with getelementptr. See the
...
LangRef.html changes for details.
llvm-svn: 77259
2009-07-27 21:53:46 +00:00
Owen Anderson
69c464dec4
Move ConstantFP construction back to the 2.5-ish API.
...
llvm-svn: 77247
2009-07-27 20:59:43 +00:00
Andreas Bolka
e39f03351d
Fix typo.
...
llvm-svn: 77244
2009-07-27 20:37:10 +00:00
Dan Gohman
6154a01cee
Following discussion on llvm-dev ("proposed new rule for getelementptr"),
...
add a new "Pointer Aliasing Rules" section.
llvm-svn: 77216
2009-07-27 18:07:55 +00:00
Daniel Dunbar
9d81cc668a
Update target registration description in Writing An LLVM Backend, and add
...
a mention in release notes.
llvm-svn: 77128
2009-07-26 05:41:39 +00:00
Daniel Dunbar
47d679151b
Add TargetRegistry::lookupTarget.
...
- This is a simplified mechanism which just looks up a target based on the
target triple, with a few additional flags.
- Remove getClosestStaticTargetForModule, the moral equivalent is now:
lookupTarget(Mod->getTargetTriple, true, false, ...);
- This no longer does the fuzzy matching with target data (based on endianness
and pointer width) that getClosestStaticTargetForModule was doing, but this
was deemed unnecessary.
llvm-svn: 77111
2009-07-26 02:12:58 +00:00
Daniel Dunbar
e03eecb75f
Remove Value::{isName, getNameRef}.
...
Also, change MDString to use a StringRef.
llvm-svn: 77098
2009-07-25 23:55:21 +00:00
Chris Lattner
47bb37c9d2
eventually we should describe string options in the data structures section
...
llvm-svn: 77054
2009-07-25 07:22:20 +00:00
Chris Lattner
375a3f40af
minor tweaks.
...
llvm-svn: 77053
2009-07-25 07:16:59 +00:00
Daniel Dunbar
fbea11ae66
Ok, "most clients should be unaffected" was a lie. Add notes on upgrading.
...
llvm-svn: 77050
2009-07-25 05:26:53 +00:00
Daniel Dunbar
4975db6276
Initial update to VMCore to use Twines for string arguments.
...
- The only meat here is in Value.{h,cpp} the rest is essential 'const
std::string &' -> 'const Twine &'.
llvm-svn: 77048
2009-07-25 04:41:11 +00:00
Dan Gohman
6b8677015d
Update to new syntax.
...
llvm-svn: 77043
2009-07-25 02:23:48 +00:00
Daniel Dunbar
04bbd9cd34
Rewrite examples to use DEBUG instead of DOUT.
...
llvm-svn: 77042
2009-07-25 01:55:32 +00:00
Daniel Dunbar
4bd53c6479
Tweak, raw_ostream is a ostream, not iostream replacement
...
llvm-svn: 77017
2009-07-24 23:54:34 +00:00
Daniel Dunbar
fcd54f73bf
CodingStandards: Emphasize use of raw_ostream more.
...
- Chris, please approve.
llvm-svn: 77010
2009-07-24 23:04:51 +00:00
Dan Gohman
17151155ed
Remove the IA-64 backend.
...
llvm-svn: 76920
2009-07-24 00:30:09 +00:00
Dan Gohman
902dfff8b6
Rename the new unsigned and signed keywords to nuw and nsw,
...
which stand for no-unsigned-wrap and no-signed-wrap.
llvm-svn: 76810
2009-07-22 22:44:56 +00:00
Sanjiv Gupta
5200f046d5
Added -b option to override the default bitcode output file name.
...
llvm-svn: 76768
2009-07-22 18:41:45 +00:00
Chris Lattner
d63f12373d
fix some wording problems Daniel pointed out, make a example actually real.
...
llvm-svn: 76751
2009-07-22 16:54:14 +00:00
Chris Lattner
611a1883e5
fix typo noticed by Duncan
...
llvm-svn: 76747
2009-07-22 16:30:39 +00:00
Chris Lattner
9567fffc36
remove Bill from the author list: his contribution (describing llvm::Ostream
...
and friends) has been removed awhile ago.
llvm-svn: 76724
2009-07-22 05:43:01 +00:00
Chris Lattner
6720d7edda
add some more topics to the coding standards doc:
...
* Use Early Exits and 'continue' to Simplify Code
* Turn Predicate Loops into Predicate Functions
* Spaces Before Parentheses
* Namespace Indentation
* Anonymous Namespaces
llvm-svn: 76723
2009-07-22 05:40:54 +00:00
Chris Lattner
6bad1376a2
fix some formatting stuff, patch by Edward O'Callaghan!
...
llvm-svn: 76718
2009-07-22 04:21:40 +00:00
Owen Anderson
47db941fd3
Get rid of the Pass+Context magic.
...
llvm-svn: 76702
2009-07-22 00:24:57 +00:00
Dan Gohman
71dfd782ce
Misc. doc fixes following suggestions from Eli.
...
llvm-svn: 76699
2009-07-22 00:04:19 +00:00
Chris Lattner
843f55346b
fix typo
...
llvm-svn: 76674
2009-07-21 23:17:26 +00:00
Chris Lattner
3a56ae8bbb
Various doc updates from Edward O'Callaghan!
...
llvm-svn: 76668
2009-07-21 22:47:03 +00:00
Torok Edwin
944df00962
Add a few fairly obvious API changes I noticed while porting some old code.
...
llvm-svn: 76636
2009-07-21 20:27:10 +00:00
Dan Gohman
b07de44d5a
Documentation for the new non-overflow and exact keywords.
...
llvm-svn: 76495
2009-07-20 22:41:19 +00:00
Chris Lattner
58f9bb2ccd
implement a new magic global "llvm.compiler.used" which is like llvm.used, but
...
doesn't cause ".no_dead_strip" to be emitted on darwin.
llvm-svn: 76399
2009-07-20 06:14:25 +00:00
Chris Lattner
ae76db5edd
document llvm.used and llvm.metadata. Stub out llvm.global_[cd]tors
...
llvm-svn: 76396
2009-07-20 05:55:19 +00:00
Bill Wendling
8693ef8558
Rename the index to linkage types.
...
llvm-svn: 76394
2009-07-20 02:41:50 +00:00
Bill Wendling
3023511345
More reformatting.
...
llvm-svn: 76393
2009-07-20 02:39:26 +00:00
Bill Wendling
972b720cc1
Fix HTML violations.
...
llvm-svn: 76392
2009-07-20 02:32:41 +00:00
Bill Wendling
d9a66f73c8
Obsessivly reformat.
...
llvm-svn: 76391
2009-07-20 02:29:24 +00:00
Bill Wendling
a3c6f6bffa
Add plumbing for the `linker_private' linkage type. This type is meant for
...
"private" symbols which the assember shouldn't strip, but which the linker may
remove after evaluation. This is mostly useful for Objective-C metadata.
This is plumbing, so we don't have a use of it yet. More to come, etc.
llvm-svn: 76385
2009-07-20 01:03:30 +00:00
Chris Lattner
cb3f64f945
fix some typos pointed out by Hidenobu Seki
...
llvm-svn: 76342
2009-07-18 21:47:15 +00:00
Daniel Dunbar
d476720341
cmake builds don't need this hack for MSVC anymore.
...
llvm-svn: 76329
2009-07-18 20:10:04 +00:00
Reid Kleckner
fc8a2d5a83
Add EngineBuilder to ExecutionEngine in favor of the five optional argument EE::create().
...
Also a test commit.
llvm-svn: 76276
2009-07-18 00:42:18 +00:00
Chris Lattner
fd8dea4c47
end sentence in period, draw attention to the fact that you should
...
only do this if you are a crazy russian hacker. ;-)
llvm-svn: 76241
2009-07-17 21:14:28 +00:00
Chris Lattner
ec19f37322
we beat exceptions out of lib/system a long time ago.
...
llvm-svn: 76240
2009-07-17 21:11:24 +00:00
Anton Korobeynikov
c8ce7b08ba
Add support for naked functions
...
llvm-svn: 76198
2009-07-17 18:07:26 +00:00
Daniel Dunbar
412e4fc5a1
Fix typo.
...
llvm-svn: 76186
2009-07-17 16:41:57 +00:00
Nick Lewycky
d562ab1cfd
Add broken gcc from PR4532.
...
llvm-svn: 76157
2009-07-17 06:32:10 +00:00
Owen Anderson
c277dc408b
Privatize the ConstantFP table. I'm on a roll!
...
llvm-svn: 76097
2009-07-16 19:05:41 +00:00
Dan Gohman
b9ee3f8963
Add a note about the raw_fd_ostream API change.
...
llvm-svn: 75818
2009-07-15 19:59:19 +00:00
Owen Anderson
53a52215b5
Begin the painful process of tearing apart the rat'ss nest that is Constants.cpp and ConstantFold.cpp.
...
This involves temporarily hard wiring some parts to use the global context. This isn't ideal, but it's
the only way I could figure out to make this process vaguely incremental.
llvm-svn: 75445
2009-07-13 04:09:18 +00:00
Chris Lattner
7b9d6ebb9c
remove llvm.part.set.* and llvm.part.select.*. They have never been
...
implemented in codegen, have no frontend to generate them, and are
better implemented with pattern matching (like the ppc backend does
to generate rlwimi/rlwinm etc).
PR4543
llvm-svn: 75430
2009-07-12 21:08:53 +00:00
Daniel Dunbar
97880ae12a
Add an LLVM API change.
...
llvm-svn: 75426
2009-07-12 20:41:27 +00:00
Chris Lattner
bbe228ba10
be explicit about making comments real sentences.
...
llvm-svn: 75406
2009-07-12 00:10:24 +00:00
Mikhail Glushenkov
0decbb2ad0
Regenerate.
...
llvm-svn: 75376
2009-07-11 19:28:00 +00:00
Mikhail Glushenkov
bee767fa26
Update documentation.
...
llvm-svn: 75375
2009-07-11 19:27:40 +00:00
Mikhail Glushenkov
4e63f335ae
Regenerate.
...
llvm-svn: 75167
2009-07-09 19:39:49 +00:00
Mikhail Glushenkov
7ab20c7cf9
Documentation update.
...
llvm-svn: 75166
2009-07-09 19:39:16 +00:00
Owen Anderson
a771459bb1
Push LLVMContext _back_ through IRBuilder.
...
llvm-svn: 75040
2009-07-08 20:50:47 +00:00
Rafael Espindola
ca4231e353
Update the example to show that an archive can contain llvm bitcode.
...
llvm-svn: 75000
2009-07-08 11:13:34 +00:00
Nick Lewycky
a21d3daadc
Remove the vicmp and vfcmp instructions. Because we never had a release with
...
these instructions, no autoupgrade or backwards compatibility support is
provided.
llvm-svn: 74991
2009-07-08 03:04:38 +00:00
Dan Gohman
628af7a4bc
Add a paragraph about the Add->FAdd API change.
...
llvm-svn: 74941
2009-07-07 20:05:15 +00:00
Mikhail Glushenkov
ff4718b0a1
Regenerate.
...
llvm-svn: 74914
2009-07-07 16:44:20 +00:00