1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
Commit Graph

3357 Commits

Author SHA1 Message Date
Chris Lattner
581a88dfe2 update clang section.
llvm-svn: 83615
2009-10-09 05:01:15 +00:00
Chris Lattner
3da40cd9cd some updates from users of llvm
llvm-svn: 83551
2009-10-08 16:01:33 +00:00
Chris Lattner
6f4cfe5f53 all content split into sections, still much work to be done.
llvm-svn: 83532
2009-10-08 07:01:46 +00:00
Chris Lattner
8e4073ed26 checkpoint, this is still not comprehendible.
llvm-svn: 83530
2009-10-08 06:27:53 +00:00
Chris Lattner
a296956311 callgraph changes came after the 2.6 branch.
llvm-svn: 83299
2009-10-05 07:07:29 +00:00
Evan Cheng
4d98198a37 Move implicit and paralle to a separate codegen specific section.
llvm-svn: 83291
2009-10-05 02:51:06 +00:00
Chris Lattner
27b99c62cd add some completely unformated and probably incoherent notes about things
I saw while reading all the commits between the 2.5 and 2.6 release branches.

llvm-svn: 83287
2009-10-05 02:12:39 +00:00
Chris Lattner
0731e5bc62 add macruby, fix a validation problem.
llvm-svn: 83142
2009-09-30 06:27:22 +00:00
Jeffrey Yasskin
c9884e1d7a Forgot to update the documentation in r82906. s/DEBUG_RUNTIME/DEBUG_SYMBOLS/.
llvm-svn: 83015
2009-09-28 21:14:38 +00:00
Erick Tryzelaar
f807989d4d Document a bug in the ocaml bindings has wrong linkage values.
llvm-svn: 82966
2009-09-28 04:42:55 +00:00
Mikhail Glushenkov
d020f235d5 Regenerate.
llvm-svn: 82958
2009-09-28 01:28:26 +00:00
Nick Lewycky
04cea17209 Remove the "metadata*" type and simplify the code it complicated. This was only
used to support GlobalVariables storing MDNodes, back when they were derived
from Constant before the introduction of NamedMDNode, but never removed.

llvm-svn: 82943
2009-09-27 23:27:42 +00:00
Chris Lattner
d66a99e60a rename REG -> REGISTER to make it explicit in the doc. <tt>ify some stuff.
llvm-svn: 82892
2009-09-27 08:01:44 +00:00
Chris Lattner
80d69b5973 implement and document support for filecheck variables. This
allows matching and remembering a string and then matching and
verifying that the string occurs later in the file.

Change X86/xor.ll to use this in some cases where the test was
checking for an arbitrary register allocation decision.

llvm-svn: 82891
2009-09-27 07:56:52 +00:00
Nick Lewycky
676778014b Remove dead code from this function and optimize. Update its corresponding
LangRef entry too.

llvm-svn: 82890
2009-09-27 07:55:32 +00:00
Nick Lewycky
d77653667a Correct the version numbers to match those actually tested for by
autoconf/AutoRegen.sh.

llvm-svn: 82886
2009-09-27 04:56:27 +00:00
Nick Lewycky
c54e1a5528 Move the integer type out of 'derived' and into 'primitive'. This permits us
to explain that derived types are all composed of other types, which primitive
types aren't. Without moving integer out of derived, this wouldn't be true.

Perform a few trivial cleanups; 'i1' went from a link to #t_primitive to
#t_integer (a holdover from when it was a bool type I suppose).

llvm-svn: 82884
2009-09-27 00:45:11 +00:00
Dale Johannesen
cbafb61a84 Revise C library functions description to be vaguer, per Chris.
llvm-svn: 82776
2009-09-25 17:04:42 +00:00
Jeffrey Yasskin
4321237b78 This patch causes the --enable-debug-runtime configure flag and the
DEBUG_RUNTIME Makefile variable to pass -g to gcc when building LLVM's objects.
Without this, it's very hard to debug crashes that happen in Release-Asserts
mode but not Debug mode.

llvm-svn: 82775
2009-09-25 16:46:09 +00:00
Chris Lattner
af2ce37cb3 add and document regex support for FileCheck. You can now do stuff like:
; CHECK: movl {{%e[a-z][xi]}}, %eax

or whatever.

