- Aug 02, 2003
-
-
Chris Lattner authored
llvm-svn: 7492
-
- Jul 29, 2003
-
-
Vikram S. Adve authored
be recomputed. llvm-svn: 7388
-
- Jul 27, 2003
-
-
Chris Lattner authored
llvm-svn: 7340
-
- Jul 25, 2003
-
-
Chris Lattner authored
llvm-svn: 7323
-
Chris Lattner authored
llvm-svn: 7322
-
- Jul 23, 2003
-
-
Chris Lattner authored
llvm-svn: 7249
-
Chris Lattner authored
llvm-svn: 7248
-
- Jul 22, 2003
-
-
Vikram S. Adve authored
llvm-svn: 7227
-
- Jul 17, 2003
-
-
Brian Gaeke authored
llvm-svn: 7194
-
- Jul 16, 2003
-
-
Vikram S. Adve authored
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). llvm-svn: 7189
-
Vikram S. Adve authored
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 caller graph. llvm-svn: 7188
-
Vikram S. Adve authored
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::updateFromGlobalGraph() to rematerialize nodes from the globals graph into the current graph in both BU and TD passes. (3) `I' flags are removed from all nodes in the globals graph, because they are difficult to maintain correctly and are not needed anyway. (4) Aux. function calls are only removed to the globals graph if they will never be resovled. (This is what fixed gap.) The immediate reason is that if we took these out of a function (and moved them to the globals graph) we would need to rematerialize these nodes into the function graph for every function in the BU pass. The longer term problem is that we would need to find a way to remove them from the globals graph iff they have been resolved on all paths through the call graph. llvm-svn: 7187
-
Vikram S. Adve authored
isUnresolvableFunc() (I thought I needed this externally. I don't, but it's still nicer this way.) llvm-svn: 7186
-
- Jul 14, 2003
-
-
Misha Brukman authored
llvm-svn: 7174
-
- Jul 03, 2003
-
-
Chris Lattner authored
Reuse the values if they are constants: this is important so that we index into the right structure field This fixes bug: BasicAA/2003-07-03-BasicAACrash.ll llvm-svn: 7093
-
Chris Lattner authored
Fix a bug where we removed nodes that were marked U. llvm-svn: 7090
-
Chris Lattner authored
llvm-svn: 7088
-
Chris Lattner authored
llvm-svn: 7087
-
Chris Lattner authored
llvm-svn: 7084
-
Chris Lattner authored
llvm-svn: 7082
-
- Jul 02, 2003
-
-
Chris Lattner authored
llvm-svn: 7076
-
Chris Lattner authored
llvm-svn: 7075
-
Chris Lattner authored
llvm-svn: 7065
-
Chris Lattner authored
llvm-svn: 7064
-
Chris Lattner authored
llvm-svn: 7063
-
Chris Lattner authored
llvm-svn: 7062
-
Chris Lattner authored
Minor cleanups, reenable folding of call nodes to external functions llvm-svn: 7061
-
Chris Lattner authored
llvm-svn: 7060
-
Chris Lattner authored
Minor cleanups llvm-svn: 7059
-
Chris Lattner authored
llvm-svn: 7058
-
- Jul 01, 2003
-
-
Chris Lattner authored
llvm-svn: 7046
-
Chris Lattner authored
llvm-svn: 7031
-
Chris Lattner authored
llvm-svn: 7030
-
Chris Lattner authored
llvm-svn: 7029
-
Chris Lattner authored
llvm-svn: 7027
-
- Jun 30, 2003
-
-
Chris Lattner authored
llvm-svn: 7008
-
Chris Lattner authored
llvm-svn: 7007
-
Chris Lattner authored
llvm-svn: 7006
-
Chris Lattner authored
llvm-svn: 7005
-
Chris Lattner authored
llvm-svn: 7003
-