From 650cd59f28c94db42ca6c2d9fda1e1a56ef03677 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 21 Mar 2005 20:29:56 +0000 Subject: [PATCH] add a new map llvm-svn: 20742 --- llvm/include/llvm/Analysis/DataStructure/DataStructure.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/llvm/include/llvm/Analysis/DataStructure/DataStructure.h b/llvm/include/llvm/Analysis/DataStructure/DataStructure.h index 15ae2dc9452e..a12467eb99b8 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 > 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, DSGraph*> IndCallMap; + public: ~TDDataStructures() { releaseMyMemory(); }