Add new method

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4598 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-11-07 06:30:17 +00:00
parent 04781177b9
commit cee3a4ef10
2 changed files with 18 additions and 0 deletions

View File

@ -136,6 +136,15 @@ public:
std::map<const DSNode*, DSNode*> &OldNodeMap,
bool StripAllocas = false);
/// mergeInGraph - The method is used for merging graphs together. If the
/// argument graph is not *this, it makes a clone of the specified graph, then
/// merges the nodes specified in the call site with the formal arguments in
/// the graph. If the StripAlloca's argument is true then Alloca markers are
/// removed from nodes.
///
void mergeInGraph(DSCallSite &CS, const DSGraph &Graph, bool StripAllocas);
#if 0
// cloneGlobalInto - Clone the given global node (or the node for the given
// GlobalValue) from the GlobalsGraph and all its target links (recursively).

View File

@ -136,6 +136,15 @@ public:
std::map<const DSNode*, DSNode*> &OldNodeMap,
bool StripAllocas = false);
/// mergeInGraph - The method is used for merging graphs together. If the
/// argument graph is not *this, it makes a clone of the specified graph, then
/// merges the nodes specified in the call site with the formal arguments in
/// the graph. If the StripAlloca's argument is true then Alloca markers are
/// removed from nodes.
///
void mergeInGraph(DSCallSite &CS, const DSGraph &Graph, bool StripAllocas);
#if 0
// cloneGlobalInto - Clone the given global node (or the node for the given
// GlobalValue) from the GlobalsGraph and all its target links (recursively).