oota-llvm.git
21 years agoAdd RPR prototype here
Chris Lattner [Mon, 1 Sep 2003 20:44:42 +0000 (20:44 +0000)]
Add RPR prototype here

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8314 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRemove dead file
Chris Lattner [Mon, 1 Sep 2003 20:41:21 +0000 (20:41 +0000)]
Remove dead file

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8313 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoOptInfo is no longer required
Chris Lattner [Mon, 1 Sep 2003 20:41:07 +0000 (20:41 +0000)]
OptInfo is no longer required

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8312 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoNo longer provide an optinfo, noone uses it
Chris Lattner [Mon, 1 Sep 2003 20:40:59 +0000 (20:40 +0000)]
No longer provide an optinfo, noone uses it

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8311 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoNo longer require an OptInfo
Chris Lattner [Mon, 1 Sep 2003 20:40:43 +0000 (20:40 +0000)]
No longer require an OptInfo

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8310 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoInline simple comparison which is sparc specific anyway
Chris Lattner [Mon, 1 Sep 2003 20:38:03 +0000 (20:38 +0000)]
Inline simple comparison which is sparc specific anyway

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8309 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoDon't build dead directories
Chris Lattner [Mon, 1 Sep 2003 20:34:15 +0000 (20:34 +0000)]
Don't build dead directories

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8308 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRemove header files that were privatized
Chris Lattner [Mon, 1 Sep 2003 20:33:38 +0000 (20:33 +0000)]
Remove header files that were privatized

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8307 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMove private interfaces into private .h file
Chris Lattner [Mon, 1 Sep 2003 20:33:07 +0000 (20:33 +0000)]
Move private interfaces into private .h file

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8306 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoPreselection is now integrated into the Sparc target library
Chris Lattner [Mon, 1 Sep 2003 20:30:17 +0000 (20:30 +0000)]
Preselection is now integrated into the Sparc target library

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8305 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRemove dead library makefile
Chris Lattner [Mon, 1 Sep 2003 20:29:43 +0000 (20:29 +0000)]
Remove dead library makefile

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8304 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRemove makefile for dead library
Chris Lattner [Mon, 1 Sep 2003 20:26:52 +0000 (20:26 +0000)]
Remove makefile for dead library

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8303 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoSparc peephole optimizer moved out of post-opts library into Sparc target library
Chris Lattner [Mon, 1 Sep 2003 20:26:14 +0000 (20:26 +0000)]
Sparc peephole optimizer moved out of post-opts library into Sparc target library

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8302 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoSimplify code a bit
Chris Lattner [Mon, 1 Sep 2003 20:24:06 +0000 (20:24 +0000)]
Simplify code a bit

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8301 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoThis file is never #included
Chris Lattner [Mon, 1 Sep 2003 20:19:31 +0000 (20:19 +0000)]
This file is never #included

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8300 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoLiveRange.h is now in lib/CodeGen/RegAlloc
Chris Lattner [Mon, 1 Sep 2003 20:17:13 +0000 (20:17 +0000)]
LiveRange.h is now in lib/CodeGen/RegAlloc

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8299 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoThis file is hopelessly out of date
Chris Lattner [Mon, 1 Sep 2003 20:14:00 +0000 (20:14 +0000)]
This file is hopelessly out of date

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8298 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoLiveRangeInfo got moved into the lib/CodeGen/RegAlloc directory
Chris Lattner [Mon, 1 Sep 2003 20:12:17 +0000 (20:12 +0000)]
LiveRangeInfo got moved into the lib/CodeGen/RegAlloc directory

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8297 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoPhyRegAlloc.h got moved to lib/CodeGen/RegAlloc
Chris Lattner [Mon, 1 Sep 2003 20:09:04 +0000 (20:09 +0000)]
PhyRegAlloc.h got moved to lib/CodeGen/RegAlloc

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8296 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMove IGNode from public include directory to here. Minor cleanups like adding std...
Chris Lattner [Mon, 1 Sep 2003 20:05:47 +0000 (20:05 +0000)]
Move IGNode from public include directory to here.  Minor cleanups like adding std:: namespace qualifiers

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8295 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoIGNode got moved to lib/CodeGen/RegAlloc
Chris Lattner [Mon, 1 Sep 2003 20:00:08 +0000 (20:00 +0000)]
IGNode got moved to lib/CodeGen/RegAlloc

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8294 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoThis file just needs LiveRange.h not IGNode.h
Chris Lattner [Mon, 1 Sep 2003 19:58:02 +0000 (19:58 +0000)]
This file just needs LiveRange.h not IGNode.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8293 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoNo longer include IGNode.h in the Sparc global header
Chris Lattner [Mon, 1 Sep 2003 19:56:48 +0000 (19:56 +0000)]
No longer include IGNode.h in the Sparc global header

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8292 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFinal cleanup: remove dead code
Chris Lattner [Mon, 1 Sep 2003 18:01:36 +0000 (18:01 +0000)]
Final cleanup: remove dead code

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8291 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoNot only is this a lot smaller, it actually works if there is already a
Chris Lattner [Mon, 1 Sep 2003 16:53:46 +0000 (16:53 +0000)]
Not only is this a lot smaller, it actually works if there is already a
function with the right name in the module.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8290 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoDead files
Chris Lattner [Mon, 1 Sep 2003 16:49:57 +0000 (16:49 +0000)]
Dead files

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8289 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoIf "These should be used only by the auto-parallelization pass", we might as
Chris Lattner [Mon, 1 Sep 2003 16:49:38 +0000 (16:49 +0000)]
If "These should be used only by the auto-parallelization pass", we might as
well put them INTO the auto-par pass.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8288 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMoved all of the cilkifier stuff into lib/Transforms/IPO, as it really is not
Chris Lattner [Mon, 1 Sep 2003 16:45:30 +0000 (16:45 +0000)]
Moved all of the cilkifier stuff into lib/Transforms/IPO, as it really is not
support stuff.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8287 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoThis file is just a subset of Cilkifier.h
Chris Lattner [Mon, 1 Sep 2003 16:42:43 +0000 (16:42 +0000)]
This file is just a subset of Cilkifier.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8286 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMinor cleanups
Chris Lattner [Mon, 1 Sep 2003 16:42:16 +0000 (16:42 +0000)]
Minor cleanups
Do not #include Parallelize.h, it's just a subset of Cilkifier.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8285 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoOther minor cleanups while I'm in the area
Chris Lattner [Mon, 1 Sep 2003 16:38:43 +0000 (16:38 +0000)]
Other minor cleanups while I'm in the area

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8284 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix spell-o
Chris Lattner [Mon, 1 Sep 2003 16:35:30 +0000 (16:35 +0000)]
Fix spell-o

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8283 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRemove gross old hacky code that was in there for backwards compatibility
Chris Lattner [Mon, 1 Sep 2003 16:31:28 +0000 (16:31 +0000)]
Remove gross old hacky code that was in there for backwards compatibility
1 year is plenty of migration time!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8282 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoChange the RaiseAllocations pass to be a Pass instead of a BasicBlock pass.
Chris Lattner [Mon, 1 Sep 2003 03:14:56 +0000 (03:14 +0000)]
Change the RaiseAllocations pass to be a Pass instead of a BasicBlock pass.
This makes it more efficient: it doesn't have to scan the whole program, so
it performs work proportional to the number of malloc/free calls in the
program, not the size of the program.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8280 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoChange the RaiseAllocations pass from being a BasicBlockPass to being a Pass
Chris Lattner [Mon, 1 Sep 2003 03:14:00 +0000 (03:14 +0000)]
Change the RaiseAllocations pass from being a BasicBlockPass to being a Pass

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8279 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRemove the -stopAfterNPasses option, which has been long obsoleted by bugpoint
Chris Lattner [Sun, 31 Aug 2003 21:47:24 +0000 (21:47 +0000)]
Remove the -stopAfterNPasses option, which has been long obsoleted by bugpoint

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8278 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago* move the dead-type-eliminate passes to the end, where they are more useful
Chris Lattner [Sun, 31 Aug 2003 21:45:55 +0000 (21:45 +0000)]
* move the dead-type-eliminate passes to the end, where they are more useful
* add prune-eh and inlining passes
* other minor pass reorganizations

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8277 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix bug: TailDuplicate/2003-08-31-UnreachableBlocks.ll
Chris Lattner [Sun, 31 Aug 2003 21:17:44 +0000 (21:17 +0000)]
Fix bug: TailDuplicate/2003-08-31-UnreachableBlocks.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8276 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoNew testcase
Chris Lattner [Sun, 31 Aug 2003 21:05:39 +0000 (21:05 +0000)]
New testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8275 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoReplace M with F when refering to functions
Chris Lattner [Sun, 31 Aug 2003 20:36:52 +0000 (20:36 +0000)]
Replace M with F when refering to functions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8274 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRename TarjanSCCIterator -> scc_iterator
Chris Lattner [Sun, 31 Aug 2003 20:01:57 +0000 (20:01 +0000)]
Rename TarjanSCCIterator -> scc_iterator
  * Increases consistency with other iterators (e.g. df_iterator, po_iterator...)
  * It's shorter
  * We don't name classes by the implementation, we name it for the interface!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8273 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoELIMINATE the SCC class completely. One less thing deriving from std::vector
