oota-llvm.git
22 years ago* Switch over to cleaner TmpInstruction model
Chris Lattner [Sun, 3 Feb 2002 07:39:06 +0000 (07:39 +0000)]
* Switch over to cleaner TmpInstruction model

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

22 years ago* Straighten out #includes
Chris Lattner [Sun, 3 Feb 2002 07:33:46 +0000 (07:33 +0000)]
* Straighten out #includes
* Switch to MAchineCodeForInstruction model instead of MachineCodeForVMInstr

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

22 years ago* Swich to annotation model for MachineCodeForInstruction
Chris Lattner [Sun, 3 Feb 2002 07:31:41 +0000 (07:31 +0000)]
* Swich to annotation model for MachineCodeForInstruction

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

22 years agoRemove extraneous #includes
Chris Lattner [Sun, 3 Feb 2002 07:30:08 +0000 (07:30 +0000)]
Remove extraneous #includes

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

22 years ago* Straighten out #includes
Chris Lattner [Sun, 3 Feb 2002 07:29:45 +0000 (07:29 +0000)]
* Straighten out #includes
* Switch from MachineCodeForVMInstr to MachineCodeForInstruction model

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

22 years ago* Get machine instrs from Instructin's by using MachineCodeForInstruction::get
Chris Lattner [Sun, 3 Feb 2002 07:28:30 +0000 (07:28 +0000)]
* Get machine instrs from Instructin's by using MachineCodeForInstruction::get
* Convert a few (*X). to X->

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

22 years agoLots of nonfunctional code cleanups
Chris Lattner [Sun, 3 Feb 2002 07:25:25 +0000 (07:25 +0000)]
Lots of nonfunctional code cleanups

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

22 years agoAdd methods to TargetMachine to:
Chris Lattner [Sun, 3 Feb 2002 07:24:05 +0000 (07:24 +0000)]
Add methods to TargetMachine to:
* Output assembly code a method at a time instead of building it all up then emitting it as a whole module
* Release memory contained in various annotations.

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

22 years ago* Trim #includes
Chris Lattner [Sun, 3 Feb 2002 07:20:47 +0000 (07:20 +0000)]
* Trim #includes

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

22 years agoRemove #include
Chris Lattner [Sun, 3 Feb 2002 07:17:37 +0000 (07:17 +0000)]
Remove #include
move typedefs here

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

22 years agoRemove extranous #include
Chris Lattner [Sun, 3 Feb 2002 07:15:36 +0000 (07:15 +0000)]
Remove extranous #include

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

22 years agoAdd a class forward decl
Chris Lattner [Sun, 3 Feb 2002 07:13:04 +0000 (07:13 +0000)]
Add a class forward decl

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

22 years ago* Prune many #includes
Chris Lattner [Sun, 3 Feb 2002 07:11:59 +0000 (07:11 +0000)]
* Prune many #includes
* Remove MachineCodeForVMInstr -> MachineCodeForInstruction.h
* Remove MachineCodeForMethod  -> MachineCodeForMethod.h

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

22 years ago* Remove TMP_INSTRUCTION_OPCODE silliness
Chris Lattner [Sun, 3 Feb 2002 07:07:16 +0000 (07:07 +0000)]
* Remove TMP_INSTRUCTION_OPCODE silliness
* Fix TmpInstruction copy ctor to not read uninitialized memory
* Fix TmpInstruction copy ctor to not copy 2 operands if there is only one
* Inline Initialize method into ctors

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

22 years agoRemove extraneous #includes
Chris Lattner [Sun, 3 Feb 2002 07:03:13 +0000 (07:03 +0000)]
Remove extraneous #includes

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

