Commit Graph

1557 Commits

Author SHA1 Message Date
Chris Lattner 735d4f15b8 New testcase to ensure GCC doesn't emit type identifiers with spaces in them
llvm-svn: 1580
2002-01-24 20:45:45 +00:00
Chris Lattner faa2acbb89 Checkin testcase for bug recently fixed
llvm-svn: 1579
2002-01-24 19:50:30 +00:00
Chris Lattner 5ff2e0510f Initial Checkin of gccld
llvm-svn: 1578
2002-01-24 19:12:12 +00:00
Chris Lattner 299b78a4aa Initial Checkin
llvm-svn: 1577
2002-01-23 21:56:15 +00:00
Chris Lattner 7224240f74 Initial checkin of now fixed bug
llvm-svn: 1575
2002-01-23 21:40:57 +00:00
Chris Lattner b07e2c0139 Initial Checkin
llvm-svn: 1574
2002-01-23 21:40:31 +00:00
Chris Lattner 8f52ffd3ce Implement the clock() function
llvm-svn: 1573
2002-01-23 21:38:07 +00:00
Chris Lattner 0343be4ff6 More rules checked in
llvm-svn: 1571
2002-01-23 21:36:59 +00:00
Chris Lattner 1fc5e98327 Failure.sh moved up a level
llvm-svn: 1569
2002-01-23 20:39:56 +00:00
Chris Lattner c8aeee1bde Initial checkin of Makefile, just a dummy file for now.
llvm-svn: 1566
2002-01-23 19:57:59 +00:00
Chris Lattner ef10f397a5 Initial checkin
llvm-svn: 1564
2002-01-23 19:42:52 +00:00
Chris Lattner 7297fdeaa5 Change test scripts so that they do not stop on failure, they just print
an error message

llvm-svn: 1563
2002-01-23 18:04:21 +00:00
Chris Lattner a14d807fe0 Initial checking of Failure.sh
llvm-svn: 1562
2002-01-23 18:03:49 +00:00
Chris Lattner c3aa35b66b New minimal makefile
llvm-svn: 1561
2002-01-23 17:22:17 +00:00
Chris Lattner e29baab985 Removal of more unnecesary stuff
llvm-svn: 1557
2002-01-23 05:50:04 +00:00
Chris Lattner d013ba96a9 * Expose new command line arg --debug-pass for gccas and llc debugging
* Remember to initialize MethodPassBatcher::BBPBatcher instance var in ctor
* Move PassManager::run() from header file

llvm-svn: 1556
2002-01-23 05:49:41 +00:00
Chris Lattner ccbd4e4643 Implement new DeadInstElmination pass
remove old comment

llvm-svn: 1555
2002-01-23 05:48:24 +00:00
Chris Lattner 447fd86599 Make it build with 2.95.3
llvm-svn: 1554
2002-01-23 05:47:57 +00:00
Chris Lattner 1afb8f9669 * Expose new pass DeadInstElimination
* Add comments that describe the differences between the DCE passes

llvm-svn: 1553
2002-01-23 05:47:35 +00:00
Chris Lattner d97e1b8a49 Pull run() into Pass.cpp
llvm-svn: 1552
2002-01-23 05:46:22 +00:00
Chris Lattner 068f8222dc Add := to make stuff more efficient
llvm-svn: 1551
2002-01-23 05:46:01 +00:00
Chris Lattner 0e11e54d20 In an amazing fit of stupidity, I flipped the conditional and didn't test
it right.  Sheesh :)

llvm-svn: 1550
2002-01-22 21:07:24 +00:00
Chris Lattner 044b5d90d8 Only run DeadInst elimination early, because it is quick and painless and
pipelines well

