mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 03:24:09 +00:00
remove warning, make computeGGToGMapping return an invnodemap.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20621 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -124,6 +124,10 @@ public:
|
|||||||
/// keep track of the correspondence between the nodes in the old and new
|
/// keep track of the correspondence between the nodes in the old and new
|
||||||
/// graphs.
|
/// graphs.
|
||||||
typedef hash_map<const DSNode*, DSNodeHandle> NodeMapTy;
|
typedef hash_map<const DSNode*, DSNodeHandle> NodeMapTy;
|
||||||
|
|
||||||
|
// InvNodeMapTy - This data type is used to represent the inverse of a node
|
||||||
|
// map.
|
||||||
|
typedef hash_multimap<DSNodeHandle, const DSNode*> InvNodeMapTy;
|
||||||
private:
|
private:
|
||||||
DSGraph *GlobalsGraph; // Pointer to the common graph of global objects
|
DSGraph *GlobalsGraph; // Pointer to the common graph of global objects
|
||||||
bool PrintAuxCalls; // Should this graph print the Aux calls vector?
|
bool PrintAuxCalls; // Should this graph print the Aux calls vector?
|
||||||
@ -383,16 +387,13 @@ public:
|
|||||||
const DSNodeHandle &NH2, NodeMapTy &NodeMap,
|
const DSNodeHandle &NH2, NodeMapTy &NodeMap,
|
||||||
bool StrictChecking = true);
|
bool StrictChecking = true);
|
||||||
|
|
||||||
/// computeGGToGMapping - Compute the mapping of nodes in the global
|
|
||||||
/// graph to nodes in this graph.
|
|
||||||
void computeGGToGMapping(NodeMapTy &NodeMap);
|
|
||||||
|
|
||||||
/// computeGToGGMapping - Compute the mapping of nodes in the graph to nodes
|
/// computeGToGGMapping - Compute the mapping of nodes in the graph to nodes
|
||||||
/// in the globals graph. Note that any uses of this method are probably
|
/// in the globals graph.
|
||||||
/// bugs, unless it is known that the globals graph has been merged into this
|
|
||||||
/// graph!
|
|
||||||
void computeGToGGMapping(NodeMapTy &NodeMap);
|
void computeGToGGMapping(NodeMapTy &NodeMap);
|
||||||
|
|
||||||
|
/// computeGGToGMapping - Compute the mapping of nodes in the global
|
||||||
|
/// graph to nodes in this graph.
|
||||||
|
void computeGGToGMapping(InvNodeMapTy &InvNodeMap);
|
||||||
|
|
||||||
/// cloneInto - Clone the specified DSGraph into the current graph. The
|
/// cloneInto - Clone the specified DSGraph into the current graph. The
|
||||||
/// translated ScalarMap for the old function is filled into the OldValMap
|
/// translated ScalarMap for the old function is filled into the OldValMap
|
||||||
|
Reference in New Issue
Block a user