mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-12 06:06:32 +00:00
Rename removeDeadNodes to removeTriviallyDeadNodes
Add new removeDeadNodes method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2968 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a990291462
commit
2dfbe3a751
@ -274,12 +274,21 @@ public:
|
||||
//
|
||||
void markIncompleteNodes();
|
||||
|
||||
// removeDeadNodes - After the graph has been constructed, this method removes
|
||||
// all unreachable nodes that are created because they got merged with other
|
||||
// nodes in the graph.
|
||||
// removeTriviallyDeadNodes - After the graph has been constructed, this
|
||||
// method removes all unreachable nodes that are created because they got
|
||||
// merged with other nodes in the graph.
|
||||
//
|
||||
void removeTriviallyDeadNodes();
|
||||
|
||||
// removeDeadNodes - Use a more powerful reachability analysis to eliminate
|
||||
// subgraphs that are unreachable. This often occurs because the data
|
||||
// structure doesn't "escape" into it's caller, and thus should be eliminated
|
||||
// from the caller's graph entirely. This is only appropriate to use when
|
||||
// inlining graphs.
|
||||
//
|
||||
void removeDeadNodes();
|
||||
|
||||
|
||||
// AddCaller - add a known caller node into the graph and mark it pending.
|
||||
// getCallers - get a vector of the functions that call this one
|
||||
// getCallersPending - get a matching vector of bools indicating if each
|
||||
|
@ -274,12 +274,21 @@ public:
|
||||
//
|
||||
void markIncompleteNodes();
|
||||
|
||||
// removeDeadNodes - After the graph has been constructed, this method removes
|
||||
// all unreachable nodes that are created because they got merged with other
|
||||
// nodes in the graph.
|
||||
// removeTriviallyDeadNodes - After the graph has been constructed, this
|
||||
// method removes all unreachable nodes that are created because they got
|
||||
// merged with other nodes in the graph.
|
||||
//
|
||||
void removeTriviallyDeadNodes();
|
||||
|
||||
// removeDeadNodes - Use a more powerful reachability analysis to eliminate
|
||||
// subgraphs that are unreachable. This often occurs because the data
|
||||
// structure doesn't "escape" into it's caller, and thus should be eliminated
|
||||
// from the caller's graph entirely. This is only appropriate to use when
|
||||
// inlining graphs.
|
||||
//
|
||||
void removeDeadNodes();
|
||||
|
||||
|
||||
// AddCaller - add a known caller node into the graph and mark it pending.
|
||||
// getCallers - get a vector of the functions that call this one
|
||||
// getCallersPending - get a matching vector of bools indicating if each
|
||||
|
Loading…
Reference in New Issue
Block a user