llvm-svn: 1549
2002-01-22 21:06:44 +00:00
Chris Lattner 8dab4bc2a4 Moved to Programs/SingleSource
llvm-svn: 1544
2002-01-22 17:42:43 +00:00
Chris Lattner 11ea49931a Move some makefile stuff to subdirectories
llvm-svn: 1543
2002-01-22 16:56:41 +00:00
Chris Lattner 261ccf462e These are unneccesary now
llvm-svn: 1535
2002-01-22 15:47:47 +00:00
Chris Lattner 3bb02e4797 Misc cleanups. Allocate ofstream statically, and use a pass to write out the bytecode
llvm-svn: 1529
2002-01-22 03:30:46 +00:00
Chris Lattner 9c56a28309 Oops, misnamed function, didn't override correctly, drat.
llvm-svn: 1528
2002-01-22 03:30:25 +00:00
Chris Lattner 70090079e7 Don't insert a useless cast
llvm-svn: 1527
2002-01-22 03:30:06 +00:00
Chris Lattner cad856b6ed Try again, now it works right
llvm-svn: 1526
2002-01-22 02:28:50 +00:00
Chris Lattner 3787ee6be6 Rename LowerAllocations.h to ChangeAllocations.h since it now contains the
RaiseAllocations pass as well.

llvm-svn: 1525
2002-01-22 01:04:08 +00:00
Chris Lattner 4267cedfa5 Fix ordering dependency problem
llvm-svn: 1524
2002-01-22 01:03:39 +00:00
Chris Lattner 654b5bc77a Ooops, forgot to implement void PassManager::add(BasicBlockPass *BBP)
llvm-svn: 1523
2002-01-22 00:17:48 +00:00
Chris Lattner 4f0f09757d Pull RaiseAllocations stuff out of the CleanGCC pass into it's own pass in
the ChangeAllocations.h header file.

llvm-svn: 1522
2002-01-22 00:13:51 +00:00
Chris Lattner d07471d6c3 LowerAllocations is really a BasicBlock pass. Make it so.
llvm-svn: 1521
2002-01-21 23:34:02 +00:00
Chris Lattner ee965abc36 Move stuff out of the Optimizations directories into the appropriate Transforms
directories.  Eliminate the opt namespace.

llvm-svn: 1520
2002-01-21 23:17:48 +00:00
Chris Lattner 4f32cf118a Chuck fixed the GCC problems so this hack is now unneccesary
llvm-svn: 1519
2002-01-21 23:17:07 +00:00
Chris Lattner 8cc83611e6 Elminate an unused variable
llvm-svn: 1518
2002-01-21 23:16:30 +00:00
Chris Lattner 1677feaf72 Reenable warning now that Chuck fixed GCC
llvm-svn: 1517
2002-01-21 23:15:20 +00:00
Chris Lattner 4a75c2b248 Eliminate opt library
llvm-svn: 1516
2002-01-21 23:13:46 +00:00
Chris Lattner b07bf170c6 Remove dead variable
llvm-svn: 1515
2002-01-21 22:50:38 +00:00
Chris Lattner 61c6aeb6fe Remove dead variable.
llvm-svn: 1514
2002-01-21 22:44:57 +00:00
Chris Lattner a877de2ef2 Fix for problem that caused both HUGE and INVALID latencies to be negative
llvm-svn: 1513
2002-01-21 22:42:49 +00:00
Chris Lattner 6bd33c8458 Include all header files individually instead of this one
llvm-svn: 1512
2002-01-21 21:45:44 +00:00
Chris Lattner d9f1ab2077 Pull stuff out of opt namespace
llvm-svn: 1511
2002-01-21 21:44:38 +00:00
Chris Lattner c940c536ab Rename SwapStructureContents -> IPO/SimpleStructMutation
Move MutateStructTypes.(cpp|h) -> IPO/MutateStructTypes.(cpp|h)

llvm-svn: 1510
2002-01-21 07:52:35 +00:00
Chris Lattner 2b2a8b1cac Moved header
llvm-svn: 1509
2002-01-21 07:41:55 +00:00
Chris Lattner 26e4f89419 Implementation of the new spiffy pass system
llvm-svn: 1508
2002-01-21 07:37:31 +00:00
Chris Lattner 0686e435d1 Implement a more powerful, simpler, pass system. This pass system can figure
out how to run a collection of passes optimially given their behaviors and
charactaristics.

Convert code to use it.

llvm-svn: 1507
2002-01-21 07:31:50 +00:00
Chris Lattner e8d81d0819 Implement a more powerful, simpler, pass system. This pass system can figure
out how to run a collection of passes optimially given their behaviors and
charactaristics.

llvm-svn: 1506
2002-01-21 07:31:00 +00:00