| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix CreateUIntSetInstruction() to handle sign extensions correctly. | Vikram S. Adve | 2002-03-31 | 1 | -7/+37 |
| | | | | | llvm-svn: 2059 | ||||
| * | * Catch and ignore (for now) return instructions in tranformed functions | Chris Lattner | 2002-03-30 | 1 | -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 | ||||
| * | Initial checkin of file: | Chris Lattner | 2002-03-30 | 2 | -0/+134 |
| | | | | | | | | Define an iterator to operate over data structure outgoing links and graph implementation so generic graph functions can be used. llvm-svn: 2057 | ||||
| * | * Clean up data structures [AllocDSNode -> DSNode] | Chris Lattner | 2002-03-30 | 1 | -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 | ||||
| * | Add accessors and a method to get all the outgoing links for ALL nodes | Chris Lattner | 2002-03-30 | 1 | -0/+33 |
| | | | | | llvm-svn: 2055 | ||||
| * | Add an accessor | Chris Lattner | 2002-03-30 | 1 | -1/+5 |
| | | | | | llvm-svn: 2054 | ||||
| * | Maintain enough information so that the pools for all of the nodes of | Chris Lattner | 2002-03-30 | 1 | -44/+66 |
| | | | | | | | the graph can be passed around. llvm-svn: 2053 | ||||
| * | Implement the first batch of transformations to the methods. So far it: | Chris Lattner | 2002-03-29 | 1 | -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 | ||||
| * | Add a hook to allow the datastructure to keep naturally up to date, even | Chris Lattner | 2002-03-29 | 1 | -0/+13 |
| | | | | | | | though it's not entirely fleshed out. llvm-svn: 2051 | ||||
| * | * s/Method/Function | Chris Lattner | 2002-03-29 | 1 | -10/+14 |
| | | | | | | | | * Implement a check to make sure a function is not internal and external at the same time llvm-svn: 2050 | ||||
| * | Correctly clone the function with the extra argument types. Now we need | Chris Lattner | 2002-03-29 | 1 | -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 | ||||
| * | s/Method/Function | Chris Lattner | 2002-03-29 | 1 | -6/+6 |
| | | | | | llvm-svn: 2048 | ||||
| * | Add more accessors | Chris Lattner | 2002-03-29 | 1 | -0/+8 |
| | | | | | llvm-svn: 2047 | ||||
| * | Checkin new useful routine | Chris Lattner | 2002-03-29 | 1 | -0/+17 |
| | | | | | llvm-svn: 2046 | ||||
| * | New clone function routine | Chris Lattner | 2002-03-29 | 1 | -0/+90 |
| | | | | | llvm-svn: 2045 | ||||
| * | Find out which calls in the function we need to transform and how. | Chris Lattner | 2002-03-29 | 1 | -15/+189 |
| | | | | | | | Next step is to start hacking functions up. llvm-svn: 2044 | ||||
| * | s/Method/Function | Chris Lattner | 2002-03-29 | 2 | -5/+5 |
| | | | | | llvm-svn: 2043 | ||||
| * | Rename getCalledMethod to getCalledFunction | Chris Lattner | 2002-03-29 | 1 | -4/+4 |
| | | | | | llvm-svn: 2042 | ||||
| * | Remove getCalledMethod. Use getCalledFunction instead | Chris Lattner | 2002-03-29 | 1 | -4/+0 |
| | | | | | llvm-svn: 2041 | ||||
| * | Modularize code a bit | Chris Lattner | 2002-03-29 | 1 | -2/+25 |
| | | | | | llvm-svn: 2040 | ||||
| * | Implement the first step of pool allocation - Creating, initialization, and | Chris Lattner | 2002-03-29 | 1 | -8/+82 |
| | | | | | | | destruction of the pools. llvm-svn: 2039 | ||||
| * | Add an insert method to VAlueHolder to allow batch insertion | Chris Lattner | 2002-03-29 | 2 | -0/+40 |
| | | | | | llvm-svn: 2038 | ||||
| * | Add new addTypeName method to Module class | Chris Lattner | 2002-03-29 | 2 | -0/+21 |
| | | | | | llvm-svn: 2037 | ||||
| * | s/Method/Function | Chris Lattner | 2002-03-29 | 2 | -49/+49 |
| | | | | | llvm-svn: 2036 | ||||
| * | s/Method/Function | Chris Lattner | 2002-03-29 | 7 | -30/+31 |
| | | | | | llvm-svn: 2035 | ||||
| * | s/Method/Function | Chris Lattner | 2002-03-29 | 7 | -55/+56 |
| | | | | | llvm-svn: 2034 | ||||
| * | Implement new getFunction and getOrInsertFunction methods | Chris Lattner | 2002-03-29 | 1 | -0/+31 |
| | | | | | llvm-svn: 2033 | ||||
| * | Simplify code a bit by using Module::getOrInsertFunction | Chris Lattner | 2002-03-29 | 1 | -11/+2 |
| | | | | | llvm-svn: 2032 | ||||
| * | Flesh out a bunch more code, print allocations that are poolable. | Chris Lattner | 2002-03-29 | 1 | -10/+149 |
| | | | | | llvm-svn: 2031 | ||||
| * | s/method/function | Chris Lattner | 2002-03-29 | 1 | -30/+26 |
| | | | | | llvm-svn: 2030 | ||||
| * | s/Method/Function/g | Chris Lattner | 2002-03-29 | 1 | -66/+65 |
| | | | | | llvm-svn: 2029 | ||||
| * | Simplify code a lot by using the Module::getFunction & getOrInsertFunction | Chris Lattner | 2002-03-29 | 1 | -46/+24 |
| | | | | | llvm-svn: 2028 | ||||
| * | Expose more information to clients | Chris Lattner | 2002-03-29 | 1 | -0/+9 |
| | | | | | llvm-svn: 2027 | ||||
| * | Add getOrInsertFunction and getFunction methods to Module. This simplifies | Chris Lattner | 2002-03-29 | 1 | -0/+11 |
| | | | | | | | some code in the transformations. llvm-svn: 2026 | ||||
| * | Add #define for MethodType | Chris Lattner | 2002-03-29 | 1 | -0/+4 |
| | | | | | llvm-svn: 2025 | ||||
| * | s/Method/Function/ | Chris Lattner | 2002-03-29 | 1 | -4/+4 |
| | | | | | llvm-svn: 2024 | ||||
| * | Rename MethodType to FunctionType, provide a #define | Chris Lattner | 2002-03-29 | 1 | -11/+14 |
| | | | | | llvm-svn: 2023 | ||||
| * | Remove the reduceApply functions they are obsolete things from the days before | Chris Lattner | 2002-03-28 | 2 | -24/+0 |
| | | | | | | | we had a reasonable pass system llvm-svn: 2022 | ||||
| * | Implement getEscapingAllocations & getNonEscapingAllocations | Chris Lattner | 2002-03-28 | 2 | -26/+65 |
| | | | | | llvm-svn: 2021 | ||||
| * | * Rename UnlinkUndistinguishableShadowNodes & RemoveUnreachableShadowNodes | Chris Lattner | 2002-03-28 | 3 | -15/+16 |
| | | | | | | | | | to reflect that they can eliminate arbitrary nodes. * Rename the ShadowNodeEliminate.cpp file to EliminateNodes.cpp for the same reason llvm-svn: 2020 | ||||
| * | * Remove RemoveUnreachableShadowNodes & UnlinkUndistinguishableShadowNodes | Chris Lattner | 2002-03-28 | 1 | -3/+17 |
| | | | | | | | | | to reflect the fact that they actually operate on arbitrary nodes * Clean up public interface of FunctionDSGraph * add getEscapingAllocations & getNonEscapingAllocations llvm-svn: 2019 | ||||
| * | Ooops, I did such a great job pruning nodes, that I accidentally deleted | Chris Lattner | 2002-03-28 | 1 | -1/+2 |
| | | | | | | | ALL allocation nodes... hrm... bad. llvm-svn: 2018 | ||||
| * | Add subdirs to makefile | Chris Lattner | 2002-03-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 2017 | ||||
| * | Initial checkin of first regression test for mem2reg pass | Chris Lattner | 2002-03-28 | 2 | -0/+23 |
| | | | | | llvm-svn: 2016 | ||||
| * | Makefile change for IPO's that use the Datastructure analysis stuff | Chris Lattner | 2002-03-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 2015 | ||||
| * | Initial checkin of Noop pass that will be the pool allocator | Chris Lattner | 2002-03-28 | 1 | -0/+33 |
| | | | | | llvm-svn: 2014 | ||||
| * | Add hook for pool allocation pass | Chris Lattner | 2002-03-28 | 1 | -2/+5 |
| | | | | | llvm-svn: 2013 | ||||
| * | New file for new pass | Chris Lattner | 2002-03-28 | 1 | -0/+15 |
| | | | | | llvm-svn: 2012 | ||||
| * | Checking for Cameron | Chris Lattner | 2002-03-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 2011 | ||||
| * | Many changes | Chris Lattner | 2002-03-28 | 6 | -317/+386 |
| | | | | | | | | | | | | | | * Simplify a lot of the inlining stuff. There are still problems, but not many * Break up the Function representation to have a vector for every different node type so it is fast to find nodes of a particular flavor. * Do more intelligent merging of call values * Allow elimination of unreachable shadow and allocation nodes * Generalize indistinguishability testing to allow merging of identical calls. * Increase shadow node merging power llvm-svn: 2010 | ||||

