mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-26 05:00:26 +00:00
add a new map
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20742 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b3439374ac
commit
d75e334d24
@ -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(); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user