llvm-svn: 82717
2009-09-24 21:47:32 +00:00
Dale Johannesen
74af0f3eb0 Clarify that llvm attaches C language semantics to
functions with names that match the C library.

llvm-svn: 82701
2009-09-24 18:38:21 +00:00
Erick Tryzelaar
83d984101e Sync c++ kaleidoscope tutorial with test.
llvm-svn: 82572
2009-09-22 21:14:49 +00:00
Reid Kleckner
057a723621 Add documentation on how to use enable debug information in the JIT and use it with GDB.
llvm-svn: 82425
2009-09-21 02:34:59 +00:00
Chris Lattner
12fdecb172 grammaro
llvm-svn: 82412
2009-09-20 22:45:18 +00:00
Chris Lattner
63735b5e10 implement and document support for CHECK-NOT
llvm-svn: 82408
2009-09-20 22:35:26 +00:00
Chris Lattner
7a72ad7d64 apparently russians are really hard to sort or something!
llvm-svn: 82016
2009-09-16 05:42:12 +00:00
Chris Lattner
8faffd7a23 I can sort, no really.
llvm-svn: 82015
2009-09-16 05:37:13 +00:00
Chris Lattner
dff97f437f make more clear since it is sorted by last name now.
llvm-svn: 82014
2009-09-16 05:36:54 +00:00
Chris Lattner
f84436f884 Doug is now the code owner for most of the Clang frontend.
llvm-svn: 82013
2009-09-16 05:36:07 +00:00
Chris Lattner
2bb1f0bbd8 Ted is christened as the owner of the clang static analyzer.
llvm-svn: 82008
2009-09-16 04:59:30 +00:00
Daniel Dunbar
d383d40999 Put back non-obsolete -f sections for 'opt'.
llvm-svn: 81954
2009-09-15 23:40:07 +00:00
Daniel Dunbar
ee9eb09812 Remove references to obsolete -f option.
llvm-svn: 81911
2009-09-15 20:31:35 +00:00
Daniel Dunbar
cdf090d89f Update llc/opt PODs to clarify they support .ll input.
llvm-svn: 81910
2009-09-15 20:31:28 +00:00
Dan Gohman
98752b1ba2 Give llvm-link a -S option.
llvm-svn: 81859
2009-09-15 15:35:07 +00:00
Erick Tryzelaar
cd5ce50e17 Expose initializing the native target for the execution engine.
llvm-svn: 81800
2009-09-14 21:54:32 +00:00
Erick Tryzelaar
0e2d5db045 Make sure to initialize the fpm in the ocaml tutorial.
llvm-svn: 81799
2009-09-14 21:54:15 +00:00
Oscar Fuentes
8edea46b44 CMake: New user-settable variable LLVM_TARGET_ARCH useful when
cross-compiling.

Patch by Xerxes Rånby!

llvm-svn: 81722
2009-09-13 22:18:38 +00:00
Nick Lewycky
d89dea7a2e Update the tutorial to match changes to examples/Kaleidoscope.
One change I'm not folding in is the removal of two unused variables that
caused warnings, because those were there for expository purposes.

llvm-svn: 81721
2009-09-13 21:38:54 +00:00
Chris Lattner
f895aae180 remove two docs about the old Sparc backend which used Value*'s for vregs.
llvm-svn: 81680
2009-09-13 17:25:49 +00:00
Chris Lattner
a5b806507f move old clang readme here.
llvm-svn: 81679
2009-09-13 17:24:16 +00:00
Chris Lattner
5b8ac24286 we don't want people to override printBasicBlockLabel.
llvm-svn: 81651
2009-09-12 22:57:37 +00:00
Dan Gohman
149ac38d37 Fix llvm-extract's "writing bitcode to a terminal" warning, which wasn't
working. To support this, add an is_displayed() function to raw_ostream,
and generalize Process::StandardOutIsDisplayed and friends in order to
support it.

Also, call RemoveFileOnSignal before creating a file instead of after, so
that the file isn't left behind if the program is interrupted between when
the file is created and RemoveFileOnSignal is called.

While here, add a -S to llvm-extract and port it to IRReader so that it
supports assembly input.

