aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add #includes that were pruned from already #included filesChris Lattner2002-04-081-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2173 91177308-0d34-0410-b5e6-96231b3b80d8
* * Add virtual print methodsChris Lattner2002-04-087-1/+14
| | | | | | | * s/Method/Function git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2172 91177308-0d34-0410-b5e6-96231b3b80d8
* * Trim #includesChris Lattner2002-04-081-64/+4
| | | | | | | | | | | | * Remove WriteToAssembly functions from interface * Move operator<< definition to only allow top level operator<< on Value*'s. Defined in Value.h This header file is greatly deemphasized by these changes. Now it is only used if custom printing through WriteTypeSymbolic or WriteAsOperand is needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2171 91177308-0d34-0410-b5e6-96231b3b80d8
* s/Method/FunctionChris Lattner2002-04-081-7/+6
| | | | | | | Trim #includes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2170 91177308-0d34-0410-b5e6-96231b3b80d8
* Trim #includesChris Lattner2002-04-082-3/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2169 91177308-0d34-0410-b5e6-96231b3b80d8
* * Move casting stuff out to Support/Casting.hChris Lattner2002-04-081-72/+16
| | | | | | | | | * Add top level virtual print function, disallows instantiating Value's directly. * Provide operator<< for values here, instead of in Assembly/Writer.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2168 91177308-0d34-0410-b5e6-96231b3b80d8
* * Fix commentChris Lattner2002-04-081-3/+6
| | | | | | | | | * Add printing support * add isFloatingPoint method * Remove isXXXType() methods for non-derived types git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2167 91177308-0d34-0410-b5e6-96231b3b80d8
* Pull casting operators out of Value.hChris Lattner2002-04-082-0/+160
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2166 91177308-0d34-0410-b5e6-96231b3b80d8
* ConstantHandling moved into VMCore libraryChris Lattner2002-04-087-7/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2165 91177308-0d34-0410-b5e6-96231b3b80d8
* Library bumped up out of Assembly directoryChris Lattner2002-04-081-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2164 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor change to reflect that ConstantHandling is now part of VMCoreChris Lattner2002-04-083-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2163 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved assembly writer library into its own top level directory.Chris Lattner2002-04-081-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2162 91177308-0d34-0410-b5e6-96231b3b80d8
* Checkin old testcase that is newly fixed.Chris Lattner2002-04-081-0/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2161 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcaseChris Lattner2002-04-081-0/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2160 91177308-0d34-0410-b5e6-96231b3b80d8
* Checkin old testcase for switch statement. For now we just decimate themChris Lattner2002-04-081-0/+20
| | | | | | | to conditional branches. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2159 91177308-0d34-0410-b5e6-96231b3b80d8
* Old testcase that missed getting checked inChris Lattner2002-04-081-0/+37
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2158 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for the gnu ld -s (strip) optionChris Lattner2002-04-081-1/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2157 91177308-0d34-0410-b5e6-96231b3b80d8
* Move include/llvm/ValueHolderImpl.h to lib/VMCore/ValueHolderImpl.hChris Lattner2002-04-084-5/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2156 91177308-0d34-0410-b5e6-96231b3b80d8
* GCCLD actually does transformations to simplify the linked program now.Chris Lattner2002-04-082-10/+33
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2155 91177308-0d34-0410-b5e6-96231b3b80d8
* * Move include/llvm/Analysis/SlotCalculator.h to include/llvm/SlotCalculator.hChris Lattner2002-04-0710-72/+82
| | | | | | | | because the slot calculator is already part of the VMCore library. * Rename incorporateMethod and purgeMethod to *Function git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2154 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove asmwriter library from link line, because the useful contents of itChris Lattner2002-04-0713-15/+13
| | | | | | | have been incorporated into the vmcore library. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2153 91177308-0d34-0410-b5e6-96231b3b80d8
* Perform debug outputs with ->dump() instead of <<Chris Lattner2002-04-072-10/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2152 91177308-0d34-0410-b5e6-96231b3b80d8
* use dump method instead of Asm/Writer to do debug printingChris Lattner2002-04-073-18/+21
| | | | | | | Rename C to M because C used to be 'Class' and now we are 'Module' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2151 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove some gross code by using the Value::dump method to do debug dumpsChris Lattner2002-04-074-42/+46
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2150 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove some gross code by using the VAlue::dump method to do debug dumpsChris Lattner2002-04-071-7/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2149 91177308-0d34-0410-b5e6-96231b3b80d8
* Update commentsChris Lattner2002-04-071-4/+5
| | | | | | | Implement Value::dump here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2148 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate explicit use of Writer library, using debug dump output instead.Chris Lattner2002-04-073-18/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2147 91177308-0d34-0410-b5e6-96231b3b80d8
* VCG output support removed because it was broken and will never be used.Chris Lattner2002-04-071-11/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2146 91177308-0d34-0410-b5e6-96231b3b80d8
* Change references to the Method class to be references to the FunctionChris Lattner2002-04-0757-788/+750
| | | | | | | | class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2144 91177308-0d34-0410-b5e6-96231b3b80d8
* Source base has been completely changed over to use Function instead of ↵Chris Lattner2002-04-071-12/+0
| | | | | | Method, this file is not obsolete. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2143 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix Bug: test/Regression/Other/2002-04-07-InfConstant.llChris Lattner2002-04-071-3/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2142 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug: test/Regression/Other/2002-04-07-HexFloatConstants.llChris Lattner2002-04-071-2/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2141 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new function utohexstr.Chris Lattner2002-04-072-0/+36
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2140 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a better comment to explain what is going on.Chris Lattner2002-04-071-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2139 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcaseChris Lattner2002-04-071-0/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2138 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove debugging code accidentally checked in!Chris Lattner2002-04-071-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2137 91177308-0d34-0410-b5e6-96231b3b80d8
* don't delete intermediate files!Chris Lattner2002-04-071-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2136 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for hexadecimal FP constants!Chris Lattner2002-04-071-7/+35
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2135 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement constant propogation of multiply and divide instructions!!Chris Lattner2002-04-074-0/+41
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2134 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for bad constant handlingChris Lattner2002-04-071-0/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2133 91177308-0d34-0410-b5e6-96231b3b80d8
* Hopefully this change will make the makefile work for other people without ↵Chris Lattner2002-04-072-2/+2
| | | | | | hacking it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2128 91177308-0d34-0410-b5e6-96231b3b80d8
* * 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! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2127 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable better debug output. When debugging the type system, print out theChris Lattner2002-04-071-1/+3
| | | | | | | type tables after reading a bytecode file to make sure they are ok git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2126 91177308-0d34-0410-b5e6-96231b3b80d8
* * 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2125 91177308-0d34-0410-b5e6-96231b3b80d8
* * 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2124 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug in testcase: no implementatino section make it not legal input, soChris Lattner2002-04-051-0/+2
| | | | | | | once the parser is fixed to handle the bug, it broke on the bad input. :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2123 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcasesChris Lattner2002-04-052-0/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2122 91177308-0d34-0410-b5e6-96231b3b80d8
* * 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! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2121 91177308-0d34-0410-b5e6-96231b3b80d8
* * Delete getNumAbstractTypeUsers methodChris Lattner2002-04-051-17/+7
| | | | | | | * Move addAbstractTypeUser method to Type.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2120 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean up debugging codeChris Lattner2002-04-051-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2119 91177308-0d34-0410-b5e6-96231b3b80d8