summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a couple of extra casts to avoid extra #includeChris Lattner2002-04-091-2/+2
| | | | llvm-svn: 2206
* Add a couple of extra casts to avoid having to add #includeChris Lattner2002-04-091-3/+3
| | | | llvm-svn: 2205
* Use .get() explicitly and add a few extra casts to avoid 2 #includesChris Lattner2002-04-091-15/+13
| | | | llvm-svn: 2204
* Use opaque decl instead of #includeChris Lattner2002-04-091-1/+1
| | | | llvm-svn: 2203
* iUse new form of pop_back to make code more conciseChris Lattner2002-04-091-2/+1
| | | | llvm-svn: 2202
* No need to reserve space, erasing does not change the size of the container.Chris Lattner2002-04-091-1/+0
| | | | llvm-svn: 2201
* Rewrite MachineCodeForBasicBlock in terms of containment rather thanChris Lattner2002-04-091-4/+45
| | | | | | inheritance. llvm-svn: 2200
* Delete NOP instructions as they are eliminated.Chris Lattner2002-04-091-0/+1
| | | | llvm-svn: 2199
* Free memory when done with it.Chris Lattner2002-04-091-1/+4
| | | | llvm-svn: 2198
* * Add a file header with some informationChris Lattner2002-04-091-35/+25
| | | | | | | | | | * 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). llvm-svn: 2197
* Don't leak all of the Loop objects created...Chris Lattner2002-04-092-3/+18
| | | | llvm-svn: 2196
* * 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. llvm-svn: 2195
* 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. llvm-svn: 2194
* 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. llvm-svn: 2193
* Include prototype for interface to PrologEpilogCodeInserter.cpp fileChris Lattner2002-04-091-0/+2
| | | | llvm-svn: 2192
* Use new higher level isFloatingPoint() functionChris Lattner2002-04-091-1/+1
| | | | llvm-svn: 2191
* Clean up the ownership model a bit so that nodes actually get deleted moreChris Lattner2002-04-091-12/+8
| | | | | | | frequently. This still leaks edges quite a bit, but it leaks no nodes (I think). llvm-svn: 2190
* * General cleanupsChris Lattner2002-04-091-21/+21
| | | | | | | * In calcLiveVarSetsForBB, do not leak a ValueSet every time the function is called! llvm-svn: 2189
* Convert AddedInstrMapType to contain AddedInstrns by value instead of byChris Lattner2002-04-093-65/+39
| | | | | | pointer so that they do not all get leaked! llvm-svn: 2188
* *blush* somehow this debugging code got checked in...Chris Lattner2002-04-091-3/+0
| | | | llvm-svn: 2187
* GCC3.0 is reported to die without an alloca definition.Chris Lattner2002-04-091-0/+1
| | | | llvm-svn: 2186
* Don't leak memory like a seiveChris Lattner2002-04-082-19/+9
| | | | llvm-svn: 2185
* Value cannot be directly instantiated. I think that this code was TRYING toChris Lattner2002-04-081-5/+3
| | | | | | | make a PHI node, although it was badly broken. This keeps tests passing, so we'll go with it. llvm-svn: 2184
* Remove extranous #includeChris Lattner2002-04-084-4/+0
| | | | llvm-svn: 2183
* s/PrintMethodPass/PrintFunctionPassChris Lattner2002-04-082-2/+2
| | | | llvm-svn: 2182
* Add #includesChris Lattner2002-04-081-1/+3
| | | | | | s/PrintMethodPass/PrintFunctionPass llvm-svn: 2181
* s/Method/FunctionChris Lattner2002-04-0814-55/+52
| | | | llvm-svn: 2180
* * Narrow AsmWriter interfaceChris Lattner2002-04-081-37/+40
| | | | | | * Implement Value::print methods here instead of WriteToAssembly llvm-svn: 2179
* s/Method/FunctionChris Lattner2002-04-0814-36/+23
| | | | | | Remove extraneous #includes of llvm/Assembly/Writer llvm-svn: 2178
* s/method/functionChris Lattner2002-04-083-5/+5
| | | | llvm-svn: 2177
* llvm/Assembly/Writer.h is unneccesary except for extreme outputChris Lattner2002-04-081-2/+1
| | | | | | isLabelType is obsolete llvm-svn: 2176
* isLabelType is obsoleteChris Lattner2002-04-082-2/+2
| | | | llvm-svn: 2175
* Play around with #includesChris Lattner2002-04-082-4/+1
| | | | llvm-svn: 2174
* Add #includes that were pruned from already #included filesChris Lattner2002-04-081-0/+2
| | | | llvm-svn: 2173
* * Add virtual print methodsChris Lattner2002-04-087-1/+14
| | | | | | * s/Method/Function llvm-svn: 2172
* * 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. llvm-svn: 2171
* s/Method/FunctionChris Lattner2002-04-081-7/+6
| | | | | | Trim #includes llvm-svn: 2170
* Trim #includesChris Lattner2002-04-082-3/+12
| | | | llvm-svn: 2169
* * 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 llvm-svn: 2168
* * Fix commentChris Lattner2002-04-081-3/+6
| | | | | | | | * Add printing support * add isFloatingPoint method * Remove isXXXType() methods for non-derived types llvm-svn: 2167
* Pull casting operators out of Value.hChris Lattner2002-04-081-0/+80
| | | | llvm-svn: 2166
* ConstantHandling moved into VMCore libraryChris Lattner2002-04-087-7/+7
| | | | llvm-svn: 2165
* Library bumped up out of Assembly directoryChris Lattner2002-04-081-1/+1
| | | | llvm-svn: 2164
* Minor change to reflect that ConstantHandling is now part of VMCoreChris Lattner2002-04-081-2/+2
| | | | llvm-svn: 2163
* Moved assembly writer library into its own top level directory.Chris Lattner2002-04-081-1/+1
| | | | llvm-svn: 2162
* Checkin old testcase that is newly fixed.Chris Lattner2002-04-081-0/+12
| | | | llvm-svn: 2161
* New testcaseChris Lattner2002-04-081-0/+12
| | | | llvm-svn: 2160
* Checkin old testcase for switch statement. For now we just decimate themChris Lattner2002-04-081-0/+20
| | | | | | to conditional branches. llvm-svn: 2159
* Old testcase that missed getting checked inChris Lattner2002-04-081-0/+37
| | | | llvm-svn: 2158
* Add support for the gnu ld -s (strip) optionChris Lattner2002-04-081-1/+9
| | | | llvm-svn: 2157
OpenPOWER on IntegriCloud