summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* * Give alloca's for pool descriptors better names than "pool<n>".Chris Lattner2002-04-131-5/+28
| | | | | | * Fill in the pool descriptor links in the pool descriptors. llvm-svn: 2239
* * Add names to the symbol table for pool types and modified typesChris Lattner2002-04-131-11/+45
| | | | | | | | * Handle more complex structure so that power works almost * Fix bug with pooldestroy call where we passed in the size of the object instead of the pool to destroy. bisort is now pool allocated successfully! llvm-svn: 2238
* Add Module::getTypeNameChris Lattner2002-04-131-0/+20
| | | | llvm-svn: 2237
* * Clean up code to use isa & dyncast instead of poking directly into ↵Chris Lattner2002-04-131-9/+9
| | | | | | | | | instructions * Do not print the allocation size for a non array allocation (this used to work, but was broken). llvm-svn: 2235
* Implement function rewriting to use offsets instead of pointers in programs.Chris Lattner2002-04-121-217/+569
| | | | | | This now works with treeadd at least, and perhaps other programs as well. llvm-svn: 2233
* * Add commentChris Lattner2002-04-121-2/+6
| | | | | | * Do not print a space before the * in a pointer type. llvm-svn: 2232
* Add new check of return value type matching ret instruction values typesChris Lattner2002-04-121-2/+17
| | | | llvm-svn: 2230
* Fix pure virtual function called exception!Chris Lattner2002-04-121-2/+1
| | | | llvm-svn: 2229
* Handle the FP format problem, where outputed FP constants were not preciseChris Lattner2002-04-111-7/+24
| | | | | | enough. This fixes compilation of the health benchmark. llvm-svn: 2228
* * Add documentationChris Lattner2002-04-101-210/+208
| | | | | | | | | * Split the CleanGCC pass into two passes, a global pass and an IP pass. Before it was just a global pass, but it did illegal things to the module, which broke other passes that were being scheduled with it by gccld. llvm-svn: 2224
* Print out what the root of the call graph is.Chris Lattner2002-04-101-0/+2
| | | | llvm-svn: 2223
* Implement TODO, fixing bug:Chris Lattner2002-04-091-16/+9
| | | | | | test/Regression/Transforms/LevelRaise/2002-04-09-MissedRaise.ll llvm-svn: 2219
* Move FunctionArgument out of iOther.h into Argument.h and rename class toChris Lattner2002-04-091-5/+6
| | | | | | be 'Argument' instead of FunctionArgument. llvm-svn: 2217
* Move FunctionArgument out of iOther.h into Argument.h and rename class toChris Lattner2002-04-0916-34/+43
| | | | | | be 'Argument' instead of FunctionArgument. llvm-svn: 2216
* Eliminate unneccesary extraneous iteratorsChris Lattner2002-04-091-10/+4
| | | | llvm-svn: 2215
* 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. llvm-svn: 2214
* Update comment to reflect class name change.Chris Lattner2002-04-091-2/+2
| | | | llvm-svn: 2213
* 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 llvm-svn: 2212
* 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 llvm-svn: 2211
* Add explicit #includes of Function.h to make up for the removed #includeChris Lattner2002-04-094-0/+4
| | | | | | in iOther.h llvm-svn: 2209
* Add #includes to make up for #includes pruned out of header files.Chris Lattner2002-04-098-2/+11
| | | | llvm-svn: 2207
* 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
* 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
* Delete NOP instructions as they are eliminated.Chris Lattner2002-04-091-0/+1
| | | | llvm-svn: 2199
* * 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-091-2/+10
| | | | 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-091-81/+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-081-18/+5
| | | | 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-081-1/+0
| | | | llvm-svn: 2183
* s/Method/FunctionChris Lattner2002-04-0811-44/+42
| | | | 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
* ConstantHandling moved into VMCore libraryChris Lattner2002-04-087-7/+7
| | | | llvm-svn: 2165
OpenPOWER on IntegriCloud