aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Print out what the root of the call graph is.Chris Lattner2002-04-101-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2223 91177308-0d34-0410-b5e6-96231b3b80d8
* Split the CleanupGCCOutput pass into two passes, and add real life actualChris Lattner2002-04-101-0/+27
| | | | | | | documentation on when they do. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2222 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow a pass to obtain an analysis result for updating.Chris Lattner2002-04-101-0/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2221 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase for structure valued parameters.Chris Lattner2002-04-101-0/+23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2220 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement TODO, fixing bug:Chris Lattner2002-04-091-16/+9
| | | | | | | test/Regression/Transforms/LevelRaise/2002-04-09-MissedRaise.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2219 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcaseChris Lattner2002-04-091-0/+49
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2218 91177308-0d34-0410-b5e6-96231b3b80d8
* Move FunctionArgument out of iOther.h into Argument.h and rename class toChris Lattner2002-04-097-22/+23
| | | | | | | be 'Argument' instead of FunctionArgument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2217 91177308-0d34-0410-b5e6-96231b3b80d8
* Move FunctionArgument out of iOther.h into Argument.h and rename class toChris Lattner2002-04-0920-39/+51
| | | | | | | be 'Argument' instead of FunctionArgument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2216 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate unneccesary extraneous iteratorsChris Lattner2002-04-091-10/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2215 91177308-0d34-0410-b5e6-96231b3b80d8
* Move FunctionArgument out of iOther.h into Argument.h and rename class toChris Lattner2002-04-091-18/+18
| | | | | | | | | | be 'Argument' instead of FunctionArgument. Rename some yacc type names to be more concise. Change jump table to use a vector instead of a list. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2214 91177308-0d34-0410-b5e6-96231b3b80d8
* Update comment to reflect class name change.Chris Lattner2002-04-091-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2213 91177308-0d34-0410-b5e6-96231b3b80d8
* Move FunctionArgument out of iOther.h into Argument.h and rename class toChris Lattner2002-04-091-15/+0
| | | | | | | | | be 'Argument' instead of FunctionArgument. Move implementation to Function.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2212 91177308-0d34-0410-b5e6-96231b3b80d8
* Move FunctionArgument out of iOther.h into Argument.h and rename class toChris Lattner2002-04-091-2/+19
| | | | | | | | | be 'Argument' instead of FunctionArgument. Move Argument implementation to Function.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2211 91177308-0d34-0410-b5e6-96231b3b80d8
* Move FunctionArgument out of iOther.h into Argument.h and rename class toChris Lattner2002-04-092-32/+40
| | | | | | | be 'Argument' instead of FunctionArgument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2210 91177308-0d34-0410-b5e6-96231b3b80d8
* Add explicit #includes of Function.h to make up for the removed #includeChris Lattner2002-04-094-0/+4
| | | | | | | in iOther.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2209 91177308-0d34-0410-b5e6-96231b3b80d8
* Use explicit .get() calls to avoid having to #include Function.hChris Lattner2002-04-091-3/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2208 91177308-0d34-0410-b5e6-96231b3b80d8
* Add #includes to make up for #includes pruned out of header files.Chris Lattner2002-04-098-2/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2207 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a couple of extra casts to avoid extra #includeChris Lattner2002-04-091-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2206 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a couple of extra casts to avoid having to add #includeChris Lattner2002-04-091-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2205 91177308-0d34-0410-b5e6-96231b3b80d8
* Use .get() explicitly and add a few extra casts to avoid 2 #includesChris Lattner2002-04-091-15/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2204 91177308-0d34-0410-b5e6-96231b3b80d8
* Use opaque decl instead of #includeChris Lattner2002-04-093-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2203 91177308-0d34-0410-b5e6-96231b3b80d8
* iUse new form of pop_back to make code more conciseChris Lattner2002-04-091-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2202 91177308-0d34-0410-b5e6-96231b3b80d8
* No need to reserve space, erasing does not change the size of the container.Chris Lattner2002-04-092-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2201 91177308-0d34-0410-b5e6-96231b3b80d8
* Rewrite MachineCodeForBasicBlock in terms of containment rather thanChris Lattner2002-04-091-4/+45
| | | | | | | inheritance. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2200 91177308-0d34-0410-b5e6-96231b3b80d8
* Delete NOP instructions as they are eliminated.Chris Lattner2002-04-091-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2199 91177308-0d34-0410-b5e6-96231b3b80d8
* Free memory when done with it.Chris Lattner2002-04-091-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2198 91177308-0d34-0410-b5e6-96231b3b80d8
* * Add a file header with some informationChris Lattner2002-04-092-70/+50
| | | | | | | | | | | * Delete the DelaySlotInfo objects created by the SchedulingManager class. These leaked objects were accounting for 3/4 of the memory leaked by the backend, so this is a relatively major win. * Reorganize SchedulingManager::getDelaySlotInfoForInstr so that it has better code locality (making it easier to read). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2197 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't leak all of the Loop objects created...Chris Lattner2002-04-092-3/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2196 91177308-0d34-0410-b5e6-96231b3b80d8
* * Add a useful file commentChris Lattner2002-04-091-91/+7
| | | | | | | | | * Move InsertPrologEpilogCode class to PrologEpilogCodeInserter.cpp -> Among other things, this eliminates the need for the minstrVec static global array. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2195 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the InsertPrologEpilogCode class out of the Sparc.cpp file into theChris Lattner2002-04-092-89/+0
| | | | | | | | | | new PrologEpilogCodeInserter.cpp file, and include the bodies of the GetInstructionsFor(Prolog|Epilog) functions from SparcInstrSelection.cpp into the class. This eliminates the need for a static global vector of instructions and a class of errors that is really unneccesary. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2194 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the InsertPrologEpilogCode class out of the Sparc.cpp file, and includeChris Lattner2002-04-091-0/+153
| | | | | | | | | the bodies of the GetInstructionsFor(Prolog|Epilog) functions from SparcInstrSelection.cpp into the class. This eliminates the need for a static global vector of instructions and a class of errors that is really unneccesary. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2193 91177308-0d34-0410-b5e6-96231b3b80d8
* Include prototype for interface to PrologEpilogCodeInserter.cpp fileChris Lattner2002-04-091-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2192 91177308-0d34-0410-b5e6-96231b3b80d8
* Use new higher level isFloatingPoint() functionChris Lattner2002-04-091-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2191 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean up the ownership model a bit so that nodes actually get deleted moreChris Lattner2002-04-092-24/+16
| | | | | | | | frequently. This still leaks edges quite a bit, but it leaks no nodes (I think). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2190 91177308-0d34-0410-b5e6-96231b3b80d8
* * General cleanupsChris Lattner2002-04-092-42/+42
| | | | | | | | * In calcLiveVarSetsForBB, do not leak a ValueSet every time the function is called! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2189 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert AddedInstrMapType to contain AddedInstrns by value instead of byChris Lattner2002-04-095-122/+70
| | | | | | | pointer so that they do not all get leaked! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2188 91177308-0d34-0410-b5e6-96231b3b80d8
* *blush* somehow this debugging code got checked in...Chris Lattner2002-04-091-3/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2187 91177308-0d34-0410-b5e6-96231b3b80d8
* GCC3.0 is reported to die without an alloca definition.Chris Lattner2002-04-092-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2186 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't leak memory like a seiveChris Lattner2002-04-083-37/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2185 91177308-0d34-0410-b5e6-96231b3b80d8
* Value cannot be directly instantiated. I think that this code was TRYING toChris Lattner2002-04-082-10/+6
| | | | | | | | make a PHI node, although it was badly broken. This keeps tests passing, so we'll go with it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2184 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove extranous #includeChris Lattner2002-04-084-4/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2183 91177308-0d34-0410-b5e6-96231b3b80d8
* s/PrintMethodPass/PrintFunctionPassChris Lattner2002-04-082-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2182 91177308-0d34-0410-b5e6-96231b3b80d8
* Add #includesChris Lattner2002-04-081-1/+3
| | | | | | | s/PrintMethodPass/PrintFunctionPass git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2181 91177308-0d34-0410-b5e6-96231b3b80d8
* s/Method/FunctionChris Lattner2002-04-0819-77/+73
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2180 91177308-0d34-0410-b5e6-96231b3b80d8
* * Narrow AsmWriter interfaceChris Lattner2002-04-081-37/+40
| | | | | | | * Implement Value::print methods here instead of WriteToAssembly git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2179 91177308-0d34-0410-b5e6-96231b3b80d8
* s/Method/FunctionChris Lattner2002-04-0814-36/+23
| | | | | | | Remove extraneous #includes of llvm/Assembly/Writer git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2178 91177308-0d34-0410-b5e6-96231b3b80d8
* s/method/functionChris Lattner2002-04-084-8/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2177 91177308-0d34-0410-b5e6-96231b3b80d8
* llvm/Assembly/Writer.h is unneccesary except for extreme outputChris Lattner2002-04-081-2/+1
| | | | | | | isLabelType is obsolete git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2176 91177308-0d34-0410-b5e6-96231b3b80d8
* isLabelType is obsoleteChris Lattner2002-04-083-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2175 91177308-0d34-0410-b5e6-96231b3b80d8
* Play around with #includesChris Lattner2002-04-082-4/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2174 91177308-0d34-0410-b5e6-96231b3b80d8