llvm-svn: 81568
2009-09-11 20:46:33 +00:00
Chris Lattner
1619ca8d56 more typos
llvm-svn: 81499
2009-09-11 01:49:31 +00:00
Bill Wendling
2d374c78f6 Fix validation errors.
llvm-svn: 81466
2009-09-10 22:14:16 +00:00
Bill Wendling
7473700cd5 Fix validation errors.
llvm-svn: 81465
2009-09-10 22:12:50 +00:00
Chris Lattner
baa8f93b1c add another broken version of gcc, thanks to Niels Moller for pointing this out.
llvm-svn: 81449
2009-09-10 16:25:02 +00:00
Daniel Dunbar
b15a757410 Remove prcontext.
llvm-svn: 81427
2009-09-10 04:56:59 +00:00
Eric Christopher
6d70d5842d Correct __cxa_end_catch documentation to reflect that it doesn't take any arguments.
llvm-svn: 81307
2009-09-09 01:44:53 +00:00
Chris Lattner
7e056a9740 another typo
llvm-svn: 81243
2009-09-08 19:45:34 +00:00
Chris Lattner
103aabbae7 fix a couple typos pointed out by edwin and duncan
llvm-svn: 81219
2009-09-08 15:13:16 +00:00
Daniel Dunbar
640436d7af Add 'lit' testing tool.
- make install && man $(llvm-config --prefix)/share/man/man1/lit.1 for more
   information.

llvm-svn: 81190
2009-09-08 05:31:18 +00:00
Chris Lattner
a0271f52a5 llvm::cerr is gone.
llvm-svn: 81189
2009-09-08 05:15:50 +00:00
Chris Lattner
c6552ef06f update this to use raw_ostream
llvm-svn: 81188
2009-09-08 05:14:44 +00:00
Chris Lattner
b467389331 add some more notes.
llvm-svn: 81170
2009-09-07 23:33:52 +00:00
Chris Lattner
01f8bf80ac describe undef semantics in some more detail.
llvm-svn: 81167
2009-09-07 22:52:39 +00:00
Daniel Dunbar
076b234d1e Document opt -S argument.
llvm-svn: 81140
2009-09-07 04:03:44 +00:00
Dan Gohman
df6c046bc3 Fix the syntax of add/sub/mul nsw/nuw and sdiv exact.
llvm-svn: 80805
2009-09-02 17:31:42 +00:00
Torok Edwin
21897521c1 Add regular expression matching support, based on OpenBSD regexec()/regcomp()
implementation.

llvm-svn: 80493
2009-08-30 08:24:09 +00:00
Devang Patel
fbaeda732e Reapply 79977.
Use MDNodes to encode debug info in llvm IR.

llvm-svn: 80406
2009-08-28 23:24:31 +00:00
Chris Lattner
04c6dc8fa5 Mark Andersen's as experimental.
llvm-svn: 80328
2009-08-28 00:45:47 +00:00
Reid Kleckner
f6b832774f Allocate the module provider in the Kaleidoscope code on the heap, not the stack, so that it can be properly deleted. Also update the tutorial with the new code. This fixes PR4762, hopefully better than the last time.
llvm-svn: 80138
2009-08-26 20:58:25 +00:00
Devang Patel
10c075a316 Revert 79977. It causes llvm-gcc bootstrap failures on some platforms.
llvm-svn: 80073
2009-08-26 05:01:18 +00:00
Dale Johannesen
f90fc6544b Add an 'inline hint' attribute to represent source
code hints that it would be a good idea to inline
a function ("inline" keyword).  No functional change
yet; FEs do not emit this and inliner does not use it.

llvm-svn: 80063
2009-08-26 01:08:21 +00:00
Dan Gohman
44d265ff91 Update documentation for the -f change.
llvm-svn: 79996
2009-08-25 15:54:01 +00:00
Devang Patel
7d42bfab6c Update DebugInfo interface to use metadata, instead of special named llvm.dbg.... global variables, to encode debugging information in llvm IR. This is mostly a mechanical change that tests metadata support very well.
This change speeds up llvm-gcc by more then 6% at "-O0 -g" (measured by compiling InstructionCombining.cpp!)

