Commit Graph

9247 Commits

Author SHA1 Message Date
Brian Gaeke
908647f815 Only default to the llvm-gcc in ~lattner if that directory exists.
Only warn if python version is not right; don't abort.
Add sanity checks for --with-llvmgccdir, with a big warning message at the end.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10024 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-16 18:37:46 +00:00
Brian Gaeke
e9dd3f1aa8 As per PR96, don't build subdirs if LLVMGCCDIR is not set to something
reasonable, instead, print out a "LOUD warning".


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10023 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-16 06:51:53 +00:00
Misha Brukman
076438b633 Stylesheets: they do a website good!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10003 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-14 17:34:38 +00:00
Chris Lattner
179bc7dcb1 Implement a small optimization to handling of GEP's that are equivalent to casts.
This results in substantially reduced collapsing for some testcases


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10002 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-14 17:09:46 +00:00
Chris Lattner
db9546e324 I can't believe the incompetence of the people I have to deal with around here.
These fools don't even wrap code at 80 columns.

Oh wait, _I_ wrote that.  That explains a lot!!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9999 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-14 16:34:25 +00:00
Chris Lattner
6e4046f425 Bugz come in, bugs go out
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9995 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-14 06:42:01 +00:00
Chris Lattner
8dc6ba9a12 Fix PR 110: the constant folding code assumes that if something is not a
constant expression, but is of (for example) ubyte type, then it is a
ConstantUInt.  This was not true for placeholders.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9994 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-14 06:38:46 +00:00
Chris Lattner
60e9742e82 This is obviously illegal C++ code, but was apparently accepted by 3.3
bork


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9993 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-14 06:03:05 +00:00
Misha Brukman
3449f4f1db Give props to Reid Spencer for the namespacification work.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9992 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-14 05:37:10 +00:00
Misha Brukman
c99037d6d5 Brian implemented the vaarg instruction in the interpreter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9989 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-14 03:30:43 +00:00
Chris Lattner
5158aaf20e Expose the verifier to opt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9984 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 19:47:29 +00:00
Brian Gaeke
172489c77b Removed link from the docs index too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9983 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 19:32:14 +00:00
Chris Lattner
a8d76d4bde As the comments indicate, this is a temporary, repulsive, hack
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9982 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 19:26:54 +00:00
Chris Lattner
917e804253 Implement feature: InstCombine/2003-11-13-ConstExprCastCall.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9981 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 19:17:02 +00:00
Chris Lattner
623f707bee Instcombine should promote this, and because it isn't, we are failing poolalloc tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9980 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 19:05:15 +00:00
Chris Lattner
a366c98077 Trying to get the dsgraph for an external function is bad for DSA's health
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9979 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 18:48:11 +00:00
Misha Brukman
cf95d4fe42 Fixed word order.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9978 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 18:03:11 +00:00
Chris Lattner
7676f3b0cd NEW testcase for PR84 :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9967 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 06:19:56 +00:00
Brian Gaeke
8da17489aa Change LLI's internal representation of va_list to a pointer to the next
argument to be returned by va_arg. This allows va_lists to be passed
between different LLVM procedures (though it is unlikely that an LLI
va_list would make sense to an external function, except by chance.)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9965 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 06:06:01 +00:00
Chris Lattner
79390d48d0 Implement the CompleteBU pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9964 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 05:05:41 +00:00
Chris Lattner
21fc51daa5 Add methods for implementation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9963 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 05:05:34 +00:00
Chris Lattner
6acfe92b32 Minor code cleanup
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9962 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 05:04:19 +00:00
Chris Lattner
a3f5f80f2b Remove needless dependence on boost
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9961 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 04:11:30 +00:00
Chris Lattner
a190766a54 Disable integer tracking by default
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9960 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 03:10:49 +00:00
Chris Lattner
de0579d946 Add namespace qualifier
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9959 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 02:30:22 +00:00
Chris Lattner
2d3e1ee93c Minor cleanups
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9958 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 02:01:41 +00:00
Chris Lattner
95724a4aec Add an initial version of the CompleteBUDataStructures class, which is currently
identical to the BU pass, but has an accurate call graph


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9956 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 01:43:00 +00:00
Chris Lattner
7d26815d8d Add an initial version of the CompleteBUDataStructures pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9955 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 01:42:38 +00:00
Misha Brukman
c6b1584de6 Include the file before we close the llvm namespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9954 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 00:23:05 +00:00
Misha Brukman
6275a04768 Substantially re-organized this file:
* There is now only one pass to print out assembly instead of two
* It is a FunctionPass
* The Module-level printing of globals is now in doFinalization() method of the
  FunctionPass
