summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore
Commit message (Collapse)AuthorAgeFilesLines
* Add a couple of extra casts to avoid having to add #includeChris Lattner2002-04-091-3/+3
| | | | llvm-svn: 2205
* *blush* somehow this debugging code got checked in...Chris Lattner2002-04-091-3/+0
| | | | llvm-svn: 2187
* s/Method/FunctionChris Lattner2002-04-082-6/+6
| | | | llvm-svn: 2180
* * Narrow AsmWriter interfaceChris Lattner2002-04-081-37/+40
| | | | | | * Implement Value::print methods here instead of WriteToAssembly llvm-svn: 2179
* ConstantHandling moved into VMCore libraryChris Lattner2002-04-081-1/+1
| | | | llvm-svn: 2165
* Move include/llvm/ValueHolderImpl.h to lib/VMCore/ValueHolderImpl.hChris Lattner2002-04-084-5/+4
| | | | llvm-svn: 2156
* * Move include/llvm/Analysis/SlotCalculator.h to include/llvm/SlotCalculator.hChris Lattner2002-04-073-14/+15
| | | | | | | because the slot calculator is already part of the VMCore library. * Rename incorporateMethod and purgeMethod to *Function llvm-svn: 2154
* Remove some gross code by using the Value::dump method to do debug dumpsChris Lattner2002-04-074-42/+46
| | | | llvm-svn: 2150
* Remove some gross code by using the VAlue::dump method to do debug dumpsChris Lattner2002-04-071-7/+5
| | | | llvm-svn: 2149
* Update commentsChris Lattner2002-04-071-4/+5
| | | | | | Implement Value::dump here. llvm-svn: 2148
* Change references to the Method class to be references to the FunctionChris Lattner2002-04-074-51/+52
| | | | | | | class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. llvm-svn: 2144
* Fix Bug: test/Regression/Other/2002-04-07-InfConstant.llChris Lattner2002-04-071-3/+12
| | | | llvm-svn: 2142
* Fix bug: test/Regression/Other/2002-04-07-HexFloatConstants.llChris Lattner2002-04-071-2/+20
| | | | llvm-svn: 2141
* Implement constant propogation of multiply and divide instructions!!Chris Lattner2002-04-071-0/+14
| | | | llvm-svn: 2134
* * Make all of the refineAbstractType functions work identicallyChris Lattner2002-04-071-68/+68
| | | | | | | | | | | | | | * Remove ambiguous code that caused problems with understanding how stuff worked. * Implement DerivedType::typeIsRefined right. Add a big comment talking about it. * The removeUserFromConcrete method already checks to see if the type is not abstract, so no need to duplicate the test all over this code This checkin makes all of the type parsing related failures work. All Assembler Regression tests now pass! llvm-svn: 2127
* * Reenable apparently neccesary code, that breaks testcases when enabled,Chris Lattner2002-04-061-1/+7
| | | | | | | but causes MANY FUNDAMENTAL PROBLEMS when not enabled. :( * Add debugging function llvm-svn: 2125
* * FIX: test/Regression/Assembler/2002-02-19-TypeParsing.llChris Lattner2002-04-051-3/+4
| | | | | | | | | | That was due to the StructType object not getting called multiple times to remove itself from the ATU list for an object, because it stopped getting queried due to this wrong test * Improve debug output when DEBUG_MERGE_TYPES is on llvm-svn: 2124
* * Move DerivedType::addAbstractTypeUser from DerivedType.hChris Lattner2002-04-051-28/+48
| | | | | | | | | | | | | | | * Refactor a bunch of code. Types now only remove one subelement at a time when they are told that they have changed * Improve debugging output, add more assertions... * FIX Bugs: * test/Regression/Assembler/2002-04-04-PureVirtMethCall.ll * test/Regression/Assembler/2002-04-04-PureVirtMethCall2.ll * The change to fix these bugs was the to ValTypeBase::refineAbstractType method. Basically we #if 0'd out the chunk of code there and make the table get reorganized EVEN IF the type has the same pointer. Merging opportunities were being missed! llvm-svn: 2121
* Clean up debugging codeChris Lattner2002-04-051-4/+4
| | | | llvm-svn: 2119
* * Refactor loop in removeAbstractTypeUser to be more clearChris Lattner2002-04-051-18/+35
| | | | | | | | * Fix a bug in DerivedType::refineAbstractTypeTo that caused test/Regression/Assembler/2002-04-05-TypeParsing.ll to fail. The added comment describes the fix llvm-svn: 2118
* s/MethodType/FunctionTypeChris Lattner2002-04-041-8/+8
| | | | llvm-svn: 2115
* Make build work in release modeChris Lattner2002-04-041-11/+2
| | | | llvm-svn: 2113
* Make the release build workChris Lattner2002-04-041-2/+0
| | | | llvm-svn: 2109
* * Add debug support for PATypeHolderChris Lattner2002-04-041-6/+15
| | | | | | * PATypeHolder is now not a template llvm-svn: 2108
* Make the release build compileChris Lattner2002-04-041-2/+0
| | | | llvm-svn: 2107
* Add a new replaceWith method useful for replacing instructionsChris Lattner2002-04-011-1/+27
| | | | llvm-svn: 2088
* * s/Method/FunctionChris Lattner2002-03-291-10/+14
| | | | | | | * Implement a check to make sure a function is not internal and external at the same time llvm-svn: 2050
* Add an insert method to VAlueHolder to allow batch insertionChris Lattner2002-03-291-0/+30
| | | | llvm-svn: 2038
* Add new addTypeName method to Module classChris Lattner2002-03-291-0/+15
| | | | llvm-svn: 2037
* s/Method/FunctionChris Lattner2002-03-293-43/+43
| | | | llvm-svn: 2034
* Implement new getFunction and getOrInsertFunction methodsChris Lattner2002-03-291-0/+31
| | | | llvm-svn: 2033
* Remove the reduceApply functions they are obsolete things from the days beforeChris Lattner2002-03-281-16/+0
| | | | | | we had a reasonable pass system llvm-svn: 2022
* Change references from Method to FunctionChris Lattner2002-03-266-64/+64
| | | | | | change references from MethodARgument to FunctionArgument llvm-svn: 1991
* Rename Method to FunctionChris Lattner2002-03-232-19/+20
| | | | llvm-svn: 1957
* Add an assertion that would hopefully catch a problem that was trippingChris Lattner2002-03-221-0/+2
| | | | | | cameron up llvm-svn: 1944
* * AllocationInst ctor moved here from iMemory.hChris Lattner2002-03-211-0/+15
| | | | | | * AllocationInst now always has an array size operand llvm-svn: 1939
* Add an assertion to catch a misuse of replaceAllUsesWithChris Lattner2002-03-211-0/+2
| | | | llvm-svn: 1924
* Make an assertion provide a more helpful error messageChris Lattner2002-03-171-1/+2
| | | | llvm-svn: 1883
* Checkin new test for problem anand ran intoChris Lattner2002-03-151-3/+35
| | | | llvm-svn: 1880
* Add a check to ensure that only PHI nodes are self referential. CodeChris Lattner2002-03-141-1/+8
| | | | | | input to instruction combination was broken, which caused it to explode. llvm-svn: 1870
* * 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 llvm-svn: 1840
* Expose more entry points to the verifierChris Lattner2002-02-261-2/+2
| | | | llvm-svn: 1815
* Fix bug: test/Regression/Other/2002-02-24-InlineBrokePHINodes.llChris Lattner2002-02-251-0/+20
| | | | llvm-svn: 1798
* Make it compile with GCC 3.0.4Chris Lattner2002-02-241-6/+6
| | | | llvm-svn: 1786
* 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. llvm-svn: 1781
* Fix isArrayAllocation() to be correctChris Lattner2002-02-191-0/+6
| | | | llvm-svn: 1779
* * 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 llvm-svn: 1750
* Method.h no longer includes BasicBlock.hChris Lattner2002-02-124-1/+4
| | | | | | | Method::inst_* is now in llvm/Support/InstIterator.h GraphTraits specializations for BasicBlock and Methods are now in llvm/Support/CFG.h llvm-svn: 1746
* Remove generic routines to Support/SetOperations.hChris Lattner2002-02-051-18/+1
| | | | llvm-svn: 1715
* 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. llvm-svn: 1658
OpenPOWER on IntegriCloud