llvm-svn: 79977
2009-08-25 05:24:07 +00:00
Chris Lattner
e9f6a3fcdc improve documentation for linker_private linkage.
llvm-svn: 79893
2009-08-24 04:32:16 +00:00
Chris Lattner
9abd08f6f9 disuade people from using ostream.
llvm-svn: 79866
2009-08-23 21:53:47 +00:00
Douglas Gregor
3b7e904fff Don't install the man page for FileCheck
llvm-svn: 79826
2009-08-23 05:24:49 +00:00
Tanya Lattner
1d69b50b8f Update release document with more details.
llvm-svn: 79818
2009-08-23 04:36:30 +00:00
Edward O'Callaghan
16535e6ae7 Note down a few bits and bobs off the top of my head for ReleaseNotes-2.6.html
llvm-svn: 79715
2009-08-22 02:17:22 +00:00
Jim Grosbach
72272286ca Add basic information about SJLJ EH
llvm-svn: 79714
2009-08-22 01:42:39 +00:00
Dan Gohman
0a6e8a4bcd Clarify a few things in the inbounds description.
Describing inbounds in terms of infinitely precise arithmetic prohibits
the assumption address-space-sized integer arithmetic will wrap, with
a wrapped-around value landing within the same object.

llvm-svn: 79538
2009-08-20 17:08:17 +00:00
Sandeep Patel
bf1263a423 Correct ARM v7-A architecture name spelling and add note about hard float.
llvm-svn: 79530
2009-08-20 15:01:16 +00:00
Chris Lattner
d08139d918 fix this back, thanks Eli
llvm-svn: 79508
2009-08-20 03:10:14 +00:00
Chris Lattner
4477f49ef9 minor grammar tweak
llvm-svn: 79498
2009-08-20 00:29:24 +00:00
Tanya Lattner
3fcd0e9616 Update the release process some more. Lots of good details now.
llvm-svn: 79488
2009-08-19 23:07:37 +00:00
Owen Anderson
02c0eaa799 Add a first stab at describing LLVMContext.
llvm-svn: 79435
2009-08-19 17:58:52 +00:00
Erick Tryzelaar
17a7e49077 Update the ocaml docs to work with LLVMContext.
llvm-svn: 79431
2009-08-19 17:32:38 +00:00
Tanya Lattner
89d661628a First steps to document new release plan.
llvm-svn: 79376
2009-08-18 22:33:28 +00:00
Misha Brukman
e3144b3414 Surrounded variable in <tt> tags for consistency.
llvm-svn: 79357
2009-08-18 19:18:40 +00:00
Oscar Fuentes
896c999947 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
0fe3f64893 #include <cstdlib> in the code listing for strtod.
llvm-svn: 79285
2009-08-17 21:07:37 +00:00
Jim Grosbach
5d064eeb2a 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
5c90c2282e CMake: Removed traces of obsolete variable LLVM_PLO_FLAGS.
llvm-svn: 79204
2009-08-16 21:01:16 +00:00
Oscar Fuentes
3ccb434b2f 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
e60376e857 Fix validation errors.
llvm-svn: 79131
2009-08-15 20:08:04 +00:00
Bill Wendling
038bd2c69e Fix validation errors.
llvm-svn: 79130
2009-08-15 20:07:42 +00:00
Chris Lattner
909ce77a58 wrap to 80 cols
llvm-svn: 79124
2009-08-15 18:33:10 +00:00
Chris Lattner
d910c3a30e implement support for CHECK-NEXT: in filecheck.
llvm-svn: 79123
2009-08-15 18:32:21 +00:00
Chris Lattner
42ae1585aa document filecheck.
llvm-svn: 79110
2009-08-15 16:51:06 +00:00
Chris Lattner
23980ad923 fix pasto noticed by Jakub
llvm-svn: 79109
2009-08-15 16:18:56 +00:00
Chris Lattner
30df527288 add a stub for futher description of filecheck.
llvm-svn: 79106
2009-08-15 15:40:48 +00:00
Chris Lattner
2c1ede52d0 add a simple FileCheck man page.
llvm-svn: 79105
2009-08-15 15:38:11 +00:00
Bill Wendling
15eb9cc51e Reformatting and some cleanup.
llvm-svn: 79088
2009-08-15 08:56:09 +00:00
Owen Anderson
9df206d02d Push LLVMContexts through the IntegerType APIs.
llvm-svn: 78948
2009-08-13 21:58:54 +00:00
Misha Brukman
da4d87671d Grammar fix.
llvm-svn: 78930
2009-08-13 20:08:52 +00:00
Bob Wilson
1329e565a3 Add some release notes about ARM v7 support and known problems.
llvm-svn: 78842
2009-08-12 21:19:49 +00:00
Chris Lattner
8d7c0ec32a make owen happy by being explicit.
llvm-svn: 78688
2009-08-11 17:38:15 +00:00
Jim Grosbach
c9a1dd9291 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
cb0d71ad91 Clarify limitations of a ModulePass requiring a FunctionPass.
llvm-svn: 78566
2009-08-10 16:37:29 +00:00
Daniel Dunbar
60887bf820 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
2024baeeb8 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
f3dbf34bbf Documentation: fix HTML validation errors.
llvm-svn: 78196
2009-08-05 15:42:44 +00:00
Chris Lattner
94f55a81bd common globals may also not be marked constant.
llvm-svn: 78169
2009-08-05 05:41:44 +00:00
Chris Lattner
19d238562d 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
3912cfdc0f Minor www site formating improvements.
llvm-svn: 78054
2009-08-04 05:24:28 +00:00
Benjamin Kramer
c2015778ee Remove duplicated colons and spaces.
llvm-svn: 77892
2009-08-02 12:13:02 +00:00
Chris Lattner
d2477587b9 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
2c1ccbe37c add a note about the build bots
llvm-svn: 77796
2009-08-01 19:25:25 +00:00
Owen Anderson
1dc40e205b 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
881d928f9b Move types back to the 2.5 API.
llvm-svn: 77516
2009-07-29 22:17:13 +00:00
Dan Gohman
394863c49d Add one-past-the-end language to the inbounds keyword.
llvm-svn: 77460
2009-07-29 16:00:30 +00:00
Chris Lattner
7bc86c5d43 some wording changes.
llvm-svn: 77443
2009-07-29 06:44:13 +00:00
Chris Lattner
e106454e5d link to a newer preso
llvm-svn: 77440
2009-07-29 06:19:14 +00:00
Andreas Bolka
5707be6a51 Fix a few typos and add links.
llvm-svn: 77403
2009-07-29 00:02:05 +00:00
Chris Lattner
553acfa328 discourage else after "noreturn" statements.
llvm-svn: 77387
2009-07-28 22:54:04 +00:00
Dan Gohman
490eb36e1d 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
256c2c250e Move ConstantFP construction back to the 2.5-ish API.
llvm-svn: 77247
2009-07-27 20:59:43 +00:00
Andreas Bolka
0cb4ca7575 Fix typo.
llvm-svn: 77244
2009-07-27 20:37:10 +00:00
Dan Gohman
40927be3bf 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
4311f3025b 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
62e74f03c7 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
038a7f0d35 Remove Value::{isName, getNameRef}.
Also, change MDString to use a StringRef.

