llvm.org GIT mirror llvm / 1bece59
Revert "[LLVM-C] Add bindings for addCoroutinePassesToExtensionPoints" This reverts commit c4baf7c2f06ff5459c4f5998ce980346e72bff97. Broke the bots, and should really be in Transforms/Coroutines instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@343337 91177308-0d34-0410-b5e6-96231b3b80d8 whitequark 11 months ago
3 changed file(s) with 0 addition(s) and 14 deletion(s). Raw diff Collapse all Expand all
6565 func (pmb PassManagerBuilder) UseInlinerWithThreshold(threshold uint) {
6666 C.LLVMPassManagerBuilderUseInlinerWithThreshold(pmb.C, C.uint(threshold))
6767 }
68
69 func (pmb PassManagerBuilder) AddCoroutinePassesToExtensionPoints() {
70 C.LLVMPassManagerBuilderAddCoroutinePassesToExtensionPoints(pmb.C);
71 }
7878 LLVMBool Internalize,
7979 LLVMBool RunInliner);
8080
81 /** See llvm::addCoroutinePassesToExtensionPoints. */
82 void LLVMPassManagerBuilderAddCoroutinePassesToExtensionPoints(LLVMPassManagerBuilderRef PMB);
83
8481 /**
8582 * @}
8683 */
2929 #include "llvm/Support/CommandLine.h"
3030 #include "llvm/Support/ManagedStatic.h"
3131 #include "llvm/Transforms/AggressiveInstCombine/AggressiveInstCombine.h"
32 #include "llvm/Transforms/Coroutines.h"
3332 #include "llvm/Transforms/IPO.h"
3433 #include "llvm/Transforms/IPO/ForceFunctionAttrs.h"
3534 #include "llvm/Transforms/IPO/FunctionAttrs.h"
10681067
10691068 Builder->populateLTOPassManager(*LPM);
10701069 }
1071
1072 void
1073 LLVMPassManagerBuilderAddCoroutinePassesToExtensionPoints(LLVMPassManagerBuilderRef PMB) {
1074 PassManagerBuilder *Builder = unwrap(PMB);
1075 addCoroutinePassesToExtensionPoints(*Builder);
1076 }