aboutsummaryrefslogtreecommitdiff
path: root/llvm/include/llvm-c
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2022-12-20 13:36:20 -0800
committerArthur Eubanks <aeubanks@google.com>2023-02-07 09:57:48 -0800
commita4b4f62beb0bf40123181e5f5bdf32ef54f87166 (patch)
tree39254a419fce52b8d934fb7d6800d68d8033c6da /llvm/include/llvm-c
parent1e97c73376630224bd9fd11d705dffc9617d6afa (diff)
downloadllvm-a4b4f62beb0bf40123181e5f5bdf32ef54f87166.zip
llvm-a4b4f62beb0bf40123181e5f5bdf32ef54f87166.tar.gz
llvm-a4b4f62beb0bf40123181e5f5bdf32ef54f87166.tar.bz2
[LegacyPM] Remove some legacy passes
These are part of the optimization pipeline, of which the legacy pass manager version is deprecated. Namely * Internalize * StripSymbols * StripNonDebugSymbols * StripDeadDebugInfo * StripDeadPrototypes * VectorCombine * WarnMissedTransformations
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r--llvm/include/llvm-c/Transforms/IPO.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/llvm/include/llvm-c/Transforms/IPO.h b/llvm/include/llvm-c/Transforms/IPO.h
index 429673b..1e28082 100644
--- a/llvm/include/llvm-c/Transforms/IPO.h
+++ b/llvm/include/llvm-c/Transforms/IPO.h
@@ -51,30 +51,6 @@ void LLVMAddGlobalOptimizerPass(LLVMPassManagerRef PM);
/** See llvm::createIPSCCPPass function. */
void LLVMAddIPSCCPPass(LLVMPassManagerRef PM);
-/** See llvm::createInternalizePass function. */
-void LLVMAddInternalizePass(LLVMPassManagerRef, unsigned AllButMain);
-
-/**
- * Create and add the internalize pass to the given pass manager with the
- * provided preservation callback.
- *
- * The context parameter is forwarded to the callback on each invocation.
- * As such, it is the responsibility of the caller to extend its lifetime
- * until execution of this pass has finished.
- *
- * @see llvm::createInternalizePass function.
- */
-void LLVMAddInternalizePassWithMustPreservePredicate(
- LLVMPassManagerRef PM,
- void *Context,
- LLVMBool (*MustPreserve)(LLVMValueRef, void *));
-
-/** See llvm::createStripDeadPrototypesPass function. */
-void LLVMAddStripDeadPrototypesPass(LLVMPassManagerRef PM);
-
-/** See llvm::createStripSymbolsPass function. */
-void LLVMAddStripSymbolsPass(LLVMPassManagerRef PM);
-
/**
* @}
*/