llvm-svn: 77098
2009-07-25 23:55:21 +00:00
Chris Lattner
021a977857 eventually we should describe string options in the data structures section
llvm-svn: 77054
2009-07-25 07:22:20 +00:00
Chris Lattner
5092df83f7 minor tweaks.
llvm-svn: 77053
2009-07-25 07:16:59 +00:00
Daniel Dunbar
794f5b8325 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
251177c96e 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
f6e44e6e47 Update to new syntax.
llvm-svn: 77043
2009-07-25 02:23:48 +00:00
Daniel Dunbar
16ec56532a Rewrite examples to use DEBUG instead of DOUT.
llvm-svn: 77042
2009-07-25 01:55:32 +00:00
Daniel Dunbar
2d76dc5a14 Tweak, raw_ostream is a ostream, not iostream replacement
llvm-svn: 77017
2009-07-24 23:54:34 +00:00
Daniel Dunbar
06b94defcb CodingStandards: Emphasize use of raw_ostream more.
- Chris, please approve.

llvm-svn: 77010
2009-07-24 23:04:51 +00:00
Dan Gohman
62c8b40b66 Remove the IA-64 backend.
llvm-svn: 76920
2009-07-24 00:30:09 +00:00
Dan Gohman
001d777207 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
061f9abed9 Added -b option to override the default bitcode output file name.
llvm-svn: 76768
2009-07-22 18:41:45 +00:00
Chris Lattner
4cd4c075df 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
c075ba7f73 fix typo noticed by Duncan
llvm-svn: 76747
2009-07-22 16:30:39 +00:00
Chris Lattner
e0b6253737 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
44d0425937 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
27be47177d fix some formatting stuff, patch by Edward O'Callaghan!
llvm-svn: 76718
2009-07-22 04:21:40 +00:00
Owen Anderson
cc287b28c9 Get rid of the Pass+Context magic.
llvm-svn: 76702
2009-07-22 00:24:57 +00:00
Dan Gohman
11a1a3ac43 Misc. doc fixes following suggestions from Eli.
llvm-svn: 76699
2009-07-22 00:04:19 +00:00
Chris Lattner
bead0c90ea fix typo
llvm-svn: 76674
2009-07-21 23:17:26 +00:00
Chris Lattner
5646affa23 Various doc updates from Edward O'Callaghan!
llvm-svn: 76668
2009-07-21 22:47:03 +00:00
Torok Edwin
f1dd3f766b 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
8cde898476 Documentation for the new non-overflow and exact keywords.
llvm-svn: 76495
2009-07-20 22:41:19 +00:00
Chris Lattner
eac40b1473 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
36b89d4fb7 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
b0bb37d802 Rename the index to linkage types.
llvm-svn: 76394
2009-07-20 02:41:50 +00:00
Bill Wendling
e9aa2cf10f More reformatting.
llvm-svn: 76393
2009-07-20 02:39:26 +00:00
Bill Wendling
a06bd14d83 Fix HTML violations.
llvm-svn: 76392
2009-07-20 02:32:41 +00:00
Bill Wendling
21db8e8360 Obsessivly reformat.
llvm-svn: 76391
2009-07-20 02:29:24 +00:00
Bill Wendling
1a10a060cb 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
36c1af90d8 fix some typos pointed out by Hidenobu Seki
llvm-svn: 76342
2009-07-18 21:47:15 +00:00
Daniel Dunbar
f53e82f48a cmake builds don't need this hack for MSVC anymore.
llvm-svn: 76329
2009-07-18 20:10:04 +00:00
Reid Kleckner
5460ad390c 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
22beba4992 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
7852f81810 we beat exceptions out of lib/system a long time ago.
llvm-svn: 76240
2009-07-17 21:11:24 +00:00
Anton Korobeynikov
60f7bd3562 Add support for naked functions
llvm-svn: 76198
2009-07-17 18:07:26 +00:00
Daniel Dunbar
112af1d308 Fix typo.
llvm-svn: 76186
2009-07-17 16:41:57 +00:00
Nick Lewycky
1396b57ab1 Add broken gcc from PR4532.
llvm-svn: 76157
2009-07-17 06:32:10 +00:00
Owen Anderson
c63b0e7a30 Privatize the ConstantFP table. I'm on a roll!
llvm-svn: 76097
2009-07-16 19:05:41 +00:00
Dan Gohman
2c9049f5bf Add a note about the raw_fd_ostream API change.
llvm-svn: 75818
2009-07-15 19:59:19 +00:00
Owen Anderson
393d8b0a0c 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
d3eba0efb8 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
b9b0e0fc3d Add an LLVM API change.
llvm-svn: 75426
2009-07-12 20:41:27 +00:00
Chris Lattner
3ca9ece03f be explicit about making comments real sentences.
llvm-svn: 75406
2009-07-12 00:10:24 +00:00
Mikhail Glushenkov
6de3793d9c Regenerate.
llvm-svn: 75376
2009-07-11 19:28:00 +00:00
Mikhail Glushenkov
e779ca7370 Update documentation.
llvm-svn: 75375
2009-07-11 19:27:40 +00:00
Mikhail Glushenkov
fad1db9347 Regenerate.
llvm-svn: 75167
2009-07-09 19:39:49 +00:00
Mikhail Glushenkov
b067c19529 Documentation update.
llvm-svn: 75166
2009-07-09 19:39:16 +00:00
Owen Anderson
9331034838 Push LLVMContext _back_ through IRBuilder.
llvm-svn: 75040
2009-07-08 20:50:47 +00:00
Rafael Espindola
1e5ec149bb 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
d46a7b2d22 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
e5dcff3706 Add a paragraph about the Add->FAdd API change.
llvm-svn: 74941
2009-07-07 20:05:15 +00:00
Mikhail Glushenkov
b21a520ad4 Regenerate.
llvm-svn: 74914
2009-07-07 16:44:20 +00:00
Mikhail Glushenkov
64ebd2413a Regenerate.
llvm-svn: 74908
2009-07-07 16:09:48 +00:00
Duncan Sands
c889d677f1 Clarify that later compiler versions are known to
fail to build the Ada front-end.

