mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 06:32:24 +00:00
Allow isa<DSNode>(..)
Simplification routines return true on change git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1996 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bc132d62d3
commit
26f8a40b51
@ -153,6 +153,7 @@ public:
|
||||
FieldLinks.clear();
|
||||
}
|
||||
|
||||
static bool classof(const DSNode *N) { return true; }
|
||||
protected:
|
||||
virtual DSNode *cloneImpl() const = 0;
|
||||
virtual void mapNode(std::map<const DSNode*, DSNode*> &NodeMap,
|
||||
@ -303,8 +304,8 @@ class FunctionDSGraph {
|
||||
// as the data structure graph itself.
|
||||
//
|
||||
PointerValSet cloneFunctionIntoSelf(const FunctionDSGraph &G, bool ValueMap);
|
||||
void RemoveUnreachableShadowNodes();
|
||||
void UnlinkUndistinguishableShadowNodes();
|
||||
bool RemoveUnreachableShadowNodes();
|
||||
bool UnlinkUndistinguishableShadowNodes();
|
||||
public:
|
||||
FunctionDSGraph(Function *F);
|
||||
FunctionDSGraph(const FunctionDSGraph &DSG);
|
||||
|
@ -153,6 +153,7 @@ public:
|
||||
FieldLinks.clear();
|
||||
}
|
||||
|
||||
static bool classof(const DSNode *N) { return true; }
|
||||
protected:
|
||||
virtual DSNode *cloneImpl() const = 0;
|
||||
virtual void mapNode(std::map<const DSNode*, DSNode*> &NodeMap,
|
||||
@ -303,8 +304,8 @@ class FunctionDSGraph {
|
||||
// as the data structure graph itself.
|
||||
//
|
||||
PointerValSet cloneFunctionIntoSelf(const FunctionDSGraph &G, bool ValueMap);
|
||||
void RemoveUnreachableShadowNodes();
|
||||
void UnlinkUndistinguishableShadowNodes();
|
||||
bool RemoveUnreachableShadowNodes();
|
||||
bool UnlinkUndistinguishableShadowNodes();
|
||||
public:
|
||||
FunctionDSGraph(Function *F);
|
||||
FunctionDSGraph(const FunctionDSGraph &DSG);
|
||||
|
Loading…
x
Reference in New Issue
Block a user