move CalleeCache from SILOptimizer to SIL

Extract the CalleeCache from BasicCalleeAnalysis so that it can be used in SIL without BasicCalleeAnalysis
This commit is contained in:
Erik Eckstein
2023-11-30 14:05:24 +01:00
parent 80ace58104
commit e80fedc52a
10 changed files with 557 additions and 505 deletions

View File

@@ -17,6 +17,7 @@
#define DEBUG_TYPE "prune-vtables"
#include "swift/SIL/CalleeCache.h"
#include "swift/SILOptimizer/PassManager/Transforms.h"
#include "swift/SILOptimizer/Utils/InstOptUtils.h"