diff options
author | Brian Gesiak <modocache@gmail.com> | 2020-01-01 20:07:34 -0500 |
---|---|---|
committer | Brian Gesiak <modocache@gmail.com> | 2020-01-01 21:41:16 -0500 |
commit | 2fcf7691dfb470e57a940e3a045695515fb44e13 (patch) | |
tree | fa88cb87b8d62f3eb76975f40bb9fa39476da6a2 /llvm/include/llvm-c/Transforms/Coroutines.h | |
parent | e6c7ed6d2164a0659fd9f6ee44f1375d301e3cad (diff) | |
download | bcm5719-llvm-2fcf7691dfb470e57a940e3a045695515fb44e13.tar.gz bcm5719-llvm-2fcf7691dfb470e57a940e3a045695515fb44e13.zip |
[Coroutines] Rename "legacy" passes (NFC)
A series of patches beginning with https://reviews.llvm.org/D71898
propose to add an implementation of the coroutine passes to the new pass
manager. As part of these changes, the coroutine passes that implement
the legacy pass manager interface are renamed, to `<PassName>Legacy`.
This mirrors similar changes that have been made to many other passes in
LLVM as they've been transitioned to support both old and new pass
managers.
This commit splits out the renaming portion of that patch and commits it
in advance as an NFC (no functional change intended) commit. It renames:
* `CoroEarly` => `CoroEarlyLegacy`
* `CoroSplit` => `CoroSplitLegacy`
* `CoroElide` => `CoroElideLegacy`
* `CoroCleanup` => `CoroCleanupLegacy`
Diffstat (limited to 'llvm/include/llvm-c/Transforms/Coroutines.h')
-rw-r--r-- | llvm/include/llvm-c/Transforms/Coroutines.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/include/llvm-c/Transforms/Coroutines.h b/llvm/include/llvm-c/Transforms/Coroutines.h index 687f9b55053..15798af7d66 100644 --- a/llvm/include/llvm-c/Transforms/Coroutines.h +++ b/llvm/include/llvm-c/Transforms/Coroutines.h @@ -31,16 +31,16 @@ LLVM_C_EXTERN_C_BEGIN * @{ */ -/** See llvm::createCoroEarlyPass function. */ +/** See llvm::createCoroEarlyLegacyPass function. */ void LLVMAddCoroEarlyPass(LLVMPassManagerRef PM); -/** See llvm::createCoroSplitPass function. */ +/** See llvm::createCoroSplitLegacyPass function. */ void LLVMAddCoroSplitPass(LLVMPassManagerRef PM); -/** See llvm::createCoroElidePass function. */ +/** See llvm::createCoroElideLegacyPass function. */ void LLVMAddCoroElidePass(LLVMPassManagerRef PM); -/** See llvm::createCoroCleanupPass function. */ +/** See llvm::createCoroCleanupLegacyPass function. */ void LLVMAddCoroCleanupPass(LLVMPassManagerRef PM); /** |