Chris Lattner
be9a1813c6
Make getNumBackEdges more efficient
...
llvm-svn: 9063
2003-10-12 22:14:27 +00:00
Chris Lattner
6a014a4eb7
Files moved to the LoopSimplify directory
...
llvm-svn: 9062
2003-10-12 21:57:11 +00:00
Chris Lattner
f4ca01758d
Rename loop preheaders pass to loop simplify
...
llvm-svn: 9061
2003-10-12 21:52:28 +00:00
Chris Lattner
1a127e7bb9
Rename -preheaders pass. Spelling fix
...
llvm-svn: 9060
2003-10-12 21:51:55 +00:00
Chris Lattner
1c8a980870
File is renamed to LoopSimplify.cpp
...
llvm-svn: 9059
2003-10-12 21:44:18 +00:00
Chris Lattner
7fe9661cae
First step in renaming the preheaders pass to loopsimplify
...
llvm-svn: 9058
2003-10-12 21:43:28 +00:00
Chris Lattner
22ced464b4
The -preheaders pass is now known as -loopsimplify
...
llvm-svn: 9057
2003-10-12 21:42:35 +00:00
Chris Lattner
510dfc942a
The preheader insertion pass only depends on the CFG. Mark it as such, which
...
allows GCCAS to only run it once.
llvm-svn: 9056
2003-10-12 19:33:10 +00:00
Chris Lattner
bfffd3052d
Rename method
...
llvm-svn: 9055
2003-10-12 18:52:12 +00:00
Chris Lattner
8b5c8f4722
Rename method to indicate what it does
...
llvm-svn: 9054
2003-10-12 18:51:53 +00:00
Chris Lattner
5567441de9
* Spell "necessary" correctly
...
* Print floating point values using C99 hexadecimal style FP if possible.
This increases the number of floating point constants that may be emitted
inline, and improves precision for global variable initializers which
can not be emitted in integer form.
This fixes the Olden/Power benchmark with the CBE!!!!
llvm-svn: 9052
2003-10-12 08:12:58 +00:00
Chris Lattner
fb1eb84a7d
Test that we can emit global initializers that are not normal FP values
...
llvm-svn: 9050
2003-10-12 07:31:25 +00:00
Chris Lattner
b81f5e6db8
* Be TBAA safe
...
* Fix isFPCSafeToPrint to find more constants safe to print, which it was
failing because ftostr was padding with leading space characters.
* Scan the entire module for global constants instead of each function at a
time. This has the advantage of allowing us to emit constants at global
scope instead of function scope. This speeds FP programs quite a bit.
llvm-svn: 9048
2003-10-12 04:36:29 +00:00
Brian Gaeke
3f59e62c08
Greatly expand documentation comment at head of file... I had to
...
try to understand it; maybe this will help someone else do so too.
Default CVSRootDir to $CVSROOT first, then the path in ~vadve only if $CVSROOT
was not set.
Checkout with -z3 if we might be checking out over ssh/rsh.
Check the filename of gnuplot to see if it is executable; if not, as a
last resort, try just plain "gnuplot", hoping it is in the path somewhere.
Remove a little extra whitespace.
llvm-svn: 9046
2003-10-11 05:34:00 +00:00
Brian Gaeke
143f9b5000
Make mmap's fd for anonymous memory acquisition default to -1, except on
...
Linux. This is consistent with what FreeBSD and Solaris both want.
This makes the JIT work on FreeBSD 5.1-RELEASE. Whee.
llvm-svn: 9045
2003-10-11 03:51:18 +00:00
Brian Gaeke
4fba6f8089
Quote qmtest args in $(CONTEXT).
...
I don't remember precisely what bug this fixed, but I remember that
it fixed a bug. Sorry. (I think one of these args had a Funny Shell Character
in it, or a space, or something, in my last build, and this seemed
like the obvious fix.)
llvm-svn: 9044
2003-10-11 00:10:05 +00:00
Chris Lattner
58fc2b3a5b
Actually pass in a pointer to the thrown object, not a pointer to the
...
exception header. This is the final missing piece from the PR#27 puzzle.
llvm-svn: 9043
2003-10-10 22:55:55 +00:00
Brian Gaeke
2f888cb5b5
This seems to work around some unobvious bug in gcc on sparc which was
...
causing the build of lib/Target/X86 to fail.
llvm-svn: 9042
2003-10-10 21:55:29 +00:00
John Criswell
4a244d487d
Removed the AnalyzeTest class.
...
llvm-svn: 9041
2003-10-10 20:24:56 +00:00
John Criswell
446ab498a5
Make the clean target remove the QMTest temporary directory.
...
Remove QMTest python classes which are no longer used.
llvm-svn: 9040
2003-10-10 19:52:30 +00:00
John Criswell
fcba925799
Renamed the feature subtests so that they do not begin with 'f'. It was
...
never necessary to do that to denote them as feature tests.
Removed the Feature.asm tests as they are the same as the Feature.mc
tests.
llvm-svn: 9039
2003-10-10 19:50:53 +00:00
Brian Gaeke
bb70cb175c
Don't include <stdlib.h>.
...
llvm-svn: 9038
2003-10-10 19:12:45 +00:00
Brian Gaeke
acbc37a19e
Don't include "Config/stdlib.h".
...
llvm-svn: 9037
2003-10-10 19:12:22 +00:00
Brian Gaeke
b4b2fa9060
Include <cctype> and <cstdlib> instead of <ctype.h> and "Config/stdlib.h".
...
llvm-svn: 9036
2003-10-10 19:12:08 +00:00
Brian Gaeke
7f0669e624
No longer used anywhere.
...
Dead.
This is a dead header.
It's not pining! It's passed on! This header is no more! It has ceased
to be! It's expired and gone to meet its maker! It's a stiff! Bereft
of life, it rests in peace! If you hadn't nailed it to the perch it'd
be pushing up the daisies! Its metabolic processes are now history! It's
off the twig! It's kicked the bucket! It's shuffled off its mortal coil,
run down the curtain, and joined the bleeding choir invisibile!! THIS IS
AN EX-HEADER!!
llvm-svn: 9035
2003-10-10 18:58:07 +00:00
John Criswell
6ca52681b0
Fixed spelling.
...
llvm-svn: 9034
2003-10-10 18:51:11 +00:00
Brian Gaeke
edc3b79945
Rewrite head-of-file comment.
...
Include <cstdio> instead of <stdio.h>.
llvm-svn: 9033
2003-10-10 18:47:08 +00:00
Brian Gaeke
e5249bf429
Include <cstdio> instead of <stdio.h>.
...
llvm-svn: 9032
2003-10-10 18:46:52 +00:00
Brian Gaeke
a3f850a182
Don't include Config/stdio.h or <stdio.h>.
...
llvm-svn: 9031
2003-10-10 18:46:29 +00:00
John Criswell
b1e5b719de
Initial checkin of Testing Guide.
...
Still very rough, IMHO.
llvm-svn: 9030
2003-10-10 18:42:49 +00:00
Chris Lattner
dc3f14015e
Add a new -disable-inlining option
...
llvm-svn: 9028
2003-10-10 18:18:53 +00:00
Misha Brukman
868eac95dd
Fix spelling.
...
llvm-svn: 9027
2003-10-10 17:57:28 +00:00
Misha Brukman
e63af2ec7e
Fix grammar.
...
llvm-svn: 9026
2003-10-10 17:56:49 +00:00
Misha Brukman
c59161ff84
Fix spelling/grammar.
...
llvm-svn: 9023
2003-10-10 17:54:14 +00:00
Misha Brukman
e7d07e3cf1
* Tabs to spaces
...
* Doxygenified function comments
* Added FIXMEs to solicit documentation for other functions
llvm-svn: 9022
2003-10-10 17:45:12 +00:00
Misha Brukman
32c5aec6ec
Fix spelling.
...
llvm-svn: 9021
2003-10-10 17:42:19 +00:00
Misha Brukman
9fcbd8d16f
* Doxygenified comments
...
* Wrap code at 80 columns
* Ordered includes according to LLVM style guide
llvm-svn: 9020
2003-10-10 17:41:32 +00:00
Misha Brukman
2d53099507
Use 'F' for Function instead of 'M'.
...
llvm-svn: 9019
2003-10-10 17:38:31 +00:00
Misha Brukman
a35992da67
Print out just the filename being compiled/linked, not the full path to it.
...
llvm-svn: 9018
2003-10-10 17:37:22 +00:00
Misha Brukman
4815d85f62
Renamed dis.cpp => llvm-dis.cpp
...
llvm-svn: 9017
2003-10-10 17:30:10 +00:00
Misha Brukman
9ebb38a3db
Renamed as.cpp => llvm-as.cpp; this should've happened a long time ago.
...
llvm-svn: 9016
2003-10-10 17:28:53 +00:00
Brian Gaeke
3568966aa6
The code that called strsignal is toast.
...
llvm-svn: 9015
2003-10-10 17:04:43 +00:00
Brian Gaeke
c38ad8b86e
Never set any signal handlers.
...
Never call setjmp(), longjmp() or strsignal().
llvm-svn: 9014
2003-10-10 17:03:22 +00:00
Brian Gaeke
e90a3199eb
Rewrite head-of-file comment.
...
In lookupFunction():
Change to use "F" for Function argument instead of ancient "M".
Remove commented-out code.
Change to use GetAddressOfSymbol instead of dlsym.
llvm-svn: 9013
2003-10-10 17:03:10 +00:00
Brian Gaeke
30e2817dc5
Change to use GetAddressOfSymbol instead of dlsym.
...
llvm-svn: 9012
2003-10-10 17:02:42 +00:00
Brian Gaeke
26333b9b39
Change to use LinkDynamicObject instead of dlopen.
...
llvm-svn: 9011
2003-10-10 17:01:49 +00:00
Brian Gaeke
254dd12289
Change to use strtoul instead of strtoll.
...
llvm-svn: 9010
2003-10-10 17:01:36 +00:00
Misha Brukman
339d9fb58d
Fixing the spelling of this filename.
...
llvm-svn: 9009
2003-10-10 16:57:31 +00:00
Brian Gaeke
ec80b3028e
Add my abstracted dynamic linker support files.
...
llvm-svn: 9008
2003-10-10 16:55:42 +00:00
Chris Lattner
1d18ef00c3
Reserve space for PHI operands
...
llvm-svn: 9007
2003-10-10 16:34:58 +00:00