llvm-svn: 74793
2009-07-05 12:01:44 +00:00
Owen Anderson
82b4e736c7 Describe the LLVMContext API change.
llvm-svn: 74701
2009-07-02 16:48:38 +00:00
Daniel Dunbar
a4af9cf40b Try to clarify a point about getting DominatorTree info from a module pass.
llvm-svn: 74668
2009-07-01 23:38:44 +00:00
Chris Lattner
b7e452de26 add a FAQ.
llvm-svn: 74538
2009-06-30 17:10:19 +00:00
Chris Lattner
8cf96dce25 got confused again
llvm-svn: 74514
2009-06-30 06:27:54 +00:00
Chris Lattner
14c5ccf843 fix some issues Jeff Yasskin noticed
llvm-svn: 74512
2009-06-30 06:20:03 +00:00
Chris Lattner
f6944ea787 add a note about re-evaluating end() every time through a loop.
llvm-svn: 74511
2009-06-30 06:13:23 +00:00
Mikhail Glushenkov
e0da40ac69 Regenerate.
llvm-svn: 74485
2009-06-30 00:16:43 +00:00
David Greene
7fcd1a3f35 Implement !cast<string>.
llvm-svn: 74444
2009-06-29 20:05:29 +00:00
Shantonu Sen
eb968301d7 Clarify how to configure llvm-gcc-4.2 for use with
test suite. Remove documentation for --with-f2c, which
is no longer supported. Remove information about obtaining
tcl/expect, which ship with Mac OS X by default since
10.4.

