Commits

Show all
Author Commit Message Labels Comments Date
convert-repo
This commit was manufactured by cvs2svn to create branch 'poolalloc'.
Tags
3 tags
Branches
poolalloc
John T. Criswell
Initial revision
Sumant Kowshik
Change implementation so that variable sized slabs are used to allow arbitrary sized array allocations
Sumant Kowshik
Added code for pool allocating only the pool-allocatable data structures in the presence of collapsed nodes + a couple of bug fixes
Sumant Kowshik
Added a flag which is set when all data structures are not pool allocated
Chris Lattner
Remove unnecessary use of NonCopyable
Chris Lattner
Minor changes: * Expand most tabs into spaces * Move #define DEBUG_TYPE to top of file to avoid warning
Chris Lattner
Add more verbose comment
Chris Lattner
Add a comment to the method decl
Sumant Kowshik
Added declaration of mergeInGlobalsGraph
Sumant Kowshik
Added function mergeInGlobalsGraph which merges in the entire globals graph with the graph of a function
Sumant Kowshik
Major bug fixes including a memory leak and tracking some exceptional conditions. Also added support for including global and indirect call information in the DS graphs used by the pool allocation
Sumant Kowshik
Added the declaration of InlineIndirectCalls
Chris Lattner
DEBUG got moved to Support/Debug.h
Chris Lattner
Fix another minor bug
Chris Lattner
Remove #includes
Chris Lattner
Dont' try to parse the colon
Chris Lattner
Add a more general check-flags which can be used to ensure arbitrary flags are set
Chris Lattner
Use the C++ <cassert> header, not the C <assert.h> header
Vikram Adve
Fix comment.
Brian Gaeke
Fix typo in call to isUnresolvableFunc, which was breaking the build.
Vikram Adve
(1) Added DSGraph::cloneReachableSubgraph and DSGraph::cloneReachableNodes to clone the subgraph reachable from a set of root nodes, into the current graph, merging the global nodes into those in the current graph. (2) Added DSGraph::updateFromGlobalGraph() to rematerialize nodes from the globals graph into the current graph in both BU and TD passes. (3) Added hash_set<const GlobalValue*> InlinedGlobals: a set of globals to track which globals have been i…
Vikram Adve
Rematerialize nodes from the globals graph into the current graph after all callees are inlined into the current graph. NOTE: There's also a major bug fix for the BU pass in DataStructure.cpp, which ensures that resolvable indirect calls are not moved out to the globals graph, so that they are eventually inlined (if possible).
Vikram Adve
(1) Rematerialize nodes from the globals graph into the current graph after all callers are inlined into the current graph. (2) Optimize the way a graph is inlined into its callees in the TD phase: (a) Use DSGraph::cloneReachableSubgraph to clone only a subgraph at each call site, for faster inlining. (b) Clone separately for the same callee at different call sites, since only the reachable subgraph is being cloned, not the entire …
Vikram Adve
Implement 2 important changes: (1) rematerialization from the globals graph, and (2) faster inlining by cloning only reachable nodes. In particular: (1) Added DSGraph::cloneReachableSubgraph and DSGraph::cloneReachableNodes to clone the subgraph reachable from a set of root nodes, into the current graph, merging the global nodes into thos in the current graph. The TD pass now uses this for faster inlining, and so does the next function. (2) Added DSGraph::…
Vikram Adve
Factor out the test for unresolvable external functions into isUnresolvableFunc() (I thought I needed this externally. I don't, but it's still nicer this way.)
Sumant Kowshik
Added support for poolallocarray and poolmakeunfreeable. The latter is used by the SAFECode project
Chris Lattner
Remove globals more aggressively from graphs. Fix a bug where we removed nodes that were marked U.
Chris Lattner
INCLUDE_PARENT_GRAPH is required
Chris Lattner
INCLUDE_PARENT_GRAPH is required!
  1. Prev
  2. Next