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
Mikhail Glushenkov
54751921ca
Regenerate.
...
llvm-svn: 74908
2009-07-07 16:09:48 +00:00
Duncan Sands
78cd3e5472
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
6b92174dda
Describe the LLVMContext API change.
...
llvm-svn: 74701
2009-07-02 16:48:38 +00:00
Daniel Dunbar
84190f9a4d
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
c4501d5242
add a FAQ.
...
llvm-svn: 74538
2009-06-30 17:10:19 +00:00
Chris Lattner
67f2a4ac4e
got confused again
...
llvm-svn: 74514
2009-06-30 06:27:54 +00:00
Chris Lattner
6ad089cc54
fix some issues Jeff Yasskin noticed
...
llvm-svn: 74512
2009-06-30 06:20:03 +00:00
Chris Lattner
56c1094999
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
7b366b5d47
Regenerate.
...
llvm-svn: 74485
2009-06-30 00:16:43 +00:00
David Greene
efa19619c8
Implement !cast<string>.
...
llvm-svn: 74444
2009-06-29 20:05:29 +00:00
Shantonu Sen
89d5c4196e
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
0751a28888
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
2b4a7dc1dc
Regenerate.
...
llvm-svn: 74192
2009-06-25 18:21:10 +00:00
Mikhail Glushenkov
d1d21a1ce9
Update documentation.
...
llvm-svn: 74191
2009-06-25 18:20:44 +00:00
Jeffrey Yasskin
e3dccb7047
ReleaseNotes.External Projects += Rubinius
...
llvm-svn: 74119
2009-06-24 21:26:42 +00:00
Jeffrey Yasskin
c3aff2c3fa
ReleaseNotes.External Projects += Unladen Swallow
...
llvm-svn: 74116
2009-06-24 21:09:13 +00:00
Duncan Sands
d1b5115986
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
2ae473f739
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
667cd9abe2
Fix link to BasicBlock doxygen documentation in Programmer's Manual
...
llvm-svn: 73635
2009-06-17 21:12:26 +00:00
Mikhail Glushenkov
132a47191d
Formatting fix.
...
llvm-svn: 73600
2009-06-17 03:09:39 +00:00
Mikhail Glushenkov
7af1d248f5
Regenerate.
...
llvm-svn: 73597
2009-06-17 02:56:48 +00:00
Chris Lattner
eaae8d0cdc
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
4741b5782a
Update the threading section to reflect current plans/implementation.
...
llvm-svn: 73521
2009-06-16 18:04:19 +00:00
Owen Anderson
eb105f99ec
Fix validation errors.
...
llvm-svn: 73515
2009-06-16 17:40:28 +00:00
Eli Friedman
8bc032c97c
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
Owen Anderson
f0ffb777d9
Add initial stab at documenting the use of LLVM with threaded clients.
...
Comments welcome!
llvm-svn: 73456
2009-06-16 01:17:16 +00:00
Mikhail Glushenkov
b4b44ea71c
Regenerate.
...
llvm-svn: 73449
2009-06-16 00:14:20 +00:00
Dan Gohman
405cf6c282
Rewrite the noredzone description, attempting to avoid confusing language.
...
llvm-svn: 73421
2009-06-15 21:18:01 +00:00
Dan Gohman
5b2f62059b
Fix a typo.
...
llvm-svn: 73397
2009-06-15 18:22:49 +00:00
Dan Gohman
1b1b7e1fbd
Reword the description of the noredzone attribute.
...
llvm-svn: 73394
2009-06-15 17:37:09 +00:00
Torok Edwin
4378bf098c
x86_64 was completely missing from the target triples supported by the X86 code
...
generator!
llvm-svn: 73385
2009-06-15 12:17:44 +00:00
Chris Lattner
42670d8b24
remove some old CVS-specific arguments that don't work with SVN.
...
llvm-svn: 73369
2009-06-15 04:18:54 +00:00
Devang Patel
310fd4ad03
Document noredzone and noimplicitfloat function attributes.
...
llvm-svn: 73246
2009-06-12 19:45:19 +00:00
Oscar Fuentes
46fed3b475
CMake: New variable LLVM_LIBDIR_SUFFIX.
...
Patch by Ingmar Vanhassel!
llvm-svn: 73216
2009-06-12 02:49:53 +00:00
Oscar Fuentes
4a899c7e33
CMake: Documented how to cross-compile with CMake.
...
llvm-svn: 73181
2009-06-11 04:45:08 +00:00
David Greene
58a6b76cfd
Revert 73074 and 73099 because Windows doesn't have POSIX
...
regular expressions. We will add an OpenBSD implementation
and re-apply ASAP.
llvm-svn: 73138
2009-06-09 18:31:17 +00:00
David Greene
67c05bff31
Add a !patsubst operator. Use on string types.
...
llvm-svn: 73099
2009-06-08 23:05:37 +00:00
David Greene
26433c2bec
Update documentation.
...
llvm-svn: 73092
2009-06-08 22:38:07 +00:00
Daniel Dunbar
7921a59462
Document the stack alignment part of target data description.
...
llvm-svn: 73089
2009-06-08 22:17:53 +00:00
David Greene
07eba05a61
Add a !regmatch operator to do pattern matching in TableGen.
...
llvm-svn: 73074
2009-06-08 17:00:34 +00:00
Nick Lewycky
03f80adeab
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
a5b9645c4b
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
8631e0fd9c
--plugin is not needed for bfd anymore. Update docs.
...
llvm-svn: 72867
2009-06-04 16:08:10 +00:00
Oscar Fuentes
208a87314b
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
b681144334
lets not forget about c++!
...
llvm-svn: 72778
2009-06-03 15:42:26 +00:00
Oscar Fuentes
6133813eb4
CMake: Implements and documents option LLVM_ENABLE_ASSERTS.
...
llvm-svn: 72774
2009-06-03 15:11:25 +00:00
Torok Edwin
8608a4287d
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
1a4eea5ad6
Document how phi and invoke instructions interact with SSA form.
...
llvm-svn: 72762
2009-06-03 10:20:10 +00:00
Nick Lewycky
8e2c4f4716
Metadata uses metadata type not empty struct.
...
llvm-svn: 72623
2009-05-30 16:08:30 +00:00
Nick Lewycky
adbc284666
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
9d809cad50
Fix some typos
...
llvm-svn: 72579
2009-05-29 17:08:57 +00:00
Nick Lewycky
aab930a5db
Remove border around table used for layout.
...
llvm-svn: 72357
2009-05-24 02:46:06 +00:00
Dan Gohman
9069d890e8
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
6d437694ab
Add some missing steps to the sacred testing ritual scriptures.
...
llvm-svn: 72222
2009-05-21 20:23:59 +00:00
Cristian Cadar
1e059f6080
Test commit.
...
llvm-svn: 72092
2009-05-19 01:56:08 +00:00
Evan Cheng
e87bd1d8f7
Add short descriptions of 'implicit' and 'parallel'.
...
llvm-svn: 72050
2009-05-18 22:14:45 +00:00
Bill Wendling
e9353d7d6f
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
3587eed2c4
Implement !if, analogous to $(if) in GNU make.
...
llvm-svn: 71815
2009-05-14 23:26:46 +00:00
David Greene
d571b3c94b
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
e917fff30f
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
98ed3c7273
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
e8f3b27e65
Implement !cast.
...
llvm-svn: 71794
2009-05-14 21:22:49 +00:00
Jim Grosbach
1a18dcc34a
clean up line-wrapping
...
llvm-svn: 71771
2009-05-14 15:44:15 +00:00
Jim Grosbach
06928192ae
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
f7b83c7ae7
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
784ae669ab
garbage allocation is not a good idea :)
...
llvm-svn: 71680
2009-05-13 18:02:09 +00:00
Bill Wendling
cb368e295d
Use llvm::raw_stream instead of llvm::Streams.
...
llvm-svn: 71573
2009-05-12 18:29:42 +00:00
Nick Lewycky
b8f9b7a965
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
e648c28e73
fix typo
...
llvm-svn: 71362
2009-05-09 18:11:50 +00:00
Bill Wendling
9ee6a31bb8
Fix typo.
...
llvm-svn: 71260
2009-05-08 20:49:29 +00:00
Duncan Sands
1efabaaa2a
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
4707bf4057
Regenerate documentation.
...
llvm-svn: 71055
2009-05-06 01:41:47 +00:00
Dan Gohman
d99feb8da4
Add some more documentation for x86 special address spaces.
...
llvm-svn: 71012
2009-05-05 20:48:47 +00:00
Chris Lattner
be9fa506ad
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
dad5871f84
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
680ae74885
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
f031421afe
be very explicit that readnone/readonly functions can't
...
throw exceptions.
llvm-svn: 70788
2009-05-03 18:49:37 +00:00
Misha Brukman
3268c95840
HTML-escape '>' as '>' in sample C++ code.
...
llvm-svn: 70569
2009-05-01 20:40:51 +00:00