llvm-svn: 74271
2009-06-26 05:44:53 +00:00
Devang Patel
84a8914a4a Remove debug info anchors - llvm.dbg.compile_units, llvm.dbg.subprograms
and llvm.dbg.global_variables.

llvm-svn: 74251
2009-06-26 01:49:18 +00:00
Mikhail Glushenkov
cf9179c707 Regenerate.
llvm-svn: 74192
2009-06-25 18:21:10 +00:00
Mikhail Glushenkov
c40a28803f Update documentation.
llvm-svn: 74191
2009-06-25 18:20:44 +00:00
Jeffrey Yasskin
22537a7cf4 ReleaseNotes.External Projects += Rubinius
llvm-svn: 74119
2009-06-24 21:26:42 +00:00
Jeffrey Yasskin
a809ad5166 ReleaseNotes.External Projects += Unladen Swallow
llvm-svn: 74116
2009-06-24 21:09:13 +00:00
Duncan Sands
601ab92515 Start sketching 2.6 release notes. This provides a
place to note major API changes (I've noted the
getABITypeSize -> getAllocSize change).

llvm-svn: 74070
2009-06-24 08:38:48 +00:00
Duncan Sands
02f2e932e3 Clarify that if the alignment is zero then an alignment
compatible with the type will be used (at least the ABI
alignment).

llvm-svn: 73827
2009-06-20 13:26:06 +00:00
Stefanus Du Toit
bbf53428f9 Fix link to BasicBlock doxygen documentation in Programmer's Manual
llvm-svn: 73635
2009-06-17 21:12:26 +00:00
Mikhail Glushenkov
4afdb113a9 Formatting fix.
llvm-svn: 73600
2009-06-17 03:09:39 +00:00
Mikhail Glushenkov
7f2af8872d Regenerate.
llvm-svn: 73597
2009-06-17 02:56:48 +00:00
Chris Lattner
3c85f09f57 Remove support for building LLVM libraries into "relinked"
object files.  Now we always build LLVM libraries into archives (.a files).

This makes the 'make' build work more like the cmake build, among other
things.  Doing this exposed some latent circular library dependencies, so
I think that llvm-config wasn't quite right for .o files anyway.

llvm-svn: 73579
2009-06-16 23:00:42 +00:00
Owen Anderson
e6d490721a Update the threading section to reflect current plans/implementation.
llvm-svn: 73521
2009-06-16 18:04:19 +00:00
Owen Anderson
45f4444e73 Fix validation errors.
llvm-svn: 73515
2009-06-16 17:40:28 +00:00
Eli Friedman
705de594b2 Remove the "llvm.umul.with.overflow is broken" warning; it should be
essentially working now, at least for common cases, and it shouldn't 
silently generate bad code.

llvm-svn: 73484
2009-06-16 10:24:13 +00:00