Chris Lattner [Sun, 31 Aug 2003 19:55:31 +0000 (19:55 +0000)]
ELIMINATE the SCC class completely.  One less thing deriving from std::vector

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8272 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoDon't explicitly use the SCC class
Chris Lattner [Sun, 31 Aug 2003 19:55:06 +0000 (19:55 +0000)]
Don't explicitly use the SCC class

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8271 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRemove dead var
Chris Lattner [Sun, 31 Aug 2003 19:54:57 +0000 (19:54 +0000)]
Remove dead var

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8270 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoThe SCC::HasLoop method is now in the main iterator
Chris Lattner [Sun, 31 Aug 2003 19:51:38 +0000 (19:51 +0000)]
The SCC::HasLoop method is now in the main iterator

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8269 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMove the HasLoop method from the SCC class to the iterator class
Chris Lattner [Sun, 31 Aug 2003 19:51:22 +0000 (19:51 +0000)]
Move the HasLoop method from the SCC class to the iterator class

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8268 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRemove explicit passing of SCC's around as objects.
Chris Lattner [Sun, 31 Aug 2003 19:46:48 +0000 (19:46 +0000)]
Remove explicit passing of SCC's around as objects.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8267 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoThis should use Support/iterator, not <iterator>
Chris Lattner [Sun, 31 Aug 2003 19:46:22 +0000 (19:46 +0000)]
This should use Support/iterator, not <iterator>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8266 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoCleanups, move the getAnalysisUsage method to the .cpp file
Chris Lattner [Sun, 31 Aug 2003 19:41:17 +0000 (19:41 +0000)]
Cleanups, move the getAnalysisUsage method to the .cpp file

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8265 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMove the getAnalysisUsage method from the header file
Chris Lattner [Sun, 31 Aug 2003 19:40:57 +0000 (19:40 +0000)]
Move the getAnalysisUsage method from the header file

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8264 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix an FLAT OUT WRONG comment
Chris Lattner [Sun, 31 Aug 2003 19:37:29 +0000 (19:37 +0000)]
Fix an FLAT OUT WRONG comment

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8263 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoThe tarjan iterator now returns a reference to the current SCC, not a possibly null...
Chris Lattner [Sun, 31 Aug 2003 19:35:16 +0000 (19:35 +0000)]
The tarjan iterator now returns a reference to the current SCC, not a possibly null pointer!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8262 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago* Cleanups
Chris Lattner [Sun, 31 Aug 2003 19:34:27 +0000 (19:34 +0000)]
* Cleanups
* operator* now returns a reference to the current SCC, instead of a possibly
  null pointer

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8261 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMinor cleanups
Chris Lattner [Sun, 31 Aug 2003 19:29:52 +0000 (19:29 +0000)]
Minor cleanups
Iterate from tarj_begin -> tarj_end, not from tarj_begin -> NULL

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8260 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoIndent classes correctly in the namespace
Chris Lattner [Sun, 31 Aug 2003 19:27:11 +0000 (19:27 +0000)]
Indent classes correctly in the namespace
move bodies out-of-line
Add getAnalysisUsage method for SFGSCC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8259 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago* Cleanups
Chris Lattner [Sun, 31 Aug 2003 19:23:41 +0000 (19:23 +0000)]
* Cleanups
* Iterate from tarj_begin -> tarj_end, not from tarj_begin -> NULL

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8258 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoHeavily refactor code:
Chris Lattner [Sun, 31 Aug 2003 19:10:30 +0000 (19:10 +0000)]
Heavily refactor code:
  * Separate the policy decisions into a derived class [InlineSimple]
  * Move the inlining mechanics into a base class [Inliner]
  * Change the inliner to be an SCCPass, making it more structured and
    eventually pipelinable with other SCC passes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8257 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd accessor function for the PruneEH pass
