diff options
| author | Chris Lattner <sabre@nondot.org> | 2005-03-21 20:29:56 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2005-03-21 20:29:56 +0000 |
| commit | 650cd59f28c94db42ca6c2d9fda1e1a56ef03677 (patch) | |
| tree | e9414edc5ea8d42730e3dcf3bd1819fd227af0cf | |
| parent | d90f5bab828a1e17670085051bcc3fe44c592ae8 (diff) | |
| download | bcm5719-llvm-650cd59f28c94db42ca6c2d9fda1e1a56ef03677.tar.gz bcm5719-llvm-650cd59f28c94db42ca6c2d9fda1e1a56ef03677.zip | |
add a new map
llvm-svn: 20742
| -rw-r--r-- | llvm/include/llvm/Analysis/DataStructure/DataStructure.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/include/llvm/Analysis/DataStructure/DataStructure.h b/llvm/include/llvm/Analysis/DataStructure/DataStructure.h index 15ae2dc9452..a12467eb99b 100644 --- a/llvm/include/llvm/Analysis/DataStructure/DataStructure.h +++ b/llvm/include/llvm/Analysis/DataStructure/DataStructure.h @@ -201,6 +201,14 @@ class TDDataStructures : public ModulePass { std::map<DSGraph*, std::vector<CallerCallEdge> > CallerEdges; + + // IndCallMap - We memoize the results of indirect call inlining operations + // that have multiple targets here to avoid N*M inlining. The key to the map + // is a sorted set of callee functions, the value is the DSGraph that holds + // all of the caller graphs merged together, and the DSCallSite to merge with + // the arguments for each function. + std::map<std::vector<Function*>, DSGraph*> IndCallMap; + public: ~TDDataStructures() { releaseMyMemory(); } |

