Chris Lattner
a81a6d7190
<tt>ify, other minor cleanups
...
llvm-svn: 8934
2003-10-07 19:51:55 +00:00
Chris Lattner
4e6cc153a8
<tt> stuff
...
simplify a bit
llvm-svn: 8933
2003-10-07 19:48:25 +00:00
Chris Lattner
352d29cb3b
Add pointer to LLC for code generator options. <tt> a bunch of stuff which should be
...
llvm-svn: 8932
2003-10-07 19:46:37 +00:00
Chris Lattner
810a3e560b
separate options into X86 and sparc specific options
...
llvm-svn: 8931
2003-10-07 19:42:50 +00:00
Chris Lattner
f8492537eb
Fix bugzilla bug #5
...
llvm-svn: 8930
2003-10-07 19:33:31 +00:00
John Criswell
f6e32a4164
These scripts are no longer needed. They have been replaced by QMTest.
...
llvm-svn: 8929
2003-10-07 19:07:00 +00:00
Chris Lattner
ed922162e1
Bill contributed this major rewrite of the -lowerswitch pass to make it generate
...
logarithmic conditional branch sequences instead of linear sequences. Thanks Bill!
llvm-svn: 8928
2003-10-07 18:46:23 +00:00
Brian Gaeke
ce6ade1c03
Add target to regenerate top-level "configure" script.
...
llvm-svn: 8927
2003-10-07 17:12:11 +00:00
Chris Lattner
6be9bd713a
Wrap at 80 columns
...
remove -time-passes and -stats, because llvm-link doesn't really need them
llvm-svn: 8926
2003-10-07 16:36:25 +00:00
Chris Lattner
e62b3f84e8
Renamed llvmas.html llvmdis.html and llvmlink.html to have hyphens in them
...
llvm-svn: 8925
2003-10-07 16:34:51 +00:00
Chris Lattner
1924ad2fe7
remove options specific to the -internalize pass, add the -debug option
...
llvm-svn: 8924
2003-10-07 16:33:42 +00:00
Misha Brukman
d8d84eb0af
Depend on config.status instead of config.h, because config.h timestamp may not
...
change even though configure changes.
llvm-svn: 8923
2003-10-07 15:24:23 +00:00
Chris Lattner
800aaaf207
Fix bug in previous checkin
...
llvm-svn: 8922
2003-10-07 15:17:02 +00:00
John Criswell
06636c2beb
Added targets that force users to re-run autoconf when the script has been
...
updated.
llvm-svn: 8921
2003-10-07 14:16:44 +00:00
Chris Lattner
10bd1c2c4e
This header file moved. Thanks to Bill and Nightly tester for noticing
...
llvm-svn: 8920
2003-10-07 13:45:51 +00:00
Brian Gaeke
16448fce42
regenerated using autoconf-2.57.
...
llvm-svn: 8917
2003-10-07 06:01:34 +00:00
Brian Gaeke
25f2a37f87
Don't abort if dlopen cannot be found; it's not like it's going to break
...
everything.
llvm-svn: 8916
2003-10-07 05:03:36 +00:00
Brian Gaeke
133bb529d3
Check for functions: strtoq, strtoll.
...
llvm-svn: 8915
2003-10-07 03:56:29 +00:00
Chris Lattner
acf02441dd
new testcase, distilled by Brian
...
llvm-svn: 8914
2003-10-07 02:57:51 +00:00
Misha Brukman
0cedb1f742
Break lines so that they fit within 80 columns.
...
llvm-svn: 8901
2003-10-06 19:26:00 +00:00
Misha Brukman
994d7e8496
* Alphabetized order of tools
...
* Added blurb about `bugpoint'
* Fixed some grammar issues
* Added blurb about `llvm-link'
* Took out the part about the `lli debugger' which disappeared
llvm-svn: 8900
2003-10-06 19:23:34 +00:00
Chris Lattner
a220b04ce4
Actually _PASS IN_ NO_RESERVE if we have it.
...
Thanks to Brian for fixing this obvious oops
llvm-svn: 8899
2003-10-06 19:07:41 +00:00
Misha Brukman
c27da9dce0
ToolRunner.h has been moved from include/Support to include/llvm/Support.
...
llvm-svn: 8898
2003-10-06 18:37:24 +00:00
Misha Brukman
f6a3eb6785
Moved to llvm/include/llvm/Support because it is LLVM-specific.
...
llvm-svn: 8897
2003-10-06 18:34:38 +00:00
Chris Lattner
c1c1335ba7
Remove unneeded dtors
...
llvm-svn: 8896
2003-10-06 17:36:49 +00:00
Chris Lattner
794a7490f8
Users can never be null
...
llvm-svn: 8895
2003-10-06 17:33:39 +00:00
Chris Lattner
e8ed4ef039
Minor speedups for the instcombine pass
...
llvm-svn: 8894
2003-10-06 17:11:01 +00:00
Chris Lattner
6dc0ae2d18
Speed up the predicate used to decide when to inline by caching the size
...
of callees between executions.
On eon, in release mode, this changes the inliner from taking 11.5712s
to taking 2.2066s. In debug mode, it went from taking 14.4148s to
taking 7.0745s. In release mode, this is a 24.7% speedup of gccas, in
debug mode, it's a total speedup of 11.7%.
This also makes it slightly more aggressive. This could be because we
are not judging the size of the functions quite as accurately as before.
When we start looking at the performance of the generated code, this can
be investigated further.
llvm-svn: 8893
2003-10-06 15:52:43 +00:00
Brian Gaeke
4547ab19b0
Add # of printed instructions statistic to both the SPARC and X86 LLC backends.
...
llvm-svn: 8892
2003-10-06 15:41:21 +00:00
Brian Gaeke
0c80303f94
I wanted to make the top of the page less verbose. Hope this helps.
...
llvm-svn: 8891
2003-10-06 15:30:00 +00:00
Chris Lattner
6aa34b0d0b
Avoid doing pointless work. Amazingly, this makes us go faster.
...
Running the inliner on 252.eon used to take 48.4763s, now it takes 14.4148s.
In release mode, it went from taking 25.8741s to taking 11.5712s.
This also fixes a FIXME.
llvm-svn: 8890
2003-10-06 15:23:43 +00:00
Chris Lattner
8bfda656d9
Implement the NamedRegionTimer class
...
llvm-svn: 8889
2003-10-06 15:02:31 +00:00
Chris Lattner
33295466ff
Doxygenize class comments. Add new NamedRegionTimer class
...
llvm-svn: 8888
2003-10-06 15:02:16 +00:00
Brian Gaeke
82f64531f6
All of our supported operating systems (so far) and FreeBSD technically
...
want you to include <sys/stat.h> for fstat(), struct stat, and friends.
llvm-svn: 8887
2003-10-06 03:30:28 +00:00
Chris Lattner
13c2c689a1
Hand update the configure script for moved directories
...
llvm-svn: 8886
2003-10-06 02:13:00 +00:00
Chris Lattner
672edbc995
Changes for the move of the support directory back into utils
...
llvm-svn: 8885
2003-10-06 02:09:25 +00:00
Chris Lattner
c30f22f57c
This changes the PromoteMemToReg function to create "pruned" SSA form, not
...
"minimal" SSA form (in other words, it doesn't insert dead PHIs). This
speeds up the mem2reg pass very significantly because it doesn't have to
do a lot of frivolous work in many common cases.
In the 252.eon function I have been playing with, this doesn't even insert
the 120 PHI nodes that it used to which were trivially dead (in the process
of promoting 356 alloca instructions overall). This speeds up the mem2reg
pass from 1.2459s to 0.1284s. More significantly, the DCE pass used to take
2.4138s to remove the 120 dead PHI nodes that mem2reg constructed, now it
takes 0.0134s (which is the time to scan the function and decide that there
is nothing dead). So overall, on this one function, we speed things up a
total of 3.5179s, which is a 24.8x speedup! :)
This change is tested by the Mem2Reg/2003-10-05-DeadPHIInsertion.ll test,
which now passes.
llvm-svn: 8884
2003-10-05 22:19:20 +00:00
Chris Lattner
a906bacfdd
Change the interface to PromoteMemToReg to also take a DominatorTree
...
llvm-svn: 8883
2003-10-05 21:20:13 +00:00
Chris Lattner
0ac801e252
new testcase
...
llvm-svn: 8882
2003-10-05 21:11:57 +00:00
Chris Lattner
8047152977
Speed up the mem2reg transform for allocas which are only read/written in a single
...
basic block. This is amazingly common in code generated by the C/C++ front-ends.
This change makes it not have to insert ANY phi nodes, whereas before it would insert
a ton of dead ones which DCE would have to clean up.
Thus, this fix improves compile-time performance of these trivial allocas in two ways:
1. It doesn't have to do the walking and book-keeping for renaming
2. It does not insert dead phi nodes for them which would have to
subsequently be cleaned up.
On my favorite testcase from 252.eon, this special case handles 305 out of
356 promoted allocas in the function. It speeds up the mem2reg pass from 7.5256s
to 1.2505s. It inserts 677 fewer dead PHI nodes, which speeds up a subsequent
-dce pass from 18.7524s to 2.4806s.
There are still 120 trivially dead PHI nodes being inserted for variables used
in multiple basic blocks, but they are not handled by this patch.
llvm-svn: 8881
2003-10-05 20:54:03 +00:00
Chris Lattner
b56ba38c0c
The support directory no longer exists
...
llvm-svn: 8880
2003-10-05 19:33:27 +00:00
Chris Lattner
e03f069e76
Oops, missed the . files
...
llvm-svn: 8879
2003-10-05 19:32:56 +00:00
Chris Lattner
6d4e6e5e79
Move support/lib into lib/Support
...
Move support/tools into utils
llvm-svn: 8878
2003-10-05 19:32:12 +00:00
Chris Lattner
20c9b8cbe8
Revert back to keeping Burg and TableGen in the utils directory
...
llvm-svn: 8876
2003-10-05 19:28:27 +00:00
Chris Lattner
f5bd1b7a8e
Move support/tools/* back into utils
...
llvm-svn: 8875
2003-10-05 19:27:59 +00:00
Chris Lattner
5f0c08e9cf
Move support/lib/Support back to lib/Support
...
llvm-svn: 8874
2003-10-05 19:24:38 +00:00
Chris Lattner
10d8cda0e1
The sparc backend now support invoke, but still doesn't support unwind
...
llvm-svn: 8873
2003-10-05 19:17:10 +00:00
Chris Lattner
fb25374170
Add support for the Invoke instruction by using the LowerInvoke pass
...
llvm-svn: 8872
2003-10-05 19:16:09 +00:00
Chris Lattner
37225efa97
Instead of hacking in custom support for Invoke/Unwind, use the LowerInvoke pass
...
llvm-svn: 8871
2003-10-05 19:15:47 +00:00
Chris Lattner
656065400b
Add new prototype for createLowerInvokePass(). Make simplifycfg be a
...
functionpass
llvm-svn: 8870
2003-10-05 19:15:13 +00:00
Chris Lattner
a43b8f4b2f
Initial checkin of the LLVM->LLVM transform to support code generators which
...
do not support stack unwinding yet
llvm-svn: 8869
2003-10-05 19:14:42 +00:00
Chris Lattner
5ed281d7d7
simplify-cfg is really a function pass
...
llvm-svn: 8868
2003-10-05 19:14:16 +00:00
Chris Lattner
df9779c5c2
Be more careful handling PHI nodes, which might be of potentially high degree.
...
This reduces the time to verify a function from eon with a large number of
large PHI nodes from 22996s (6.38 hours) to 10.5499s
llvm-svn: 8866
2003-10-05 17:44:18 +00:00
Chris Lattner
a5721d3d03
The first PHI node may be null, scan for the first non-null one
...
llvm-svn: 8865
2003-10-05 05:34:39 +00:00
Chris Lattner
203bc011e5
The VersionNumbers vector is only used during PHI placement. Turn it into an argument, allowing us to get rid of the vector.
...
llvm-svn: 8864
2003-10-05 04:33:22 +00:00
Chris Lattner
7d9692df22
* Update file header comment
...
*** Revamp the code which handled unreachable code in the function. Now the
code is much more efficient for high-degree basic blocks, such as those
that occur in the 252.eon SPEC benchmark.
For the interested, the time to promote a SINGLE alloca in _ZN7mrScene4ReadERSi
function used to be > 3.5s. Now it is < .075s. The function has a LOT of
allocas in it, so it appeared to be infinite looping, this should make it much
nicer. :)
llvm-svn: 8863
2003-10-05 04:26:39 +00:00
Chris Lattner
db1f81bcb5
Simplify the loop a bit
...
llvm-svn: 8862
2003-10-05 03:45:44 +00:00
Chris Lattner
2093012a03
There is no need for separate WriteSets and PhiNodeBlocks lists. It is just a
...
work-list of value definitions. This allows elimination of the explicit
'iterative' step of the algorithm, and also reuses temporary memory better.
llvm-svn: 8861
2003-10-05 03:39:10 +00:00
Chris Lattner
9408b1e8b9
The PhiNodes 2D vector is only used during PHI node placement. It doesn't
...
need to be an instance variable!
llvm-svn: 8860
2003-10-05 03:26:25 +00:00
Chris Lattner
417bc173ee
* Document instance vars better
...
* Fuse two parallel loops
* Use a more specific type for AllocaLookup
llvm-svn: 8859
2003-10-05 03:16:07 +00:00
Chris Lattner
c360f135be
Two small cleanups/speedups:
...
* Do not insert a new entry into NewPhiNodes during the rename pass if there are no PHIs in a block.
* Do not compute WriteSets in parallel
llvm-svn: 8858
2003-10-05 02:37:36 +00:00
Chris Lattner
c3d57b5923
* Minor cleanups
...
* Eliminate the KillList instance variable, instead, just delete loads and
stores as they are "renamed", and delete allocas when they are done
* Make the 'visited' set an instance variable to avoid passing it on the stack.
llvm-svn: 8857
2003-10-05 01:52:53 +00:00
Chris Lattner
9414782d68
Output a very high-precision number
...
llvm-svn: 8856
2003-10-05 00:41:07 +00:00
Chris Lattner
6e7ae58260
A couple of minor code cleanups.
...
Print literal doubles using ftostr instead of <<, because it yields higher precision numbers.
llvm-svn: 8855
2003-10-05 00:40:51 +00:00
Chris Lattner
b50d135710
Type tables are now AbstractTypeUsers. This allows them to merge together
...
constants as necessary due to type resolution. With this change, the
following spec benchmarks now link: 176.gcc, 177.mesa, 252.eon,
253.perlbmk, & 300.twolf. IOW, all SPEC INT and FP benchmarks now link.
llvm-svn: 8853
2003-10-05 00:17:43 +00:00
Chris Lattner
3df5fb79ad
Add some new methods to forward to
...
llvm-svn: 8852
2003-10-05 00:13:28 +00:00
Chris Lattner
cc593fb6c6
Rename AbstractModuleProvider -> ModuleProvider, to match the header file name,
...
and because, while the class used by the interface is abstract, the actual
concept is not.
llvm-svn: 8850
2003-10-04 20:14:59 +00:00
Chris Lattner
069d6493c9
Transform two methods to return pointers directly instead of returning them
...
as 'by reference' arguments.
llvm-svn: 8849
2003-10-04 20:00:03 +00:00
Chris Lattner
4318c4b549
Use V for values, not D.
...
llvm-svn: 8848
2003-10-04 19:29:21 +00:00
Chris Lattner
a0d15e4d9e
Do not leak the ModuleProvider if releaseModule() throws.
...
llvm-svn: 8847
2003-10-04 19:19:37 +00:00
Chris Lattner
b2fec11483
Constants are not getting merged together correctly when types are resolved
...
llvm-svn: 8846
2003-10-04 18:27:51 +00:00
Chris Lattner
3e88ef9f93
Minor random speedup: make Constant::getNullValue only call ConstantFOO::get
...
once!
llvm-svn: 8845
2003-10-03 19:34:51 +00:00
Chris Lattner
2c6cecf321
Explicit copy ctors are no longer needed
...
llvm-svn: 8844
2003-10-03 19:02:41 +00:00
Chris Lattner
7f4cfda3ba
Minor cleanups
...
llvm-svn: 8843
2003-10-03 18:57:54 +00:00
Chris Lattner
0f21ab75fa
This checkin basically amounts to a complete rewrite of the type-resolution
...
machinery. This dramatically simplifies how things works, removes irritating
little corner cases, and overall improves speed and reliability.
Highlights of this change are:
1. The exponential algorithm built into the code is now gone. For example
the time to disassemble one bytecode file from the mesa benchmark went
from taking 12.5s to taking 0.16s.
2. The linker bugs should be dramatically reduced. The one remaining bug
has to do with constant handling, which I actually introduced in
"union-find" checkins.
3. The code is much easier to follow, as a result of fewer special cases.
It's probably also smaller. yaay.
llvm-svn: 8842
2003-10-03 18:46:24 +00:00
John Criswell
ad7fd5f122
Changed all of these tests to be TestRunner tests (or, at least they can be
...
TestRunner tests).
This makes creating the new test database class easier to implement.
llvm-svn: 8841
2003-10-03 18:42:25 +00:00
Chris Lattner
29dc65a324
These methods are dead, remove them. Because the bodies will soon be
...
ressurected, just ifdef them out for now.
llvm-svn: 8840
2003-10-03 18:39:57 +00:00
Chris Lattner
20ae1895c1
These methods are dead, remove them
...
llvm-svn: 8839
2003-10-03 18:39:40 +00:00
John Criswell
3b092bc46e
Renamed these tests so that they don't contain extra periods.
...
This interferes with QMTest and the new test database.
llvm-svn: 8838
2003-10-03 18:24:47 +00:00
John Criswell
1ce56bd700
Added links to the C and C++ frontends.
...
llvm-svn: 8836
2003-10-03 13:48:27 +00:00
John Criswell
fadf125179
Adding basic documentation for the LLVM C and C++ frontends.
...
llvm-svn: 8835
2003-10-03 13:45:55 +00:00
Chris Lattner
a72b78967f
Dramatically simplify DerivedType::refineAbstractTypeToInternal
...
This makes use of the new PATypeHolder's to keep types from being deleted
prematurely, instead of the wierd "self reference" garbage. This is easier
to understand and more efficient as well.
llvm-svn: 8834
2003-10-03 04:48:21 +00:00
Chris Lattner
016418b8c2
Make the PATypeHolder use a simple union-find implementation to handle
...
merging of types. This makes it MUCH more efficient than before, also
making things simpler.
llvm-svn: 8833
2003-10-02 23:35:57 +00:00
Chris Lattner
c7caffab32
There is no need for BytecodeParser to be an AbstractTypeUser. Instead, it
...
can just use PATypeHolders
llvm-svn: 8832
2003-10-02 20:26:18 +00:00
Chris Lattner
22e4ca8863
There is no reason for Value to be an AbstractTypeUser. This just makes things
...
significantly more complete. Instead, just make DerivedType's AbstractTypeUser's,
and make Value contain a PATypeHolder.
llvm-svn: 8828
2003-10-02 19:44:40 +00:00
Chris Lattner
2a2923a709
There is no reason for Value to be an AbstractTypeUser. This just makes things
...
significantly more complete. Instead, just make DerivedType's AbstractTypeUser's,
and make Value contain a PATypeHolder. This will also be more efficient in the
future.
llvm-svn: 8827
2003-10-02 19:44:23 +00:00
Chris Lattner
fe40802ca0
There is no reason for the PATypeHolder class to derive from the
...
PATypeHandle class
llvm-svn: 8825
2003-10-02 19:08:18 +00:00
John Criswell
50e150757f
Removed the check for purify as we don't support its use at present.
...
llvm-svn: 8824
2003-10-02 19:02:30 +00:00
John Criswell
4ffb844309
Fixed the conditional targets for postscript files and tags.
...
llvm-svn: 8823
2003-10-02 19:02:02 +00:00
Chris Lattner
5c02edbf5c
The objects mapped are really PATypeHolders, not PATypeHandles
...
llvm-svn: 8822
2003-10-02 19:00:34 +00:00
Chris Lattner
11f9b9c49d
Remove obsolete tests which:
...
A. do not just test LLC, or even the sparc backend
B. are cut down versions of tests that exist in other places
llvm-svn: 8821
2003-10-02 18:48:35 +00:00
Chris Lattner
f2397429f0
Checkin new file, reduced by Brian
...
llvm-svn: 8820
2003-10-02 18:26:11 +00:00
Alkis Evlogimenos
5facafaabe
Moved enum and command-line option in separate file. Also added function that returns the user selected register allocator to the caller.
...
llvm-svn: 8819
2003-10-02 16:57:49 +00:00
Chris Lattner
6249576300
Add ideas and small revisions from Vikram
...
llvm-svn: 8818
2003-10-02 16:38:05 +00:00
Chris Lattner
b9cde76e60
Implement InstCombine/add.ll:test17 & 18
...
llvm-svn: 8817
2003-10-02 15:11:26 +00:00
Chris Lattner
d15f273512
Add new testcases
...
llvm-svn: 8816
2003-10-02 15:11:09 +00:00
Alkis Evlogimenos
8207a2c079
Change llc command line for register allocators
...
llvm-svn: 8815
2003-10-02 06:13:19 +00:00
Chris Lattner
a9b4c39dd2
fix spleling
...
llvm-svn: 8814
2003-10-02 05:09:46 +00:00
Chris Lattner
178f3db098
add note about .a files
...
llvm-svn: 8813
2003-10-02 05:07:23 +00:00
Chris Lattner
3d48250587
Initial checkin of the LLVM 1.0 release notes
...
llvm-svn: 8812
2003-10-02 04:57:28 +00:00
Alkis Evlogimenos
6e739d0a3c
Use std::string::size_type for for ColonPos to stop gcc from giving a warning
...
llvm-svn: 8811
2003-10-01 22:49:22 +00:00
Chris Lattner
34e1acb5dc
Remove obsolete scoped pred and succ iterator typedefs
...
llvm-svn: 8810
2003-10-01 22:28:39 +00:00
Chris Lattner
607ceecdf4
Use graph traits to perform generic interval construction
...
llvm-svn: 8809
2003-10-01 22:28:00 +00:00
Chris Lattner
fe0a286d6e
Add graph traits specializations for intervals
...
llvm-svn: 8808
2003-10-01 22:27:36 +00:00
Chris Lattner
df089a1b77
Amazingly enough, we actually do some stuff around here. Now if we could
...
just remember to update the open projects list... :)
llvm-svn: 8807
2003-10-01 21:49:55 +00:00
Chris Lattner
909a1abade
Make sure to include the "support" directory
...
llvm-svn: 8806
2003-10-01 21:12:46 +00:00
Alkis Evlogimenos
3dfcbf1317
Revert previous change. For some reason this went into the main branch
...
llvm-svn: 8805
2003-10-01 19:40:13 +00:00
Alkis Evlogimenos
568e4386e8
Added command line option for linear scan allocator
...
llvm-svn: 8804
2003-10-01 19:38:10 +00:00
Misha Brukman
cda2885499
The comment seems irrelevant as the pass has become a BasicBlock pass.
...
llvm-svn: 8803
2003-10-01 05:24:50 +00:00
John Criswell
ee3632270e
Corrected usage synopsis.
...
Added information regarding additional LLVM passes used, input defaults, and
output defaults.
llvm-svn: 8802
2003-09-30 22:55:44 +00:00
Chris Lattner
1440902484
Make sure to get the definition of getRegisterAllocator
...
llvm-svn: 8801
2003-09-30 22:24:00 +00:00
Chris Lattner
9c6244dc6c
New testcase that was not correctly handled
...
llvm-svn: 8800
2003-09-30 21:46:23 +00:00
Chris Lattner
56332992c7
This bug is not fixed, but will be in the future eventually
...
llvm-svn: 8799
2003-09-30 21:31:25 +00:00
Chris Lattner
1656d32e3d
new testcase
...
llvm-svn: 8798
2003-09-30 21:29:27 +00:00
Chris Lattner
ddcb81be52
Forward declare a class
...
llvm-svn: 8797
2003-09-30 20:15:40 +00:00
Chris Lattner
60d6e623ee
This got merged into Passes.h
...
llvm-svn: 8796
2003-09-30 20:15:32 +00:00
Chris Lattner
8b583a229d
RegisterAllocation.h is going away
...
llvm-svn: 8795
2003-09-30 20:15:04 +00:00
Chris Lattner
dcb2a25d74
Include the sparc register in this file
...
llvm-svn: 8794
2003-09-30 20:14:43 +00:00
Chris Lattner
1f8d21e233
include passes.h which defines the interface this file exposes
...
llvm-svn: 8793
2003-09-30 20:13:59 +00:00
John Criswell
5bbd65ccc6
Changed TestRunner test class so that it replaces %llvmgcc and %llvmgxx
...
instead of %gcc and %gxx.
llvm-svn: 8792
2003-09-30 19:56:36 +00:00
John Criswell
48a334a76e
Removed Makefile for CompileFail tests. They are now run by QMTest and are
...
located under llvm/test/Regression/C++Frontend.
llvm-svn: 8791
2003-09-30 19:41:15 +00:00
John Criswell
5c3a3d39e9
Adjusted for the new TestRunner test class. This replaces %gcc and %g++ with
...
the names of the LLVM C and C++ frontends, respectively.
llvm-svn: 8789
2003-09-30 19:28:26 +00:00
John Criswell
c6bf1422a9
Added the CXXTest test class.
...
llvm-svn: 8788
2003-09-30 19:04:08 +00:00
Chris Lattner
264e11c1f5
This makefile is completely wrong, don't even bother to keep it
...
llvm-svn: 8786
2003-09-30 18:59:24 +00:00
Chris Lattner
ef0b4bc573
These tests got moved to test/Programs/SingleSource/Regression/C++/EH
...
llvm-svn: 8785
2003-09-30 18:57:56 +00:00
Chris Lattner
33c2c8b581
Update comment
...
llvm-svn: 8783
2003-09-30 18:44:27 +00:00
Chris Lattner
555eaf5bbb
Standardize header file comments
...
llvm-svn: 8782
2003-09-30 18:37:50 +00:00
Chris Lattner
a559b209eb
Add a file header
...
llvm-svn: 8781
2003-09-30 18:28:53 +00:00
Chris Lattner
9ce334a52a
Remove unused header
...
llvm-svn: 8780
2003-09-30 18:19:13 +00:00
Chris Lattner
6e14c44402
Fix header comment
...
llvm-svn: 8779
2003-09-30 18:12:25 +00:00
Misha Brukman
e4edb3f3db
Doxygen-ified comments.
...
llvm-svn: 8778
2003-09-30 18:09:32 +00:00
Chris Lattner
09b12e7119
Fix header, remove dead decl
...
llvm-svn: 8777
2003-09-30 18:06:51 +00:00
Chris Lattner
67efeb9664
Fix header file comment
...
llvm-svn: 8776
2003-09-30 18:05:30 +00:00
Misha Brukman
21663634c5
* Ordered includes according to LLVM style
...
* Put function signatures on one line if possible
* Deleted empty comment lines (^//$)
* Deleted braces around single statements
* Deleted space between function call and argument list
llvm-svn: 8775
2003-09-30 17:59:25 +00:00
Chris Lattner
25a0acb379
make the header comment more useful
...
llvm-svn: 8774
2003-09-30 17:53:30 +00:00
Misha Brukman
143af9cf13
Made code more terse:
...
* Deleted empty comment lines
* No single begin-braces '{' on a line by themselves
llvm-svn: 8773
2003-09-30 17:51:20 +00:00
Brian Gaeke
167d87443a
Add statistic for # of emitWord() calls.
...
llvm-svn: 8772
2003-09-30 17:49:41 +00:00
Misha Brukman
33b9647a45
Doxygen-ified function comments.
...
llvm-svn: 8771
2003-09-30 17:42:57 +00:00
Misha Brukman
af3b3bdf6d
Removed extra space in comments.
...
llvm-svn: 8770
2003-09-30 17:40:12 +00:00
Chris Lattner
f5f4cbb055
Remove initials from source file
...
llvm-svn: 8769
2003-09-30 17:36:51 +00:00
Misha Brukman
a307080d60
Make code more terse:
...
* Remove extra blank lines
* Delete space between function call and arg list
* Delete non-content comment lines ("//")
llvm-svn: 8768
2003-09-30 17:33:12 +00:00
Chris Lattner
edcae8eb38
new testcase distilled from 177.mesa
...
llvm-svn: 8766
2003-09-30 17:13:34 +00:00
John Criswell
ee7ebdc6b2
Added conditional configuration of poolalloc.
...
llvm-svn: 8765
2003-09-30 16:31:48 +00:00
John Criswell
2b3771ee46
Added the ability to conditionally configure the reopt project if it is checked
...
out under projects/reopt.
llvm-svn: 8762
2003-09-30 15:55:44 +00:00
Chris Lattner
5ed714d76d
New fixed bug, distilled from 252.eon
...
llvm-svn: 8761
2003-09-30 15:40:25 +00:00
Brian Gaeke
484f2c7442
1. Use better error messages in LinkFiles().
...
2. I think the caller of LinkFiles() should not ignore a true return value.
(If you have a good reason why it ought to, feel free to revert
this. It's just something that's been bugging me for a while.)
llvm-svn: 8760
2003-09-30 14:03:48 +00:00
John Criswell
a327eae898
Removed the utils/Makefile file from being copied to the object root tree.
...
llvm-svn: 8759
2003-09-30 13:52:11 +00:00
Chris Lattner
cc83d5f3e2
Update file headers for renamed files.
...
llvm-svn: 8758
2003-09-30 03:24:28 +00:00
Misha Brukman
5bc6a8fa38
Use the newly abstracted interface for running our tools and gcc.
...
llvm-svn: 8756
2003-09-29 22:40:52 +00:00
Misha Brukman
34c9610e2d
Fixed space issues, code alignment, tabs -> spaces.
...
llvm-svn: 8755
2003-09-29 22:40:07 +00:00
Misha Brukman
b5d41c4ad9
Implementation of the abstraction of running our tools + gcc, taken out of
...
bugpoint for general usage and enjoyment.
llvm-svn: 8754
2003-09-29 22:39:25 +00:00
Misha Brukman
674f1954bf
Abstracted away the process of running our tools + gcc from bugpoint.
...
llvm-svn: 8753
2003-09-29 22:38:57 +00:00
Misha Brukman
3c1d88acac
Tersified and fixed whitespace (tabs -> spaces).
...
llvm-svn: 8752
2003-09-29 22:37:57 +00:00
Misha Brukman
64adfee893
* Added an interface for how LLEE would communicate with the OS
...
* Implemented the interface in StorageProxy.c
* Removed the script `llee' as it is now created by the Makefile
* Makefile now compiles a shared object version of the library, but only if
using gcc-3.3, linking fails under gcc-3.2
llvm-svn: 8751
2003-09-29 22:37:00 +00:00
Misha Brukman
b3541d4264
Tersified code:
...
* Removed space between function name and its argument list
* Removed space between '&' and variable name
* Removed empty comment lines: `//'
llvm-svn: 8750
2003-09-29 22:26:24 +00:00
Chris Lattner
1545d1b6cb
update run command
...
llvm-svn: 8749
2003-09-29 22:17:12 +00:00
Misha Brukman
0575c6c432
* Ordered includes according to LLVM programmers' guide
...
* Made code layout more verbose: no more '{' on a line by itself
* Pruned extra whitespace
llvm-svn: 8748
2003-09-29 22:16:43 +00:00
Chris Lattner
ff06e88ce9
Simplify test, include problem analysis
...
llvm-svn: 8747
2003-09-29 21:53:04 +00:00
John Criswell
6780a6e3f2
Added Makefiles to llvm/test/Programs/SingleSource/Regression/C++/EH and
...
llvm/test/Programs/SingleSource/Regression/C++/CompileFail.
llvm-svn: 8746
2003-09-29 21:35:32 +00:00
John Criswell
4f867ea59f
Adding Makefiles for llvm/test/Programs/SingleSource/Regression/C++/EH and
...
llvm/test/Programs/SingleSource/Regression/C++/CompileFail.
llvm-svn: 8745
2003-09-29 21:34:49 +00:00
John Criswell
26ef887bc3
Updated for the new QMTest test suite. Temporary output file is now placed
...
inside the temporary file directory.
llvm-svn: 8744
2003-09-29 21:21:59 +00:00
Chris Lattner
4a9eeed2ad
New testcase, distilled by John
...
llvm-svn: 8743
2003-09-29 21:18:36 +00:00
John Criswell
3c169b6f31
Added information on input and output filenames.
...
Added periods to the end of sentence fragments describing options.
Added information to llc about which target architecture is selected for
assembly language code generation.
llvm-svn: 8741
2003-09-29 20:10:08 +00:00
John Criswell
bd5850db0c
Removed Support directory. It now lives in llvm/support/lib.
...
llvm-svn: 8739
2003-09-29 16:10:43 +00:00
Chris Lattner
3918d9feaa
Check in missing makefile
...
llvm-svn: 8738
2003-09-29 16:03:01 +00:00
Chris Lattner
6c36cd1921
Initial checkin of makefile for this directory
...
llvm-svn: 8737
2003-09-29 15:58:16 +00:00
John Criswell
f874ea807e
Moved code from llvm/lib/Support to llvm/support/lib/Support.
...
llvm-svn: 8735
2003-09-29 15:02:30 +00:00
John Criswell
292456864d
Moved llvm/utils/Burg and llvm/utils/TableGen to llvm/support/tools.
...
llvm-svn: 8734
2003-09-29 14:52:53 +00:00
John Criswell
b438fd7a7a
Moved llvm/lib/Support to llvm/support/lib/Support.
...
Moved llvm/utils/Burg and llvm/utils/TableGen to llvm/support/tools.
llvm-svn: 8733
2003-09-29 14:52:28 +00:00
John Criswell
de75736dd8
Updating Makefiles for new location in llvm/support.
...
llvm-svn: 8732
2003-09-29 14:49:09 +00:00
John Criswell
e8a6f79722
Updated Makefiles to reflect new location in llvm/support/tools.
...
llvm-svn: 8731
2003-09-29 14:48:29 +00:00
John Criswell
1cab4fbd41
Added explanation of where analyze gets its input, where it sends its output,
...
and how it decides to interpret its input.
llvm-svn: 8730
2003-09-29 14:05:08 +00:00
Misha Brukman
f75d52eceb
Squelch warnings.
...
llvm-svn: 8729
2003-09-27 22:26:37 +00:00
John Criswell
ac2595a02f
Updated these tests so that they use the new temporary directory as opposed
...
to the old Output directory for temporary files.
llvm-svn: 8728
2003-09-26 20:20:44 +00:00
John Criswell
f7dc0f4a66
Moved llvm/test/Programs/SingleSource/Regression around a bit to support
...
multiple languages.
llvm-svn: 8727
2003-09-26 19:51:42 +00:00
John Criswell
0da9a84b3f
Updated to generate temporary files in the temporary directory.
...
llvm-svn: 8724
2003-09-26 16:43:51 +00:00
John Criswell
75ea0dff68
Added information on how input and output files are selected.
...
Added information on where files are located by llvm-link.
Added missing options.
Re-worded some stuff so that it (hopefully) sounds better.
llvm-svn: 8723
2003-09-26 16:32:00 +00:00
John Criswell
0bd4d810d4
Removing these tests from the regressions directory.
...
They now live in llvm/test/Programs/SingleSource/Regression alongside their
UnitTest brethren.
llvm-svn: 8722
2003-09-26 14:58:39 +00:00
John Criswell
4c157a41cc
Added llvm/test/Programs/SingleSource/Regression/Makefile.
...
llvm-svn: 8721
2003-09-26 14:53:17 +00:00
Chris Lattner
4437995826
Just rethrow previous exception instead of making a new one
...
llvm-svn: 8718
2003-09-26 14:44:52 +00:00
John Criswell
0ca54e0360
Modified the test so that it puts temporary files into the temporary directory.
...
llvm-svn: 8717
2003-09-26 13:58:44 +00:00
John Criswell
93359ac9e3
Added information about how llvm-as and llvm-dis select the input and output
...
filenames.
Corrected some typos in the llvm-dis documentation.
llvm-svn: 8716
2003-09-26 02:59:00 +00:00
Chris Lattner
2979307f45
Change the heading of the page to reflect the tool name
...
llvm-svn: 8715
2003-09-25 19:50:05 +00:00
John Criswell
67d4811dc1
Added an explanation of gccld's behavior when linking in native mode.
...
Also gives me an excuse to re-commit the file on Tank.
llvm-svn: 8714
2003-09-25 19:14:51 +00:00
John Criswell
cef8135734
Added information about the new -native option.
...
Added information about how object files and libraries are found and loaded.
llvm-svn: 8713
2003-09-25 19:10:25 +00:00
Misha Brukman
c2186e3110
To be consistent with the rest of LLVM codebase (and the rest of this file):
...
* Changed tabs to spaces
* Removed a space between a function call and its arguments (...)
llvm-svn: 8712
2003-09-25 18:10:34 +00:00
John Criswell
ca9987ef30
Moved wierdnames.ll to weirdnames.ll. The new name is spelled correctly.
...
llvm-svn: 8711
2003-09-25 17:44:32 +00:00
John Criswell
0278cc7f19
Made modifications recommended by Chris. Namely:
...
o Remove stuff that has been done or is now irrelevant.
o Add a reminder to create Release Notes for Release 1.
llvm-svn: 8710
2003-09-25 13:49:37 +00:00
Chris Lattner
1e9402d93d
Define the instance variable Buffer, not the automatic variable Buffer.
...
This was causing us to munmap random stuff, which is obviously bad.
llvm-svn: 8709
2003-09-25 04:13:53 +00:00
Chris Lattner
66a473371f
DOn't crash if program calls the null pointer
...
llvm-svn: 8708
2003-09-24 23:42:58 +00:00
Chris Lattner
ce6feda799
Fix alignment problem
...
llvm-svn: 8707
2003-09-24 22:34:17 +00:00
Chris Lattner
fd46711e1a
Remove explicit use of BasicBlock::succ_iterator
...
llvm-svn: 8706
2003-09-24 22:18:35 +00:00
John Criswell
4dec61621b
Removed completed items.
...
Adjusted priorities on currently outstanding items.
Added new items which I think will now have higher priority for Release 1.
llvm-svn: 8705
2003-09-24 22:15:35 +00:00
Misha Brukman
86c8a485d0
Actually assign the string correctly through the std::string pointer.
...
llvm-svn: 8704
2003-09-24 22:10:47 +00:00
Chris Lattner
e317856e0e
Use global *_iterator
...
llvm-svn: 8703
2003-09-24 22:07:33 +00:00
Chris Lattner
a940095ae2
Do not use BasicBlock::*_iterator, just use *_iterator itself.
...
Isn't updating copy and pasted code a joy
llvm-svn: 8702
2003-09-24 22:06:25 +00:00
Misha Brukman
c3634809e6
* Eliminate BytecodeBufferReader::Length member variable
...
* Kill unused ALIN_PTRS #define
* Set the error string if user passed it in to be compatible with former API
llvm-svn: 8701
2003-09-24 22:04:02 +00:00
Chris Lattner
64d88bc788
Do not use BasicBlock::succ_iterator
...
llvm-svn: 8700
2003-09-24 22:03:22 +00:00
Brian Gaeke
974bc6682e
Update head-of-file comment.
...
llvm-svn: 8699
2003-09-24 18:16:23 +00:00
Brian Gaeke
1542a8b820
Untabify tabs in stuff I've recently added.
...
Check in my register allocator state-saving code.
llvm-svn: 8698
2003-09-24 18:08:54 +00:00