mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 17:24:48 +00:00
Implement getEscapingAllocations & getNonEscapingAllocations
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2021 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user