(1) Rematerialize nodes from the globals graph into the current graph
authorVikram S. Adve <vadve@cs.uiuc.edu>
Wed, 16 Jul 2003 21:40:28 +0000 (21:40 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Wed, 16 Jul 2003 21:40:28 +0000 (21:40 +0000)
commit03e19ddaf70b6e1595d503641928efb62e18df14
tree5e38f903f77e4071e34a5c9ee9b757afed58f9e6
parent78bbec7fcb7664d669eb18f2f8767dcc2e1a8274
(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
        caller graph.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7188 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/DataStructure/TopDownClosure.cpp