diff options
author | Chris Lattner <sabre@nondot.org> | 2002-03-28 19:33:00 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-03-28 19:33:00 +0000 |
commit | 4dc1f82e7e8ffe60716a8dbab2f5d8fdb288bced (patch) | |
tree | 5c5b37dc3e0b085620ae40254bc7b47b0292a8fa /include/llvm/Analysis/DataStructure.h | |
parent | 7d093d42319e24ccf5c48a1147ec2f03362ff367 (diff) |
Implement getEscapingAllocations & getNonEscapingAllocations
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2021 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/DataStructure.h')
-rw-r--r-- | include/llvm/Analysis/DataStructure.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/llvm/Analysis/DataStructure.h b/include/llvm/Analysis/DataStructure.h index 6a048276f1..3af030d320 100644 --- a/include/llvm/Analysis/DataStructure.h +++ b/include/llvm/Analysis/DataStructure.h @@ -357,6 +357,8 @@ class FunctionDSGraph { PointerValSet cloneFunctionIntoSelf(const FunctionDSGraph &G, bool ValueMap); bool RemoveUnreachableNodes(); bool UnlinkUndistinguishableNodes(); + void MarkEscapeableNodesReachable(std::vector<bool> &RSN, + std::vector<bool> &RAN); private: // Define the interface only accessable to DataStructure @@ -375,8 +377,8 @@ public: // void getEscapingAllocations(std::vector<AllocDSNode*> &Allocs); - // getEscapingAllocations - Add all allocations that do not escape the current - // function to the specified vector. + // getNonEscapingAllocations - Add all allocations that do not escape the + // current function to the specified vector. // void getNonEscapingAllocations(std::vector<AllocDSNode*> &Allocs); |