22 years ago* Inline destructor
Chris Lattner [Sun, 3 Feb 2002 06:58:15 +0000 (06:58 +0000)]
* Inline destructor
* Remove MachineCodeForVMInstr support (it's now an annotation)
* Remove dropAllReferences override (just use User's)

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

22 years agoRemove extraneous #include
Chris Lattner [Sun, 3 Feb 2002 06:27:39 +0000 (06:27 +0000)]
Remove extraneous #include

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

22 years agoCatch the parse exception if bad input is provided. Much better than an abort
Chris Lattner [Fri, 1 Feb 2002 05:09:35 +0000 (05:09 +0000)]
Catch the parse exception if bad input is provided.  Much better than an abort

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

22 years agoNew checkin
Chris Lattner [Fri, 1 Feb 2002 05:04:58 +0000 (05:04 +0000)]
New checkin

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

22 years agoAdd mergereturn pass
Chris Lattner [Fri, 1 Feb 2002 04:54:11 +0000 (04:54 +0000)]
Add mergereturn pass

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

22 years agoGeneral cleanup
Chris Lattner [Fri, 1 Feb 2002 04:53:48 +0000 (04:53 +0000)]
General cleanup

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

22 years agoAdd more debug output
Chris Lattner [Fri, 1 Feb 2002 04:53:36 +0000 (04:53 +0000)]
Add more debug output

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

22 years agoAdd constructor for addition to opt program
Chris Lattner [Fri, 1 Feb 2002 04:53:15 +0000 (04:53 +0000)]
Add constructor for addition to opt program

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

22 years agoRip out irrelevant details
Chris Lattner [Fri, 1 Feb 2002 04:44:38 +0000 (04:44 +0000)]
Rip out irrelevant details

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

22 years agoAdd TESTRUNR var
Chris Lattner [Fri, 1 Feb 2002 04:25:12 +0000 (04:25 +0000)]
Add TESTRUNR var
Correctly create directory for .bc target

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

22 years agoInitial checkin
Chris Lattner [Fri, 1 Feb 2002 04:24:47 +0000 (04:24 +0000)]
Initial checkin

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

22 years agoInitial checkin of 'Other' section
Chris Lattner [Fri, 1 Feb 2002 04:24:20 +0000 (04:24 +0000)]
Initial checkin of 'Other' section

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

22 years agoAdd dependency
Chris Lattner [Thu, 31 Jan 2002 18:33:23 +0000 (18:33 +0000)]
Add dependency

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

22 years agoFix dependency problem
Chris Lattner [Thu, 31 Jan 2002 18:33:09 +0000 (18:33 +0000)]
Fix dependency problem

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

22 years agoFree memory when not in use
Chris Lattner [Thu, 31 Jan 2002 18:32:49 +0000 (18:32 +0000)]
Free memory when not in use

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

22 years ago* Make debugging output nicer
Chris Lattner [Thu, 31 Jan 2002 18:32:27 +0000 (18:32 +0000)]
* Make debugging output nicer
* Implement pass memory freeing after the pass is unused
* Expose PassManager typedef in Pass.h instead of PassManager.h

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

22 years agoProvide the right AnalysisID for postdominators
Chris Lattner [Thu, 31 Jan 2002 18:29:24 +0000 (18:29 +0000)]
Provide the right AnalysisID for postdominators

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

22 years agoResolve deps
Chris Lattner [Thu, 31 Jan 2002 15:52:41 +0000 (15:52 +0000)]
Resolve deps

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

22 years agoResolve dependencies
Chris Lattner [Thu, 31 Jan 2002 15:43:11 +0000 (15:43 +0000)]
Resolve dependencies

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

22 years agoEliminate SimplifyCFG.h file, pull everything into the UnifyMethodExitNodes class
Chris Lattner [Thu, 31 Jan 2002 01:12:06 +0000 (01:12 +0000)]
Eliminate SimplifyCFG.h file, pull everything into the UnifyMethodExitNodes class

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

22 years agoRemove this file. Folded into UnifyMethodExitNodes pass
Chris Lattner [Thu, 31 Jan 2002 01:02:32 +0000 (01:02 +0000)]
Remove this file.  Folded into UnifyMethodExitNodes pass

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

22 years agoMethodPass's are now guaranteed to not be run on external methods!
Chris Lattner [Thu, 31 Jan 2002 00:51:24 +0000 (00:51 +0000)]
MethodPass's are now guaranteed to not be run on external methods!

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

22 years agoConvert to use new Pass framework...
Chris Lattner [Thu, 31 Jan 2002 00:47:12 +0000 (00:47 +0000)]
Convert to use new Pass framework...

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

22 years agoPassManager is now in its own header file
Chris Lattner [Thu, 31 Jan 2002 00:46:45 +0000 (00:46 +0000)]
PassManager is now in its own header file
MethodPass's now cannot be run on external methods

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

22 years agoPassManager is now in it's own header file
Chris Lattner [Thu, 31 Jan 2002 00:46:22 +0000 (00:46 +0000)]
PassManager is now in it's own header file

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

22 years agoConvert analyze over to use new pass framework for its analyses
Chris Lattner [Thu, 31 Jan 2002 00:46:09 +0000 (00:46 +0000)]
Convert analyze over to use new pass framework for its analyses

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

22 years agoImplement new pass framework
Chris Lattner [Thu, 31 Jan 2002 00:45:31 +0000 (00:45 +0000)]
Implement new pass framework

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

22 years agoConvert xforms over to new pass structure.
Chris Lattner [Thu, 31 Jan 2002 00:45:11 +0000 (00:45 +0000)]
Convert xforms over to new pass structure.

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

22 years agoIf an invalid alternative is listed for an argument, print the valid options
Chris Lattner [Thu, 31 Jan 2002 00:42:56 +0000 (00:42 +0000)]
If an invalid alternative is listed for an argument, print the valid options

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

22 years agoConvert analyses to new pass structure
Chris Lattner [Thu, 31 Jan 2002 00:42:27 +0000 (00:42 +0000)]
Convert analyses to new pass structure

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

22 years agoImplement loop depth calculation in terms of dominators instead of intervals
Chris Lattner [Thu, 31 Jan 2002 00:42:06 +0000 (00:42 +0000)]
Implement loop depth calculation in terms of dominators instead of intervals
No problems with irreducibility now

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

22 years agoLoopDepth calculation is now in CFG namespace
Chris Lattner [Thu, 31 Jan 2002 00:41:13 +0000 (00:41 +0000)]
LoopDepth calculation is now in CFG namespace

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

22 years agoImplement LoopDepth calculation in terms of dominators instead of intervals
Chris Lattner [Thu, 31 Jan 2002 00:41:01 +0000 (00:41 +0000)]
Implement LoopDepth calculation in terms of dominators instead of intervals

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

22 years agoFix bug where we didn't initialize and finalize basic block passes
Chris Lattner [Thu, 31 Jan 2002 00:40:44 +0000 (00:40 +0000)]
Fix bug where we didn't initialize and finalize basic block passes

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

22 years agoForgot to force
Chris Lattner [Thu, 31 Jan 2002 00:27:32 +0000 (00:27 +0000)]
Forgot to force

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

22 years agoTestcase broken - Entry node of method cannot have predecessors!
Chris Lattner [Thu, 31 Jan 2002 00:25:00 +0000 (00:25 +0000)]
Testcase broken - Entry node of method cannot have predecessors!

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

22 years agoConvert xforms over to use new pass structure
Chris Lattner [Wed, 30 Jan 2002 23:29:35 +0000 (23:29 +0000)]
Convert xforms over to use new pass structure

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

22 years agoConvert analyses over to new Pass framework
Chris Lattner [Wed, 30 Jan 2002 23:27:55 +0000 (23:27 +0000)]
Convert analyses over to new Pass framework

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

22 years agoCheckin new pass framework. This one is more useful and automatically
Chris Lattner [Wed, 30 Jan 2002 23:20:39 +0000 (23:20 +0000)]
Checkin new pass framework.  This one is more useful and automatically
creates analysis results for passes that need them.   MethodPass's never
have to worry about being invoked on external methods.

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

22 years agoDon't die on call instructions, which reference methods
Chris Lattner [Wed, 30 Jan 2002 23:00:41 +0000 (23:00 +0000)]
Don't die on call instructions, which reference methods

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

22 years agoAdd rule to build tar.gz file.
Chris Lattner [Wed, 30 Jan 2002 21:20:23 +0000 (21:20 +0000)]
Add rule to build tar.gz file.

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

22 years agoExclude doxygen docs from srcs
Chris Lattner [Wed, 30 Jan 2002 20:39:12 +0000 (20:39 +0000)]
Exclude doxygen docs from srcs

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

22 years agoCheck in GCC 3.02 compatiblity headers for GCC 2.95.3
Chris Lattner [Wed, 30 Jan 2002 16:27:12 +0000 (16:27 +0000)]
Check in GCC 3.02 compatiblity headers for GCC 2.95.3

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

22 years agoMake gcc tests depend on the part of GCC that actually gets updated.
Chris Lattner [Sat, 26 Jan 2002 22:48:08 +0000 (22:48 +0000)]
Make gcc tests depend on the part of GCC that actually gets updated.

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

22 years agoRemove extraneous #includes
Chris Lattner [Sat, 26 Jan 2002 22:47:32 +0000 (22:47 +0000)]
Remove extraneous #includes

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

22 years agoRemove opt namespace
Chris Lattner [Sat, 26 Jan 2002 22:47:07 +0000 (22:47 +0000)]
Remove opt namespace

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

22 years agoCheckin support for building doxygen stuff
Chris Lattner [Sat, 26 Jan 2002 21:16:41 +0000 (21:16 +0000)]
Checkin support for building doxygen stuff

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

22 years agoAccept, but ignore -lfoo options.
Chris Lattner [Fri, 25 Jan 2002 03:59:39 +0000 (03:59 +0000)]
Accept, but ignore -lfoo options.

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

22 years agoTestcase for SymbolTable.cpp bug
Chris Lattner [Fri, 25 Jan 2002 03:58:05 +0000 (03:58 +0000)]
Testcase for SymbolTable.cpp bug

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

22 years agoThis checkin fixes the bug described in:
Chris Lattner [Fri, 25 Jan 2002 03:56:34 +0000 (03:56 +0000)]
This checkin fixes the bug described in:
test/Regression/Assembler/2002-01-24-BadSymbolTableAssert.ll

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

22 years agoCheck in fix for bug: test/Regression/Assembler/ValueRefineAbsType.ll
Chris Lattner [Fri, 25 Jan 2002 03:45:27 +0000 (03:45 +0000)]
Check in fix for bug: test/Regression/Assembler/ValueRefineAbsType.ll

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

22 years agoCheck in testcase and fix
Chris Lattner [Fri, 25 Jan 2002 03:44:58 +0000 (03:44 +0000)]
Check in testcase and fix

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

22 years agoNew testcase to ensure GCC doesn't emit type identifiers with spaces in them
Chris Lattner [Thu, 24 Jan 2002 20:45:45 +0000 (20:45 +0000)]
New testcase to ensure GCC doesn't emit type identifiers with spaces in them

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

22 years agoCheckin testcase for bug recently fixed
Chris Lattner [Thu, 24 Jan 2002 19:50:30 +0000 (19:50 +0000)]
Checkin testcase for bug recently fixed

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

22 years agoInitial Checkin of gccld
Chris Lattner [Thu, 24 Jan 2002 19:12:12 +0000 (19:12 +0000)]
Initial Checkin of gccld

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

22 years agoInitial Checkin
Chris Lattner [Wed, 23 Jan 2002 21:56:15 +0000 (21:56 +0000)]
Initial Checkin

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

22 years agoInitial checkin of now fixed bug
Chris Lattner [Wed, 23 Jan 2002 21:40:57 +0000 (21:40 +0000)]
Initial checkin of now fixed bug

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

22 years agoInitial Checkin
Chris Lattner [Wed, 23 Jan 2002 21:40:31 +0000 (21:40 +0000)]
Initial Checkin

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

22 years agoImplement the clock() function
Chris Lattner [Wed, 23 Jan 2002 21:38:07 +0000 (21:38 +0000)]
Implement the clock() function

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

22 years agoMore rules checked in
Chris Lattner [Wed, 23 Jan 2002 21:36:59 +0000 (21:36 +0000)]
More rules checked in

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

22 years agoFailure.sh moved up a level
Chris Lattner [Wed, 23 Jan 2002 20:39:56 +0000 (20:39 +0000)]
Failure.sh moved up a level

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

22 years agoInitial checkin of Makefile, just a dummy file for now.
Chris Lattner [Wed, 23 Jan 2002 19:57:59 +0000 (19:57 +0000)]
Initial checkin of Makefile, just a dummy file for now.

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

22 years agoInitial checkin
Chris Lattner [Wed, 23 Jan 2002 19:42:52 +0000 (19:42 +0000)]
Initial checkin

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

22 years agoChange test scripts so that they do not stop on failure, they just print
Chris Lattner [Wed, 23 Jan 2002 18:04:21 +0000 (18:04 +0000)]
Change test scripts so that they do not stop on failure, they just print
an error message

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

22 years agoInitial checking of Failure.sh
Chris Lattner [Wed, 23 Jan 2002 18:03:49 +0000 (18:03 +0000)]
Initial checking of Failure.sh

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

22 years agoNew minimal makefile
Chris Lattner [Wed, 23 Jan 2002 17:22:17 +0000 (17:22 +0000)]
New minimal makefile

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

22 years agoRemoval of more unnecesary stuff
Chris Lattner [Wed, 23 Jan 2002 05:50:04 +0000 (05:50 +0000)]
Removal of more unnecesary stuff

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

22 years ago* Expose new command line arg --debug-pass for gccas and llc debugging
Chris Lattner [Wed, 23 Jan 2002 05:49:41 +0000 (05:49 +0000)]
* 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

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

22 years agoImplement new DeadInstElmination pass
Chris Lattner [Wed, 23 Jan 2002 05:48:24 +0000 (05:48 +0000)]
Implement new DeadInstElmination pass
remove old comment

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

22 years agoMake it build with 2.95.3
Chris Lattner [Wed, 23 Jan 2002 05:47:57 +0000 (05:47 +0000)]
Make it build with 2.95.3

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

22 years ago* Expose new pass DeadInstElimination
Chris Lattner [Wed, 23 Jan 2002 05:47:35 +0000 (05:47 +0000)]
* Expose new pass DeadInstElimination
* Add comments that describe the differences between the DCE passes

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

22 years agoPull run() into Pass.cpp
Chris Lattner [Wed, 23 Jan 2002 05:46:22 +0000 (05:46 +0000)]
Pull run() into Pass.cpp

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

22 years agoAdd := to make stuff more efficient
Chris Lattner [Wed, 23 Jan 2002 05:46:01 +0000 (05:46 +0000)]
Add := to make stuff more efficient

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

22 years agoIn an amazing fit of stupidity, I flipped the conditional and didn't test
Chris Lattner [Tue, 22 Jan 2002 21:07:24 +0000 (21:07 +0000)]
In an amazing fit of stupidity, I flipped the conditional and didn't test
it right.  Sheesh :)

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

22 years agoOnly run DeadInst elimination early, because it is quick and painless and
Chris Lattner [Tue, 22 Jan 2002 21:06:44 +0000 (21:06 +0000)]
Only run DeadInst elimination early, because it is quick and painless and
pipelines well

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

22 years agoMoved to Programs/SingleSource
Chris Lattner [Tue, 22 Jan 2002 17:42:43 +0000 (17:42 +0000)]
Moved to Programs/SingleSource

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

22 years agoMove some makefile stuff to subdirectories
Chris Lattner [Tue, 22 Jan 2002 16:56:41 +0000 (16:56 +0000)]
Move some makefile stuff to subdirectories

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

22 years agoThese are unneccesary now
Chris Lattner [Tue, 22 Jan 2002 15:47:47 +0000 (15:47 +0000)]
These are unneccesary now

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

22 years agoMisc cleanups. Allocate ofstream statically, and use a pass to write out the bytecode
Chris Lattner [Tue, 22 Jan 2002 03:30:46 +0000 (03:30 +0000)]
Misc cleanups.  Allocate ofstream statically, and use a pass to write out the bytecode

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

22 years agoOops, misnamed function, didn't override correctly, drat.
Chris Lattner [Tue, 22 Jan 2002 03:30:25 +0000 (03:30 +0000)]
Oops, misnamed function, didn't override correctly, drat.

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

22 years agoDon't insert a useless cast
Chris Lattner [Tue, 22 Jan 2002 03:30:06 +0000 (03:30 +0000)]
Don't insert a useless cast

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

22 years agoTry again, now it works right
Chris Lattner [Tue, 22 Jan 2002 02:28:50 +0000 (02:28 +0000)]
Try again, now it works right

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

22 years agoRename LowerAllocations.h to ChangeAllocations.h since it now contains the
Chris Lattner [Tue, 22 Jan 2002 01:04:08 +0000 (01:04 +0000)]
Rename LowerAllocations.h to ChangeAllocations.h since it now contains the
RaiseAllocations pass as well.

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

22 years agoFix ordering dependency problem
Chris Lattner [Tue, 22 Jan 2002 01:03:39 +0000 (01:03 +0000)]
Fix ordering dependency problem

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

22 years agoOoops, forgot to implement void PassManager::add(BasicBlockPass *BBP)
Chris Lattner [Tue, 22 Jan 2002 00:17:48 +0000 (00:17 +0000)]
Ooops, forgot to implement void PassManager::add(BasicBlockPass *BBP)

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