summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAge
...
* * Prune many #includesChris Lattner2002-02-03
| | | | | | | | * 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
* * Remove TMP_INSTRUCTION_OPCODE sillinessChris Lattner2002-02-03
| | | | | | | | | * 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
* Remove extraneous #includesChris Lattner2002-02-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1634 91177308-0d34-0410-b5e6-96231b3b80d8
* * Inline destructorChris Lattner2002-02-03
| | | | | | | | * 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
* Remove extraneous #includeChris Lattner2002-02-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1632 91177308-0d34-0410-b5e6-96231b3b80d8
* Add constructor for addition to opt programChris Lattner2002-02-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1626 91177308-0d34-0410-b5e6-96231b3b80d8
* Free memory when not in useChris Lattner2002-01-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1618 91177308-0d34-0410-b5e6-96231b3b80d8
* * Make debugging output nicerChris Lattner2002-01-31
| | | | | | | | * 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
* Eliminate SimplifyCFG.h file, pull everything into the UnifyMethodExitNodes ↵Chris Lattner2002-01-31
| | | | | | class git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1613 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove this file. Folded into UnifyMethodExitNodes passChris Lattner2002-01-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1612 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement LoopDepth calculation in terms of dominators instead of intervalsChris Lattner2002-01-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1600 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert xforms over to use new pass structureChris Lattner2002-01-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1596 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert analyses over to new Pass frameworkChris Lattner2002-01-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1595 91177308-0d34-0410-b5e6-96231b3b80d8
* Checkin new pass framework. This one is more useful and automaticallyChris Lattner2002-01-30
| | | | | | | | 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
* Don't die on call instructions, which reference methodsChris Lattner2002-01-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1593 91177308-0d34-0410-b5e6-96231b3b80d8
* Check in GCC 3.02 compatiblity headers for GCC 2.95.3Chris Lattner2002-01-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1590 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove opt namespaceChris Lattner2002-01-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1587 91177308-0d34-0410-b5e6-96231b3b80d8
* * Expose new pass DeadInstEliminationChris Lattner2002-01-23
| | | | | | | * 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
* Pull run() into Pass.cppChris Lattner2002-01-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1552 91177308-0d34-0410-b5e6-96231b3b80d8
* Pull RaiseAllocations stuff out of the CleanGCC pass into it's own pass inChris Lattner2002-01-22
| | | | | | | the ChangeAllocations.h header file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1522 91177308-0d34-0410-b5e6-96231b3b80d8
* LowerAllocations is really a BasicBlock pass. Make it so.Chris Lattner2002-01-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1521 91177308-0d34-0410-b5e6-96231b3b80d8
* Move stuff out of the Optimizations directories into the appropriate TransformsChris Lattner2002-01-21
| | | | | | | directories. Eliminate the opt namespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1520 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix for problem that caused both HUGE and INVALID latencies to be negativeChris Lattner2002-01-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1513 91177308-0d34-0410-b5e6-96231b3b80d8
* Include all header files individually instead of this oneChris Lattner2002-01-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1512 91177308-0d34-0410-b5e6-96231b3b80d8
* Pull stuff out of opt namespaceChris Lattner2002-01-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1511 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved headerChris Lattner2002-01-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1509 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement a more powerful, simpler, pass system. This pass system can figureChris Lattner2002-01-21
| | | | | | | | | | out how to run a collection of passes optimially given their behaviors and charactaristics. Convert code to use it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1507 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement a more powerful, simpler, pass system. This pass system can figureChris Lattner2002-01-21
| | | | | | | | out how to run a collection of passes optimially given their behaviors and charactaristics. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1506 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1503 91177308-0d34-0410-b5e6-96231b3b80d8
* Added more commentsRuchira Sasanka2002-01-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1495 91177308-0d34-0410-b5e6-96231b3b80d8
* MachineRegInfo: Added a method to get the size of a register pushed on to stack.Ruchira Sasanka2002-01-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1492 91177308-0d34-0410-b5e6-96231b3b80d8
* Added comments, destructors where necessary.Ruchira Sasanka2002-01-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1491 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate function getIndicesBROKEN().Vikram S. Adve2001-12-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1486 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate all uses of memInst->getIndicesBROKEN().Vikram S. Adve2001-12-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1485 91177308-0d34-0410-b5e6-96231b3b80d8
* getIndexedOffset() shd take vector of Values, not of Constants!Vikram S. Adve2001-12-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1484 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of instcombineChris Lattner2001-12-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1479 91177308-0d34-0410-b5e6-96231b3b80d8
* Refactor trace values to work as a proper pass. Before it used to addChris Lattner2001-12-14
| | | | | | | | methods while the pass was running which was a no no. Now it adds the printf method at pass initialization git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1456 91177308-0d34-0410-b5e6-96231b3b80d8
* * Remove support for unsized arrays.Chris Lattner2001-12-14
| | | | | | | | * Free instruction does not accept a name * MemAccessInst can now be used with cast/isa/dyn_cast/... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1455 91177308-0d34-0410-b5e6-96231b3b80d8
* PointerType and ArrayType now subclass Sequential type, which contains ↵Chris Lattner2001-12-14
| | | | | | addressability logic for indexing. Unsized arrays have been removed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1454 91177308-0d34-0410-b5e6-96231b3b80d8
* Swap operands now preserves the semantics of the binary operator by changingChris Lattner2001-12-13
| | | | | | | the opcode of the instruction if possible. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1444 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement some nice functions useful for looking at typesChris Lattner2001-12-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1442 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement proper iterator tagsChris Lattner2001-12-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1441 91177308-0d34-0410-b5e6-96231b3b80d8
* Subclasses can change the opcode of an instructionChris Lattner2001-12-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1440 91177308-0d34-0410-b5e6-96231b3b80d8
* Constants KNOW they are of a derived typeChris Lattner2001-12-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1439 91177308-0d34-0410-b5e6-96231b3b80d8
* Added comments are more documentation infoRuchira Sasanka2001-12-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1434 91177308-0d34-0410-b5e6-96231b3b80d8
* Renamed inst_const_iterator -> const_inst_iteratorChris Lattner2001-12-04
| | | | | | | | Renamed op_const_iterator -> const_op_iterator Renamed PointerType::getValueType() -> PointerType::getElementType() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1408 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename ConstPoolVal -> ConstantChris Lattner2001-12-03
| | | | | | | | Rename ConstPool* -> Constant* Rename ConstPoolVals.h -> ConstantVals.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1407 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify induction variables passChris Lattner2001-12-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1406 91177308-0d34-0410-b5e6-96231b3b80d8
* Split the PHINode class out from the iOther.h file into the iPHINode.h fileChris Lattner2001-12-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1405 91177308-0d34-0410-b5e6-96231b3b80d8
* Induction variables must be phi nodesChris Lattner2001-12-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1402 91177308-0d34-0410-b5e6-96231b3b80d8