summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/OldPoolAllocate.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Removing the pool allocator from the main CVS tree.John Criswell2003-08-131-1759/+0
| | | | | | Use the poolalloc module in CVS from now on. llvm-svn: 7810
* Disable construction of pool allocatorChris Lattner2003-01-241-4/+2
| | | | llvm-svn: 5422
* Rename CloneFunction.h to Cloning.hChris Lattner2002-11-191-1/+1
| | | | llvm-svn: 4760
* Really disable pool allocatorChris Lattner2002-10-171-2/+3
| | | | llvm-svn: 4216
* Stop using DataStructureGraph.hChris Lattner2002-10-101-4/+1
| | | | llvm-svn: 4106
* Change the MallocInst & AllocaInst ctors to take the allocated type, not theChris Lattner2002-09-131-3/+2
| | | | | | pointer type returned. llvm-svn: 3711
* - Cleaned up the interface to AnalysisUsage to take analysis class namesChris Lattner2002-08-081-1/+1
| | | | | | | instead of ::ID's. - Pass::getAnalysis<> now no longer takes an optional argument llvm-svn: 3265
* * Add support for different "PassType's"Chris Lattner2002-07-261-2/+2
| | | | | | | | | | | | | | | * Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Add support for different "PassType's" * Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Remove getPassName implementations from various subclasses llvm-svn: 3112
* *** empty log message ***Chris Lattner2002-07-251-0/+1
| | | | llvm-svn: 3075
* Eliminate several include/llvm/Transforms/IPO/*.h files, moving their ↵Chris Lattner2002-07-241-1/+1
| | | | | | contents into IPO.h llvm-svn: 3043
* *** empty log message ***Chris Lattner2002-07-231-2/+3
| | | | llvm-svn: 3016
* *** empty log message ***Chris Lattner2002-07-221-4/+9
| | | | llvm-svn: 2985
* Disable pool allocation stuff until data structure analysis is sorted back outChris Lattner2002-07-101-2/+7
| | | | llvm-svn: 2869
* *** empty log message ***Chris Lattner2002-06-301-1/+0
| | | | llvm-svn: 2813
* changes to make it compatible with 64bit gccAnand Shukla2002-06-251-7/+13
| | | | llvm-svn: 2792
* MEGAPATCH checkin.Chris Lattner2002-06-251-133/+131
| | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2778
* Updates to move some header files out of include/llvm/Transforms intoChris Lattner2002-05-071-1/+1
| | | | | | the Scalar and Utils subdirectories llvm-svn: 2523
* Be a little more efficient, do not generate loads and stores with indices in ↵Chris Lattner2002-05-021-25/+37
| | | | | | them. llvm-svn: 2430
* Eliminate duplicate or unneccesary #include'sChris Lattner2002-04-291-1/+0
| | | | llvm-svn: 2397
* Add new optional getPassName() virtual function that a Pass can overrideChris Lattner2002-04-291-0/+2
| | | | | | to make debugging output a lot nicer. llvm-svn: 2395
* Split ConstantVals.h into Constant.h and Constants.hChris Lattner2002-04-281-1/+1
| | | | llvm-svn: 2378
* * Rename MethodPass class to FunctionPassChris Lattner2002-04-271-4/+3
| | | | | | | | | | | | | | | - Rename runOnMethod to runOnFunction * Transform getAnalysisUsageInfo into getAnalysisUsage - Method is now const - It now takes one AnalysisUsage object to fill in instead of 3 vectors to fill in - Pass's now specify which other passes they _preserve_ not which ones they modify (be conservative!) - A pass can specify that it preserves all analyses (because it never modifies the underlying program) * s/Method/Function/g in other random places as well llvm-svn: 2333
* * Change Constant::getNullConstant to Constant::getNullValueChris Lattner2002-04-271-35/+51
| | | | | | * Add support for pool allocating array allocations of varying size llvm-svn: 2329
* Programs that actually free memory were brokenChris Lattner2002-04-181-1/+1
| | | | llvm-svn: 2307
* Correctly transform dependant arguments, allowing the perimeter bm to work.Chris Lattner2002-04-181-82/+303
| | | | llvm-svn: 2282
* run an extra pass after a function has been transformed to eliminateChris Lattner2002-04-151-0/+122
| | | | | | obviously duplicate loads of the pool base. llvm-svn: 2255
* Turn off debug outputChris Lattner2002-04-141-9/+36
| | | | llvm-svn: 2247
* * Allow datasize to be specified on the commandlineChris Lattner2002-04-131-13/+58
| | | | | | | | * Build new datatypes correctly * Transform instructions that return null pointers from functions to return a null index. llvm-svn: 2244
* * 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
* 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
* Move FunctionArgument out of iOther.h into Argument.h and rename class toChris Lattner2002-04-091-3/+4
| | | | | | be 'Argument' instead of FunctionArgument. llvm-svn: 2216
* Add #includes to make up for #includes pruned out of header files.Chris Lattner2002-04-091-0/+1
| | | | llvm-svn: 2207
* 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
* Add debug outputChris Lattner2002-03-311-11/+19
| | | | llvm-svn: 2066
* * Catch and ignore (for now) return instructions in tranformed functionsChris Lattner2002-03-301-31/+58
| | | | | | | | | | | * Add more debugging output * Fix problems refering to wrong versions of various graphs * Build the pool descriptor map! * Clear the nodemapping map after building pool descriptor to avoid assert * Transform the NEw function body, not the old one... * Matrix.ll now works! llvm-svn: 2058
* * Clean up data structures [AllocDSNode -> DSNode]Chris Lattner2002-03-301-74/+232
| | | | | | | | | | | | | * TransformFunctionInfo now has call field form field mapping. May be removed in the future. * Moved the computation of "Scalars" into transformFunctionBody so transformFunction didn't have to recompute it. * Implement the node mapping calculation in preparation to calculate PoolDescriptors to pass to transformFunctionBody * Print out the node mapping [it looks right!] * Other minor changes llvm-svn: 2056
* Maintain enough information so that the pools for all of the nodes ofChris Lattner2002-03-301-44/+66
| | | | | | the graph can be passed around. llvm-svn: 2053
* Implement the first batch of transformations to the methods. So far it:Chris Lattner2002-03-291-2/+172
| | | | | | | | | | | * Converts malloc instructions to poolalloc * Converts free instructions to poolfree * Convert calls to call the new cloned hacked up versions Note that this does not modify hacked up stuff yet, just the top level function llvm-svn: 2052
* Correctly clone the function with the extra argument types. Now we needChris Lattner2002-03-291-6/+74
| | | | | | | | | to modify the function next. This also properly recycles functions so that we don't get exponential code blowup in the common case. llvm-svn: 2049
* Find out which calls in the function we need to transform and how.Chris Lattner2002-03-291-15/+189
| | | | | | Next step is to start hacking functions up. llvm-svn: 2044
* Modularize code a bitChris Lattner2002-03-291-2/+25
| | | | llvm-svn: 2040
* Implement the first step of pool allocation - Creating, initialization, andChris Lattner2002-03-291-8/+82
| | | | | | destruction of the pools. llvm-svn: 2039
* Flesh out a bunch more code, print allocations that are poolable.Chris Lattner2002-03-291-10/+149
| | | | llvm-svn: 2031
* Initial checkin of Noop pass that will be the pool allocatorChris Lattner2002-03-281-0/+33
llvm-svn: 2014
OpenPOWER on IntegriCloud