1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

add a new map

llvm-svn: 20742
This commit is contained in:
Chris Lattner 2005-03-21 20:29:56 +00:00
parent 8b4af69d5b
commit ed74103e0c

View File

@ -201,6 +201,14 @@ class TDDataStructures : public ModulePass {
std::map<DSGraph*, std::vector<CallerCallEdge> > CallerEdges; 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: public:
~TDDataStructures() { releaseMyMemory(); } ~TDDataStructures() { releaseMyMemory(); }