|
LLVM
5.0.0
|
#include "llvm/Analysis/CGSCCPassManager.h"#include "llvm/IR/CallSite.h"#include "llvm/IR/InstIterator.h"Go to the source code of this file.
Namespaces | |
| llvm | |
| Compute iterated dominance frontiers using a linear time algorithm. | |
Functions | |
| static void | updateNewSCCFunctionAnalyses (LazyCallGraph::SCC &C, LazyCallGraph &G, CGSCCAnalysisManager &AM) |
| When a new SCC is created for the graph and there might be function analysis results cached for the functions now in that SCC two forms of updates are required. More... | |
|
static |
When a new SCC is created for the graph and there might be function analysis results cached for the functions now in that SCC two forms of updates are required.
First, a proxy from the SCC to the FunctionAnalysisManager needs to be created so that any subsequent invalidation events to the SCC are propagated to the function analysis results cached for functions within it.
Second, if any of the functions within the SCC have analysis results with outer analysis dependencies, then those dependencies would point to the wrong SCC's analysis result. We forcibly invalidate the necessary function analyses so that they don't retain stale handles.
Definition at line 277 of file CGSCCPassManager.cpp.
References llvm::PreservedAnalyses::abandon(), llvm::PreservedAnalyses::all(), C, F, G, llvm::AnalysisManager< T, TArgs >::getResult(), and N.
1.8.6