aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore
Commit message (Collapse)AuthorAgeFilesLines
* * Add new method localLookupChris Lattner2002-03-081-2/+16
| | | | | | | | | | | | * SymbolTable::remove(Value *N) checks to see if we are internally inconsistent before looking for a type plane (caused a crash) * insertEntry now does a local lookup instead of a global lookup, which was causing an infinite loop in the renamer logic. * Added assertions to make sure stuff stays happy * Now the linker correctly links the SPECINT2000 mcf benchmark git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1840 91177308-0d34-0410-b5e6-96231b3b80d8
* Expose more entry points to the verifierChris Lattner2002-02-261-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1815 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug: test/Regression/Other/2002-02-24-InlineBrokePHINodes.llChris Lattner2002-02-251-0/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1798 91177308-0d34-0410-b5e6-96231b3b80d8
* Make it compile with GCC 3.0.4Chris Lattner2002-02-241-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1786 91177308-0d34-0410-b5e6-96231b3b80d8
* Actually implement some checking in the verifier.Chris Lattner2002-02-201-36/+111
| | | | | | | | These specific problems were ones Anand ran into in his work and seem not uncommon for beginners. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1781 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix isArrayAllocation() to be correctChris Lattner2002-02-191-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1779 91177308-0d34-0410-b5e6-96231b3b80d8
* * Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and intoChris Lattner2002-02-122-13/+10
| | | | | | | | | | llvm/Support/CFG.h * Make pred & succ iterators for intervals global functions * Add #includes that are now neccesary because BasicBlock.h doesn't include InstrTypes.h anymore git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1750 91177308-0d34-0410-b5e6-96231b3b80d8
* Method.h no longer includes BasicBlock.hChris Lattner2002-02-125-8/+15
| | | | | | | | Method::inst_* is now in llvm/Support/InstIterator.h GraphTraits specializations for BasicBlock and Methods are now in llvm/Support/CFG.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1746 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove generic routines to Support/SetOperations.hChris Lattner2002-02-051-18/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1715 91177308-0d34-0410-b5e6-96231b3b80d8
* Switch from MachineCodeForVMInstr model that is built into the VMCore ↵Chris Lattner2002-02-031-28/+1
| | | | | | | | | library to an annotation based MAchineCodeForInstruction model Instruction.cpp now has 0 lines of code generation related code in it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1658 91177308-0d34-0410-b5e6-96231b3b80d8
* Add more debug outputChris Lattner2002-02-011-1/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1627 91177308-0d34-0410-b5e6-96231b3b80d8
* * Make debugging output nicerChris Lattner2002-01-312-62/+138
| | | | | | | | * 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
* Provide the right AnalysisID for postdominatorsChris Lattner2002-01-311-3/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1616 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement new pass frameworkChris Lattner2002-01-311-132/+125
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1606 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert analyses to new pass structureChris Lattner2002-01-312-33/+58
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1603 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug where we didn't initialize and finalize basic block passesChris Lattner2002-01-311-6/+22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1599 91177308-0d34-0410-b5e6-96231b3b80d8
* Checkin new pass framework. This one is more useful and automaticallyChris Lattner2002-01-301-0/+395
| | | | | | | | 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
* Remove extraneous #includesChris Lattner2002-01-262-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1588 91177308-0d34-0410-b5e6-96231b3b80d8
* This checkin fixes the bug described in:Chris Lattner2002-01-251-19/+19
| | | | | | | 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
* Check in fix for bug: test/Regression/Assembler/ValueRefineAbsType.llChris Lattner2002-01-251-2/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1582 91177308-0d34-0410-b5e6-96231b3b80d8
* * Expose new command line arg --debug-pass for gccas and llc debuggingChris Lattner2002-01-231-9/+60
| | | | | | | | * 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
* Oops, misnamed function, didn't override correctly, drat.Chris Lattner2002-01-221-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1528 91177308-0d34-0410-b5e6-96231b3b80d8
* Ooops, forgot to implement void PassManager::add(BasicBlockPass *BBP)Chris Lattner2002-01-221-6/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1523 91177308-0d34-0410-b5e6-96231b3b80d8
* Move stuff out of the Optimizations directories into the appropriate TransformsChris Lattner2002-01-211-1/+1
| | | | | | | directories. Eliminate the opt namespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1520 91177308-0d34-0410-b5e6-96231b3b80d8
* Pull stuff out of opt namespaceChris Lattner2002-01-213-11/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1511 91177308-0d34-0410-b5e6-96231b3b80d8
* Implementation of the new spiffy pass systemChris Lattner2002-01-211-0/+117
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1508 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-2018-87/+131
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1503 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate function getIndicesBROKEN().Vikram S. Adve2001-12-151-16/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1486 91177308-0d34-0410-b5e6-96231b3b80d8
* * Assert that indices are valid for an indexing instruction.Chris Lattner2001-12-141-12/+19
| | | | | | | | * Add support for indexing into pointers * Remove support for unsized arrays git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1472 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename ConstPoolVals.cpp to Constants.cppChris Lattner2001-12-141-0/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1471 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove unsized array supportChris Lattner2001-12-141-19/+18
| | | | | | | Add new SequentialType class git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1470 91177308-0d34-0410-b5e6-96231b3b80d8
* Make strings SByte* arrays instead of UByte * arraysChris Lattner2001-12-141-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1469 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't waste as much horizontal space on #uses flag when printingChris Lattner2001-12-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1459 91177308-0d34-0410-b5e6-96231b3b80d8
* Swap operands now preserves the semantics of the binary operator by changingChris Lattner2001-12-131-0/+26
| | | | | | | the opcode of the instruction if possible. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1444 91177308-0d34-0410-b5e6-96231b3b80d8
* Add debugging to make a more useful message if a value gets constructed with ↵Chris Lattner2001-12-131-1/+6
| | | | | | a null type git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1443 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not pessimize users of this function. Fix logic.Chris Lattner2001-12-061-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1428 91177308-0d34-0410-b5e6-96231b3b80d8
* Renamed inst_const_iterator -> const_inst_iteratorChris Lattner2001-12-047-16/+16
| | | | | | | | 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-0315-400/+399
| | | | | | | | 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
* Split the PHINode class out from the iOther.h file into the iPHINode.h fileChris Lattner2001-12-033-2/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1405 91177308-0d34-0410-b5e6-96231b3b80d8
* Create a new #include "Support/..." directory structure to move thingsChris Lattner2001-11-277-11/+11
| | | | | | | | | from "llvm/Support/..." that are not llvm dependant. Move files and fix #includes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1400 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement internalChris Lattner2001-11-261-5/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1385 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement support for internal methodsChris Lattner2001-11-261-5/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1380 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement support for internal methodsChris Lattner2001-11-261-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1373 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bad assertion to be correct . The root basic block can be used by PHI ↵Chris Lattner2001-11-261-1/+3
| | | | | | nodes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1370 91177308-0d34-0410-b5e6-96231b3b80d8
* Support Array IndexingChris Lattner2001-11-261-27/+35
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1348 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement: isLosslesslyConvertableTo and new CompositeType base classChris Lattner2001-11-261-2/+53
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1347 91177308-0d34-0410-b5e6-96231b3b80d8
* If a name conflict occurs when inserting a value, rename it.Chris Lattner2001-11-261-3/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1346 91177308-0d34-0410-b5e6-96231b3b80d8
* Be more const correctChris Lattner2001-11-262-8/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1332 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor style cleanupsChris Lattner2001-11-131-3/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1287 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed MachineCodeForMethod object and made it an annotation.Vikram S. Adve2001-11-081-5/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1183 91177308-0d34-0410-b5e6-96231b3b80d8