summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* New testcaseChris Lattner2002-04-071-0/+18
| | | | llvm-svn: 2138
* Remove debugging code accidentally checked in!Chris Lattner2002-04-071-1/+0
| | | | llvm-svn: 2137
* don't delete intermediate files!Chris Lattner2002-04-071-0/+2
| | | | llvm-svn: 2136
* Add support for hexadecimal FP constants!Chris Lattner2002-04-071-7/+35
| | | | llvm-svn: 2135
* Implement constant propogation of multiply and divide instructions!!Chris Lattner2002-04-072-0/+23
| | | | llvm-svn: 2134
* Testcase for bad constant handlingChris Lattner2002-04-071-0/+11
| | | | llvm-svn: 2133
* Hopefully this change will make the makefile work for other people without ↵Chris Lattner2002-04-072-2/+2
| | | | | | hacking it. llvm-svn: 2128
* * 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
* 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 llvm-svn: 2126
* * 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
* 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. :) llvm-svn: 2123
* New testcasesChris Lattner2002-04-052-0/+10
| | | | llvm-svn: 2122
* * 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
* * Delete getNumAbstractTypeUsers methodChris Lattner2002-04-051-17/+7
| | | | | | * Move addAbstractTypeUser method to Type.cpp llvm-svn: 2120
* 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
* Testcase that breaks recursive type processingChris Lattner2002-04-051-0/+6
| | | | llvm-svn: 2117
* * Allow purify builds to be enabled without hacking the makefile. Now youChris Lattner2002-04-052-4/+10
| | | | | | | | just have to run: make ENABLE_PURIFY=1 * Add command to the link line that makes the broken GCC 3.0 compiler work without affecting 2.95.3 llvm-svn: 2116
* s/MethodType/FunctionTypeChris Lattner2002-04-0410-41/+39
| | | | llvm-svn: 2115
* Remove backwards compatibility codeChris Lattner2002-04-041-5/+0
| | | | llvm-svn: 2114
* Make build work in release modeChris Lattner2002-04-041-11/+2
| | | | llvm-svn: 2113
* Don't link in library that cannot be found, this should be removed eventually.Chris Lattner2002-04-041-2/+2
| | | | llvm-svn: 2111
* 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
* PATypeHolder is now not a templateChris Lattner2002-04-041-4/+5
| | | | llvm-svn: 2106
* Add debug supportChris Lattner2002-04-041-0/+4
| | | | llvm-svn: 2105
* * Make PATypeHolder not take a type argumentChris Lattner2002-04-041-47/+37
| | | | | | | | * Eliminate by inlining the old newTH, newTH, and TypeDone functions * OPAQUE is now just a token that gets returned by the lexer, not a type Parser now creates type, not lexer llvm-svn: 2104
* Lexer doesn't create typehandle gross stuff now, parser does.Chris Lattner2002-04-041-6/+1
| | | | llvm-svn: 2103
* Call nodes are never equivalentChris Lattner2002-04-041-3/+4
| | | | | | Shadow nodes are never critical. llvm-svn: 2102
* Add hack to get timing of analysisChris Lattner2002-04-041-0/+23
| | | | llvm-svn: 2101
* * Eliminate commented out codeChris Lattner2002-04-041-10/+4
| | | | | | | * Do not demand a shadow node when resolving * Raise arbitrary inline limit llvm-svn: 2100
* Deparameterize PATypeHolderChris Lattner2002-04-041-1/+1
| | | | llvm-svn: 2099
* Add method to get # nodes in the graphChris Lattner2002-04-041-0/+4
| | | | llvm-svn: 2098
* Make the release build workChris Lattner2002-04-041-7/+2
| | | | llvm-svn: 2097
* Fix the release buildChris Lattner2002-04-041-2/+0
| | | | llvm-svn: 2096
* * Add dump() virtual function to AbstractType user to help track down bugsChris Lattner2002-04-041-13/+14
| | | | | | | * PATypeHolder is now a nontemplated class, because it was (almost) only ever instantiated with 'Type' as the parameter. llvm-svn: 2095
* Support resolving function arguments/return values to pointers that indexChris Lattner2002-04-011-5/+15
| | | | | | into other objects. llvm-svn: 2094
* Case numbers were not updated when Sparc.burg.in was changedVikram S. Adve2002-04-011-1/+2
| | | | | | to add separate label for bitwise NOT operator. llvm-svn: 2091
* Move the PromoteMemoryToRegister pass to be run _after_ the raise pointerChris Lattner2002-04-011-1/+1
| | | | | | references pass, so it is given the chance to do some good! llvm-svn: 2089
* Add a new replaceWith method useful for replacing instructionsChris Lattner2002-04-012-1/+33
| | | | llvm-svn: 2088
* Allow scalars that point to multiple nodes when building the scalar map.Chris Lattner2002-04-011-5/+0
| | | | llvm-svn: 2087
* Add extra case here to avoid getting spurious outputChris Lattner2002-04-011-0/+4
| | | | llvm-svn: 2086
* Avoid incorrectly adding null values to the scalar map!Chris Lattner2002-04-011-0/+1
| | | | llvm-svn: 2085
* Critical shadow nodes no do not know their parent explictly.Chris Lattner2002-04-011-4/+2
| | | | llvm-svn: 2084
* Minor cleanups (use dyn_cast instead of testing manually)Chris Lattner2002-04-011-6/+7
| | | | | | Shadow nodes now don't explicitly know their parent. llvm-svn: 2083
* Allow merging of identical call nodes. Make the shadow node pointed toChris Lattner2002-04-011-4/+18
| | | | | | by the call node noncritical before the call is destroyed. llvm-svn: 2082
* Increase limit for perimeterChris Lattner2002-04-011-1/+1
| | | | llvm-svn: 2081
* Shadow nodes don't need to know their explicit parent, they just need toChris Lattner2002-04-011-3/+2
| | | | | | know what type to be. llvm-svn: 2080
OpenPOWER on IntegriCloud