Chris Lattner
4b6addf98a
Eliminate use of the ConstantPointer class
...
llvm-svn: 10053
2003-11-17 19:19:32 +00:00
Chris Lattner
9d9cbcf246
Constant folding shalt not be built on annotations
...
llvm-svn: 10052
2003-11-17 19:05:17 +00:00
Chris Lattner
ea25538936
Remove usage of ConstantPointer
...
llvm-svn: 10051
2003-11-17 17:28:29 +00:00
Chris Lattner
c96e96b26d
Be a bit more tolerant of broken code
...
llvm-svn: 10050
2003-11-17 01:17:04 +00:00
Chris Lattner
a3bdbd0f82
Fix copy-and-pasteo
...
llvm-svn: 10049
2003-11-17 01:07:58 +00:00
Brian Gaeke
3589140eb7
Regenerated using autoconf-2.57.
...
llvm-svn: 10048
2003-11-17 00:31:43 +00:00
Brian Gaeke
7027ed8cd8
Edit some comments slightly.
...
Set OS (build OS) and ARCH (target arch) based on the proper elements (SYSTEM,
and CPU, respectively) of the CPU-COMPANY-SYSTEM tuples.
Add OS and ARCH settings for PowerPC/Darwin (Mac OS X).
llvm-svn: 10047
2003-11-17 00:30:48 +00:00
Brian Gaeke
c5961314fa
add PR117
...
llvm-svn: 10046
2003-11-16 23:49:26 +00:00
Brian Gaeke
9c917abe9f
Document -disable-opt option that I added.
...
llvm-svn: 10045
2003-11-16 23:39:11 +00:00
Brian Gaeke
747777795f
Include Support/FileUtilities.h.
...
Print module identifier in DumpSymbolNamesFromModule().
In DumpSymbolNamesFromFile(), check whether it is an archive or a bytecode
file, and call the corresponding reader function (ParseBytecodeFile or
ReadArchiveFile).
Unconditionally set MultipleFiles for archives.
Fixes PR117.
llvm-svn: 10044
2003-11-16 23:34:13 +00:00
Brian Gaeke
900cc96e08
Implement skeletal support for __.SYMDEF (ranlib) sections in archives.
...
Correctly parse the Long Filename section of the archive.
When reading in archive members, set their ModuleIDs to
"ARCHIVENAME(MEMBERNAME)", as is traditional.
llvm-svn: 10043
2003-11-16 23:08:48 +00:00
Brian Gaeke
fda1f1835b
When you hand WriteAsOperand a type, it now prints out its symbolic name.
...
llvm-svn: 10042
2003-11-16 23:08:27 +00:00
Brian Gaeke
9f47927b28
When failing a Verifier assertion, use WriteAsOperand to print out the
...
offending types and/or values.
llvm-svn: 10041
2003-11-16 23:07:42 +00:00
Brian Gaeke
eb3de8f39a
Add a -verify option to verify the results of gccld passes.
...
Add a -disable-opt option to turn off gccld optimization passes.
llvm-svn: 10040
2003-11-16 23:07:28 +00:00
Brian Gaeke
7ff0d09adc
When we find a module we want, in an archive, in verbose mode,
...
print out the module's identifier (which should now contain the name
of both the archive and the module.)
Wrap some lines at 80 cols.
llvm-svn: 10039
2003-11-16 23:07:13 +00:00
Chris Lattner
00211f1d80
Don't print 'No predecessors!' on the entry block
...
llvm-svn: 10038
2003-11-16 22:59:57 +00:00
Chris Lattner
9dd6a82318
Bugz fixed
...
llvm-svn: 10037
2003-11-16 22:11:42 +00:00
Chris Lattner
5529caeba7
There is no need to rely on LLI working for this test
...
llvm-svn: 10036
2003-11-16 22:07:45 +00:00
Chris Lattner
9005b8000c
ISO 9899 7.13.2.1 (3) says that "[...] the values of objects of automatic
...
storage duration that are local to the function containing the invocation of the
[...] setjmp macro that do not have volatile-qualified type and have been
changed between the setjmp invocation and longjmp call are indeterminate."
As such, we have to mark all variables in a function that uses 'invoke' as
volatile.
This fixes PR77
llvm-svn: 10035
2003-11-16 22:06:14 +00:00
Chris Lattner
eec1307f43
Testcase for PR116
...
llvm-svn: 10034
2003-11-16 21:47:01 +00:00
Chris Lattner
2f486b8bde
add adce bug
...
llvm-svn: 10033
2003-11-16 21:42:48 +00:00
Chris Lattner
841dd53555
Fix PR116
...
llvm-svn: 10032
2003-11-16 21:39:27 +00:00
Chris Lattner
1765b4cfbd
New testcase, for PR 115
...
llvm-svn: 10031
2003-11-16 20:47:05 +00:00
Chris Lattner
b2e4d6d847
Bugz
...
llvm-svn: 10030
2003-11-16 20:25:24 +00:00
Chris Lattner
82f87e63e8
Fixes for PR114: Thanks to Reid Spencer!
...
llvm-svn: 10029
2003-11-16 20:21:15 +00:00
Brian Gaeke
27b10bc781
Regenerated with autoconf-2.57.
...
llvm-svn: 10025
2003-11-16 18:38:14 +00:00
Brian Gaeke
dfbd3d466a
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.
llvm-svn: 10024
2003-11-16 18:37:46 +00:00
Brian Gaeke
2b00004734
As per PR96, don't build subdirs if LLVMGCCDIR is not set to something
...
reasonable, instead, print out a "LOUD warning".
llvm-svn: 10023
2003-11-16 06:51:53 +00:00
Misha Brukman
c40257f1e5
Stylesheets: they do a website good!
...
llvm-svn: 10003
2003-11-14 17:34:38 +00:00
Chris Lattner
ab6895ea76
Implement a small optimization to handling of GEP's that are equivalent to casts.
...
This results in substantially reduced collapsing for some testcases
llvm-svn: 10002
2003-11-14 17:09:46 +00:00
Chris Lattner
93dea78f85
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!!
llvm-svn: 9999
2003-11-14 16:34:25 +00:00
Chris Lattner
7c04a29ea6
Bugz come in, bugs go out
...
llvm-svn: 9995
2003-11-14 06:42:01 +00:00
Chris Lattner
cd45bc4086
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.
llvm-svn: 9994
2003-11-14 06:38:46 +00:00
Chris Lattner
116c4f73ad
This is obviously illegal C++ code, but was apparently accepted by 3.3
...
bork
llvm-svn: 9993
2003-11-14 06:03:05 +00:00
Misha Brukman
8b6d804cd3
Give props to Reid Spencer for the namespacification work.
...
llvm-svn: 9992
2003-11-14 05:37:10 +00:00
Misha Brukman
133b35ef95
Brian implemented the vaarg instruction in the interpreter.
...
llvm-svn: 9989
2003-11-14 03:30:43 +00:00
Chris Lattner
ef901291c6
Expose the verifier to opt
...
llvm-svn: 9984
2003-11-13 19:47:29 +00:00
Brian Gaeke
d8a4d2b08d
Removed link from the docs index too.
...
llvm-svn: 9983
2003-11-13 19:32:14 +00:00
Chris Lattner
093cc6dc92
As the comments indicate, this is a temporary, repulsive, hack
...
llvm-svn: 9982
2003-11-13 19:26:54 +00:00
Chris Lattner
d76fe4ea7d
Implement feature: InstCombine/2003-11-13-ConstExprCastCall.ll
...
llvm-svn: 9981
2003-11-13 19:17:02 +00:00
Chris Lattner
7ef8dfa9c3
Instcombine should promote this, and because it isn't, we are failing poolalloc tests
...
llvm-svn: 9980
2003-11-13 19:05:15 +00:00
Chris Lattner
a8150c3f8d
Trying to get the dsgraph for an external function is bad for DSA's health
...
llvm-svn: 9979
2003-11-13 18:48:11 +00:00
Misha Brukman
1608115bfc
Fixed word order.
...
llvm-svn: 9978
2003-11-13 18:03:11 +00:00
Chris Lattner
133ba7a2a6
NEW testcase for PR84 :(
...
llvm-svn: 9967
2003-11-13 06:19:56 +00:00
Brian Gaeke
d81ca471dd
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.)
llvm-svn: 9965
2003-11-13 06:06:01 +00:00
Chris Lattner
baef234ce3
Implement the CompleteBU pass
...
llvm-svn: 9964
2003-11-13 05:05:41 +00:00
Chris Lattner
6d27d46a08
Add methods for implementation
...
llvm-svn: 9963
2003-11-13 05:05:34 +00:00
Chris Lattner
71d3377010
Minor code cleanup
...
llvm-svn: 9962
2003-11-13 05:04:19 +00:00
Chris Lattner
9d7587238b
Remove needless dependence on boost
...
llvm-svn: 9961
2003-11-13 04:11:30 +00:00
Chris Lattner
fb4c057c4c
Disable integer tracking by default
...
llvm-svn: 9960
2003-11-13 03:10:49 +00:00
Chris Lattner
97cf7cf400
Add namespace qualifier
...
llvm-svn: 9959
2003-11-13 02:30:22 +00:00
Chris Lattner
537bb3cc53
Minor cleanups
...
llvm-svn: 9958
2003-11-13 02:01:41 +00:00
Chris Lattner
04946381b9
Add an initial version of the CompleteBUDataStructures class, which is currently
...
identical to the BU pass, but has an accurate call graph
llvm-svn: 9956
2003-11-13 01:43:00 +00:00
Chris Lattner
b5be72ff30
Add an initial version of the CompleteBUDataStructures pass
...
llvm-svn: 9955
2003-11-13 01:42:38 +00:00
Misha Brukman
0e2e1f121a
Include the file before we close the llvm namespace.
...
llvm-svn: 9954
2003-11-13 00:23:05 +00:00
Misha Brukman
6675f982de
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.
llvm-svn: 9953
2003-11-13 00:22:19 +00:00
Misha Brukman
2558e8c852
The function to create an instance of this pass is no longer a method of
...
the UltraSparc class.
llvm-svn: 9952
2003-11-13 00:19:02 +00:00
Misha Brukman
167026f8c8
The functions to create new instances of passes are no longer methods in the
...
UltraSparc class. Comments are also doxygen-compatible now.
llvm-svn: 9951
2003-11-13 00:17:20 +00:00
Misha Brukman
b26c6fa4eb
* Put command-line switches in their own namespace
...
* Pass creation functions are no longer in the UltraSparc class
llvm-svn: 9950
2003-11-13 00:16:28 +00:00
Misha Brukman
893e793739
Force a dependency on the .inc file, which must be generated!
...
llvm-svn: 9949
2003-11-13 00:05:09 +00:00
Chris Lattner
9e876556fd
Fine-grainify namespaces for this library
...
llvm-svn: 9948
2003-11-12 23:11:14 +00:00
Misha Brukman
ec4f37a19b
You cannot debug namespacified LLVM with GDB 5.x anymore.
...
llvm-svn: 9946
2003-11-12 22:55:13 +00:00
Brian Gaeke
b8b238b12a
Add another fixed bug.
...
llvm-svn: 9945
2003-11-12 22:48:52 +00:00
Chris Lattner
9580ce235b
Fix faulty namespacification
...
llvm-svn: 9943
2003-11-12 22:45:14 +00:00
Misha Brukman
bca83f4a47
Regenerated `configure' for adding Makefiles and test.in to FreeBench
...
benchmarks.
llvm-svn: 9942
2003-11-12 22:16:51 +00:00
Misha Brukman
77a8be8016
OK, scratch my last post, this actually *does* work, those syntax errors were
...
imaginary.
llvm-svn: 9941
2003-11-12 22:16:23 +00:00
Chris Lattner
2203f2509e
Add new testcase for PR112
...
llvm-svn: 9940
2003-11-12 22:15:55 +00:00
Misha Brukman
902cd7689c
Apparently adding these entries and regenerating llvm/configure results in
...
syntax errors. Reverting the patch until I can figure out what's going on.
llvm-svn: 9939
2003-11-12 21:51:44 +00:00
Misha Brukman
3a9abb84c1
Some programs actually require an input to run. The nerve!
...
llvm-svn: 9938
2003-11-12 21:45:04 +00:00
Brian Gaeke
0afc434b71
Mention LLVM cast instructions.
...
llvm-svn: 9936
2003-11-12 21:39:31 +00:00
Brian Gaeke
e1fd80a246
Update section on GNU lightning fp.
...
llvm-svn: 9935
2003-11-12 21:38:50 +00:00
Brian Gaeke
c806b22110
I won't claim we're "better than and/or different from..." at Misha's behest.
...
llvm-svn: 9934
2003-11-12 21:36:29 +00:00
John Criswell
9537a75c23
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.
llvm-svn: 9932
2003-11-12 21:32:06 +00:00
Brian Gaeke
e6406a8cd2
Make the beginning of this page look like the beginnings of other pages.
...
llvm-svn: 9930
2003-11-12 20:47:30 +00:00
Brian Gaeke
56d3cc5793
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
llvm-svn: 9929
2003-11-12 20:31:18 +00:00
Chris Lattner
a146c31bde
This color is making me want to puke :)
...
llvm-svn: 9928
2003-11-12 20:24:39 +00:00
Brian Gaeke
3bac762f0f
Whoops, a div got closed in the wrong place.
...
llvm-svn: 9927
2003-11-12 20:20:55 +00:00
Brian Gaeke
63dbb1f591
First draft of LLVM-to-anything comparison document.
...
llvm-svn: 9926
2003-11-12 20:19:40 +00:00
Misha Brukman
dc6863ad64
Add FreeBench benchmarks to our test suite -- they weren't available by default
...
before when one didn't build in his source root.
llvm-svn: 9924
2003-11-12 19:39:10 +00:00
Chris Lattner
da03a8a792
Add new argument to disable checking
...
llvm-svn: 9922
2003-11-12 17:58:22 +00:00
Chris Lattner
e6383ab55e
Add argument
...
llvm-svn: 9921
2003-11-12 17:58:09 +00:00
Chris Lattner
f88e8d9c12
The bytecode reader/writer is borking this testcase
...
llvm-svn: 9919
2003-11-12 16:40:08 +00:00
Chris Lattner
a360143bed
This is not the instruction combiner's fault! No really!
...
llvm-svn: 9918
2003-11-12 16:38:32 +00:00
Chris Lattner
33f27de303
Reduced testcase for PR 110
...
llvm-svn: 9917
2003-11-12 16:24:30 +00:00
Chris Lattner
3b93c91836
Detect problems with PHI node operands!
...
llvm-svn: 9916
2003-11-12 07:13:37 +00:00
Chris Lattner
7cb5070672
Restore the -llvm option
...
llvm-svn: 9915
2003-11-12 04:59:59 +00:00
Chris Lattner
b740afb2b0
Print return nodes for graphs with multiple functions in them correctly
...
llvm-svn: 9914
2003-11-12 04:58:19 +00:00
Chris Lattner
12c71c00ef
Don't crash if no gg
...
llvm-svn: 9913
2003-11-12 04:57:58 +00:00
Chris Lattner
a723537540
PR107 is now fixed
...
llvm-svn: 9912
2003-11-12 04:42:37 +00:00
Chris Lattner
ebcf5a5dba
Fix bug PR107, patch contributed by Reid Spencer!
...
llvm-svn: 9911
2003-11-12 04:40:30 +00:00
Chris Lattner
b0aa83ee0a
New testcase for PR107
...
llvm-svn: 9910
2003-11-12 04:40:11 +00:00
Brian Gaeke
81545ad1f5
I don't think this was supposed to have gotten into the namespaceify patch, but
...
it did. Oops!
llvm-svn: 9908
2003-11-12 01:11:54 +00:00
Chris Lattner
a9450bd4ac
Cleanups
...
llvm-svn: 9907
2003-11-12 00:40:34 +00:00
Chris Lattner
74a2299748
reword a bit, be less aggressive with my link
...
llvm-svn: 9906
2003-11-11 23:46:35 +00:00
Chris Lattner
ed6d53f512
Add a link to the llvmdev posting
...
llvm-svn: 9905
2003-11-11 23:45:03 +00:00
Brian Gaeke
10ea82301f
Mention that all LLVM C++ code has been moved into the 'llvm' C++ namespace.
...
llvm-svn: 9904
2003-11-11 22:45:41 +00:00
Brian Gaeke
960707c335
Put all LLVM code into the llvm namespace, as per bug 109.
...
llvm-svn: 9903
2003-11-11 22:41:34 +00:00
Brian Gaeke
da3f675edd
Move IsArchive, IsBytecode to FileUtilities. Fix up some method comments.
...
llvm-svn: 9902
2003-11-11 21:54:01 +00:00
Brian Gaeke
251b979943
Move IsArchive and IsBytecode here from gccld. Refactor into CheckMagic.
...
llvm-svn: 9901
2003-11-11 21:53:50 +00:00
Brian Gaeke
c30c5db05f
Add prototypes for CheckMagic, IsArchive, and IsBytecode.
...
llvm-svn: 9900
2003-11-11 21:53:29 +00:00