diff options
Diffstat (limited to 'include/llvm/Transforms/IPO/FunctionAttrs.h')
| -rw-r--r-- | include/llvm/Transforms/IPO/FunctionAttrs.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Transforms/IPO/FunctionAttrs.h b/include/llvm/Transforms/IPO/FunctionAttrs.h index c44cc43fc0f6a..ee45f35bf11b2 100644 --- a/include/llvm/Transforms/IPO/FunctionAttrs.h +++ b/include/llvm/Transforms/IPO/FunctionAttrs.h @@ -30,7 +30,8 @@ namespace llvm { /// attribute. It also discovers function arguments that are not captured by /// the function and marks them with the nocapture attribute. struct PostOrderFunctionAttrsPass : PassInfoMixin<PostOrderFunctionAttrsPass> { - PreservedAnalyses run(LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM); + PreservedAnalyses run(LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM, + LazyCallGraph &CG, CGSCCUpdateResult &UR); }; /// Create a legacy pass manager instance of a pass to compute function attrs @@ -50,7 +51,7 @@ Pass *createPostOrderFunctionAttrsLegacyPass(); class ReversePostOrderFunctionAttrsPass : public PassInfoMixin<ReversePostOrderFunctionAttrsPass> { public: - PreservedAnalyses run(Module &M, AnalysisManager<Module> &AM); + PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM); }; } |
