add a new map

llvm-svn: 20742
This commit is contained in:
Chris Lattner 2005-03-21 20:29:56 +00:00
parent d90f5bab82
commit 650cd59f28
1 changed files with 8 additions and 0 deletions

View File

@ -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(); }