Chris Lattner [Sun, 31 Aug 2003 16:30:25 +0000 (16:30 +0000)]
Add accessor function for the PruneEH pass

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8254 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd accessor function
Chris Lattner [Sun, 31 Aug 2003 16:30:07 +0000 (16:30 +0000)]
Add accessor function

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8253 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoNew testcase for annoying structure layout stuff!
Chris Lattner [Sun, 31 Aug 2003 06:53:05 +0000 (06:53 +0000)]
New testcase for annoying structure layout stuff!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8252 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMinor simplification
Chris Lattner [Sun, 31 Aug 2003 02:50:07 +0000 (02:50 +0000)]
Minor simplification

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8251 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoInitial checkin of the -prune-eh pass, a very simple exception handling removal pass
Chris Lattner [Sun, 31 Aug 2003 02:47:32 +0000 (02:47 +0000)]
Initial checkin of the -prune-eh pass, a very simple exception handling removal pass

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8250 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agonew tests
Chris Lattner [Sun, 31 Aug 2003 02:38:46 +0000 (02:38 +0000)]
new tests

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8249 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd tests for the pruneeh pass
Chris Lattner [Sun, 31 Aug 2003 02:36:10 +0000 (02:36 +0000)]
Add tests for the pruneeh pass

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8248 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoInitial checkin of the CallGraphSCCPass class
Chris Lattner [Sun, 31 Aug 2003 01:54:59 +0000 (01:54 +0000)]
Initial checkin of the CallGraphSCCPass class

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8247 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRemove usage of unsigned long: unsigned should be enough!
Chris Lattner [Sun, 31 Aug 2003 01:48:21 +0000 (01:48 +0000)]
Remove usage of unsigned long: unsigned should be enough!
Remove explicit use of a stack<>, use a vector instead

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8246 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoThis file uses cerr without including <iostream>. Since it's just for debugging...
Chris Lattner [Sun, 31 Aug 2003 01:45:00 +0000 (01:45 +0000)]
This file uses cerr without including <iostream>.  Since it's just for debugging, comment it out

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8245 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agos/Meth/F
Chris Lattner [Sun, 31 Aug 2003 01:38:00 +0000 (01:38 +0000)]
s/Meth/F

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8244 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoScalarRepl does not modify the CFG. Say so!
Chris Lattner [Sun, 31 Aug 2003 00:45:13 +0000 (00:45 +0000)]
ScalarRepl does not modify the CFG.  Say so!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8243 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoUse new interface, simplifies code
Chris Lattner [Sun, 31 Aug 2003 00:22:27 +0000 (00:22 +0000)]
Use new interface, simplifies code

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8242 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoUse the new interface, simplifies code
Chris Lattner [Sun, 31 Aug 2003 00:21:59 +0000 (00:21 +0000)]
Use the new interface, simplifies code

