aboutsummaryrefslogtreecommitdiff
path: root/llvm/include/llvm/Transforms/IPO/SCCP.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/Transforms/IPO/SCCP.h')
-rw-r--r--llvm/include/llvm/Transforms/IPO/SCCP.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/include/llvm/Transforms/IPO/SCCP.h b/llvm/include/llvm/Transforms/IPO/SCCP.h
index 3c40d44ca9de..0f85b51bcb9b 100644
--- a/llvm/include/llvm/Transforms/IPO/SCCP.h
+++ b/llvm/include/llvm/Transforms/IPO/SCCP.h
@@ -32,6 +32,14 @@ public:
PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
};
+/// Pass to perform interprocedural constant propagation by specializing
+/// functions
+class FunctionSpecializationPass
+ : public PassInfoMixin<FunctionSpecializationPass> {
+public:
+ PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
+};
+
} // end namespace llvm
#endif // LLVM_TRANSFORMS_IPO_SCCP_H