mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
Add method to get # nodes in the graph
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2098 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8937375e4b
commit
1e10c7c278
@ -432,6 +432,10 @@ public:
|
||||
|
||||
const PointerValSet &getRetNodes() const { return RetNode; }
|
||||
|
||||
unsigned getGraphSize() const {
|
||||
return ArgNodes.size() + AllocNodes.size() + ShadowNodes.size() +
|
||||
GlobalNodes.size() + CallNodes.size();
|
||||
}
|
||||
|
||||
void printFunction(std::ostream &O, const char *Label) const;
|
||||
};
|
||||
|
@ -432,6 +432,10 @@ public:
|
||||
|
||||
const PointerValSet &getRetNodes() const { return RetNode; }
|
||||
|
||||
unsigned getGraphSize() const {
|
||||
return ArgNodes.size() + AllocNodes.size() + ShadowNodes.size() +
|
||||
GlobalNodes.size() + CallNodes.size();
|
||||
}
|
||||
|
||||
void printFunction(std::ostream &O, const char *Label) const;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user