NOTE that these two files are _BUGGY_ and need to be fixed, just not by me  :)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8241 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoUse the new interface, simplifies code
Chris Lattner [Sun, 31 Aug 2003 00:21:05 +0000 (00:21 +0000)]
Use the new interface, simplifies code
Delete a bunch of commented out code

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8240 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoUse the new interface, simplifies code
Chris Lattner [Sun, 31 Aug 2003 00:20:36 +0000 (00:20 +0000)]
Use the new interface, simplifies code

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8239 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoImplement new method
Chris Lattner [Sun, 31 Aug 2003 00:19:28 +0000 (00:19 +0000)]
Implement new method

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8238 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdd new helper function which makes it even easier to do this sort of thing
Chris Lattner [Sun, 31 Aug 2003 00:19:18 +0000 (00:19 +0000)]
Add new helper function which makes it even easier to do this sort of thing

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8237 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoUrg, forgot to add a file header somehow.
Chris Lattner [Sat, 30 Aug 2003 23:31:08 +0000 (23:31 +0000)]
Urg, forgot to add a file header somehow.
Add missing function comments

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8236 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoinitial checkin of SJLJ exception handling runtime
Chris Lattner [Sat, 30 Aug 2003 23:29:22 +0000 (23:29 +0000)]
initial checkin of SJLJ exception handling runtime

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8235 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRename LongJmpException -> SJLJException
Chris Lattner [Sat, 30 Aug 2003 23:29:08 +0000 (23:29 +0000)]
Rename LongJmpException -> SJLJException

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8234 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agowe don't need this here
Chris Lattner [Sat, 30 Aug 2003 23:18:07 +0000 (23:18 +0000)]
we don't need this here

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8233 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMove language independent exception handling routines OUT of C++Exception.cpp
Chris Lattner [Sat, 30 Aug 2003 23:17:51 +0000 (23:17 +0000)]
Move language independent exception handling routines OUT of C++Exception.cpp

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8232 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFile was renamed
Chris Lattner [Sat, 30 Aug 2003 22:48:16 +0000 (22:48 +0000)]
File was renamed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8231 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRename files to be capitalized now that they are C++
Chris Lattner [Sat, 30 Aug 2003 22:47:59 +0000 (22:47 +0000)]
Rename files to be capitalized now that they are C++

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8230 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoInitial checkin of the SJLJ EH interface
Chris Lattner [Sat, 30 Aug 2003 22:36:52 +0000 (22:36 +0000)]
Initial checkin of the SJLJ EH interface

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8229 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoNew testcase *sigh*
Chris Lattner [Sat, 30 Aug 2003 21:00:36 +0000 (21:00 +0000)]
New testcase *sigh*

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8228 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoNew, HARD, bitfield testcase
Chris Lattner [Sat, 30 Aug 2003 20:57:49 +0000 (20:57 +0000)]
New, HARD, bitfield testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8227 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoYet another bit-field bug
Chris Lattner [Fri, 29 Aug 2003 22:46:34 +0000 (22:46 +0000)]
Yet another bit-field bug

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8226 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agominor simplification
Chris Lattner [Fri, 29 Aug 2003 21:57:18 +0000 (21:57 +0000)]
minor simplification

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8225 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoTest case distilled from sed.
Misha Brukman [Fri, 29 Aug 2003 21:49:51 +0000 (21:49 +0000)]
Test case distilled from sed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8224 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoTestcase distilled from xemacs.
Misha Brukman [Fri, 29 Aug 2003 21:28:47 +0000 (21:28 +0000)]
Testcase distilled from xemacs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8223 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdded a dummy version of libcurses.
Misha Brukman [Fri, 29 Aug 2003 18:13:52 +0000 (18:13 +0000)]
Added a dummy version of libcurses.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8222 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoAdded dummy termcap library.
Misha Brukman [Fri, 29 Aug 2003 18:09:46 +0000 (18:09 +0000)]
Added dummy termcap library.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8221 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoNew testcase
Chris Lattner [Fri, 29 Aug 2003 16:00:19 +0000 (16:00 +0000)]
New testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8218 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoUse `llvm-dis' instead of simply `dis'.
Misha Brukman [Fri, 29 Aug 2003 15:26:31 +0000 (15:26 +0000)]
Use `llvm-dis' instead of simply `dis'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8217 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoRemove automagic support for Modules. Noone uses it now anyways, and GCC 3.4 doesn...
Chris Lattner [Fri, 29 Aug 2003 14:48:21 +0000 (14:48 +0000)]
Remove automagic support for Modules.  Noone uses it now anyways, and GCC 3.4 doesn't want us to do this unless Module has been #included

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8216 91177308-0d34-0410-b5e6-96231b3b80d8