* The code has been reformatted to follow LLVM coding standards
* Some comments, not all, were doxygenified
* Last but not least, the function to create an instance of this pass is also no
  longer a method in the UltraSparc class.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9953 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 00:22:19 +00:00
Misha Brukman
661a571053 The function to create an instance of this pass is no longer a method of
the UltraSparc class.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9952 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 00:19:02 +00:00
Misha Brukman
7e060be881 The functions to create new instances of passes are no longer methods in the
UltraSparc class. Comments are also doxygen-compatible now.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9951 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 00:17:20 +00:00
Misha Brukman
1be1a235d7 * Put command-line switches in their own namespace
* Pass creation functions are no longer in the UltraSparc class


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9950 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 00:16:28 +00:00
Misha Brukman
bede635646 Force a dependency on the .inc file, which must be generated!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9949 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 00:05:09 +00:00
Chris Lattner
9a92729581 Fine-grainify namespaces for this library
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9948 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 23:11:14 +00:00
Misha Brukman
bfcadffd4c You cannot debug namespacified LLVM with GDB 5.x anymore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9946 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 22:55:13 +00:00
Brian Gaeke
502c481a8f Add another fixed bug.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9945 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 22:48:52 +00:00
Chris Lattner
e94e0edc3e Fix faulty namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9943 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 22:45:14 +00:00
Misha Brukman
811ce9f4ca Regenerated `configure' for adding Makefiles and test.in to FreeBench
benchmarks.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9942 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 22:16:51 +00:00
Misha Brukman
960624b187 OK, scratch my last post, this actually *does* work, those syntax errors were
imaginary.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9941 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 22:16:23 +00:00
Chris Lattner
d0a23ab916 Add new testcase for PR112
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9940 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 22:15:55 +00:00
Misha Brukman
73312988ba Apparently adding these entries and regenerating llvm/configure results in
syntax errors. Reverting the patch until I can figure out what's going on.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9939 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 21:51:44 +00:00
Misha Brukman
55414671ba Some programs actually require an input to run. The nerve!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9938 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 21:45:04 +00:00
Brian Gaeke
558992dfb5 Mention LLVM cast instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9936 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 21:39:31 +00:00
Brian Gaeke
78a371009f Update section on GNU lightning fp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9935 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 21:38:50 +00:00
Brian Gaeke
0c77aebe59 I won't claim we're "better than and/or different from..." at Misha's behest.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9934 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 21:36:29 +00:00
John Criswell
fed0b2995e Regress to not using the llvm namespace.
This keeps Pool Allocation stuff from compiling.
We can re-visit it later when we have time to do it right.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9932 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 21:32:06 +00:00
Brian Gaeke
7af03e9d85 Make the beginning of this page look like the beginnings of other pages.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9930 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 20:47:30 +00:00
Brian Gaeke
1ce764e083 index.html: Add link to llvm vs. the world
llvm.css: Add padding on top and bottom so that letters do not merge with
surrounding whitespace


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9929 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 20:31:18 +00:00
Chris Lattner
2f002b5e0b This color is making me want to puke :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9928 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 20:24:39 +00:00