21 years ago"Help keep our secrets secret."
John Criswell [Fri, 29 Aug 2003 14:46:12 +0000 (14:46 +0000)]
"Help keep our secrets secret."
Added code to respect the umask value.  Before, files were generated world
readable, which may not be desirable for all installations.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8215 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoThere is no reason for this to be a pass!
Chris Lattner [Fri, 29 Aug 2003 14:43:17 +0000 (14:43 +0000)]
There is no reason for this to be a pass!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8214 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoMove getAnalysisToUpdate to after the definition of AnalysisResolver.
Chris Lattner [Fri, 29 Aug 2003 14:26:51 +0000 (14:26 +0000)]
Move getAnalysisToUpdate to after the definition of AnalysisResolver.
GCC 3.4 apparently wants classes to be DEFINED before they are USED.  What is
it smoking.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8213 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix compilation problems with G++ 3.4
Chris Lattner [Fri, 29 Aug 2003 14:22:29 +0000 (14:22 +0000)]
Fix compilation problems with G++ 3.4

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8212 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoSlightly simplify make logic
Chris Lattner [Fri, 29 Aug 2003 14:07:02 +0000 (14:07 +0000)]
Slightly simplify make logic

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8211 91177308-0d34-0410-b5e6-96231b3b80d8

21 years agoFix bug: Linker/2003-08-28-TypeResolvesGlobal3.ll
Chris Lattner [Fri, 29 Aug 2003 05:37:22 +0000 (05:37 +0000)]
Fix bug: Linker/2003-08-28-TypeResolvesGlobal3.ll
Use new replaceAllUsesWith stuff in a way that works even though types have not yet been propagated

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8210 91177308-0d34-0410-b5e6-96231b3b80d8